CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
24 #ifndef _ODGIMATERIALTRAITSDATA_INCLUDED_
25 #define _ODGIMATERIALTRAITSDATA_INCLUDED_
561 m_data.
diffuse(diffuseColor, diffuseMap);
565 m_data.
specular(specularColor, specularMap, glossFactor);
573 m_data.
opacity(opacityPercentage, opacityMap);
577 m_data.
bump(bumpMap);
581 m_data.
refraction(refractionIndex, refractionMap);
605 return m_data.
mode();
618 m_data.
setSpecular(specularColor, specularMap, glossFactor);
626 m_data.
setOpacity(opacityPercentage, opacityMap);
730 m_data.
normalMap(normalMap, method, strength);
757 m_data.
emission(emissionColor, emissionMap);
766 m_data.
tint(tintColor);
923 #endif // #ifndef _ODGIMATERIALTRAITSDATA_INCLUDED_
double indirectBumpScale() const
OdGiMaterialTraits::Mode mode() const
double indirectBumpScale() const
virtual void setLuminance(double value)
void setChannelFlags(ChannelFlags)
void setBump(const OdGiMaterialMap &bumpMap)
void specular(OdGiMaterialColor &specularColor, OdGiMaterialMap &specularMap, double &glossFactor) const
virtual void setIndirectBumpScale(double scale)
void setShadingAmbient(const OdGiMaterialColor &ambientColor)
DiffuseColorMode diffuseColorMode() const
void setLuminance(double value)
void setReflectanceScale(double scale)
void setTransmittanceScale(double)
OdGiMaterialMap m_emissionMap
void refraction(double &, OdGiMaterialMap &) const
@ kGlobalIlluminationCastAndReceive
void setReflectivity(double)
void setSelfIllumination(double value)
virtual void setShadingAmbient(const OdGiMaterialColor &ambientColor)
void setTranslucence(double value)
virtual LuminanceMode luminanceMode() const
GlobalIlluminationMode globalIllumination() const
OdGiMaterialTraits::GlobalIlluminationMode m_globIllum
void setTint(const OdGiMaterialColor &)
double translucence() const
bool operator!=(const OdGiMaterialTraitsData &other) const
ODRX_USING_HEAP_OPERATORS(OdGiMaterialTraits)
void setSpecular(const OdGiMaterialColor &, const OdGiMaterialMap &, double)
void diffuse(OdGiMaterialColor &, OdGiMaterialMap &) const
virtual Mode mode() const
LuminanceMode luminanceMode() const
virtual void setIlluminationModel(IlluminationModel model)
virtual void reflection(OdGiMaterialMap &reflectionMap) const
void refraction(double &refractionIndex, OdGiMaterialMap &refractionMap) const
void tint(OdGiMaterialColor &tintColor) const
void shadingOpacity(double &) const
virtual ChannelFlags channelFlags() const
virtual void shadingDiffuse(OdGiMaterialColor &diffuseColor) const
void shadingAmbient(OdGiMaterialColor &) const
void setIlluminationModel(OdGiMaterialTraits::IlluminationModel model)
virtual double luminance() const
void setTranslucence(double)
virtual double reflectanceScale() const
void normalMap(OdGiMaterialMap &normalMap, OdGiMaterialTraits::NormalMapMethod &method, double &strength) const
void opacity(double &opacity, OdGiMaterialMap &opacityMap) const
void setShadingOpacity(double)
virtual void setFinalGather(FinalGatherMode mode)
virtual void emission(OdGiMaterialColor &emissionColor, OdGiMaterialMap &emissionMap) const
void emission(OdGiMaterialColor &emissionColor, OdGiMaterialMap &emissionMap) const
virtual void setDiffuseColorMode(DiffuseColorMode diffuseColorMode)
void setDiffuse(const OdGiMaterialColor &, const OdGiMaterialMap &)
virtual double selfIllumination() const
virtual void tint(OdGiMaterialColor &tintColor) const
virtual void setLuminanceMode(LuminanceMode mode)
virtual double colorBleedScale() const
double transmittanceScale() const
virtual void setEmission(const OdGiMaterialColor &emissionColor, const OdGiMaterialMap &emissionMap)
void setDiffuseColorMode(OdGiMaterialTraits::DiffuseColorMode diffuseColorMode)
virtual void setTint(const OdGiMaterialColor &tintColor)
void diffuse(OdGiMaterialColor &diffuseColor, OdGiMaterialMap &diffuseMap) const
GLint GLenum GLsizei GLsizei GLint GLsizei const void * data
void ambient(OdGiMaterialColor &ambientColor) const
void tint(OdGiMaterialColor &) const
OdGiMaterialMap m_refractionMap
virtual void opacity(double &opacityPercentage, OdGiMaterialMap &opacityMap) const
OdGiMaterialTraits::LuminanceMode m_lumiMode
double m_indirectBumpScale
virtual void setMode(Mode value)
void setShadingSpecular(const OdGiMaterialColor &)
double selfIllumination() const
bool operator==(const OdGiMaterialTraitsData &other) const
void setIndirectBumpScale(double scale)
virtual void setColorBleedScale(double scale)
void setNormalMap(const OdGiMaterialMap &, NormalMapMethod, double)
OdGiMaterialColor m_shadingSpeclrColor
virtual void setShadingSpecular(const OdGiMaterialColor &specularColor)
void setLuminance(double)
virtual IlluminationModel illuminationModel() const
void setReflection(const OdGiMaterialMap &reflectionMap)
void shadingAmbient(OdGiMaterialColor &ambientColor) const
void getData(OdGiMaterialTraitsData &data) const
virtual void setShadingOpacity(double opacityPercentage)
OdGiMaterialMap m_bumpMap
OdGiMaterialTraits::NormalMapMethod m_normalMethod
void setEmission(const OdGiMaterialColor &emissionColor, const OdGiMaterialMap &emissionMap)
void setTwoSided(bool flag)
virtual bool twoSided() const
virtual void shadingAmbient(OdGiMaterialColor &ambientColor) const
void setSelfIllumination(double)
OdGiMaterialMap m_diffuseMap
virtual void setRefraction(double refractionIndex, const OdGiMaterialMap &refractionMap)
void setChannelFlags(OdGiMaterialTraits::ChannelFlags flags)
OdGiMaterialMap m_specularMap
void setColorBleedScale(double)
virtual void setNormalMap(const OdGiMaterialMap &normalMap, NormalMapMethod method, double strength)
double colorBleedScale() const
void setOpacity(double opacity, const OdGiMaterialMap &opacityMap)
OdGiMaterialMap m_opacityMap
virtual void setReflectivity(double value)
OdGiMaterialColor m_ambientColor
OdGiMaterialTraitsData m_data
void setIndirectBumpScale(double)
void setAmbient(const OdGiMaterialColor &)
void bump(OdGiMaterialMap &) const
OdGiMaterialTraits::Mode m_mode
const OdGiMaterialTraitsData & getData() const
virtual void shadingSpecular(OdGiMaterialColor &specularColor) const
void shadingOpacity(double &opacityPercentage) const
void setGlobalIllumination(GlobalIlluminationMode)
virtual void shadingOpacity(double &opacityPercentage) const
virtual void specular(OdGiMaterialColor &specularColor, OdGiMaterialMap &specularMap, double &glossFactor) const
void opacity(double &, OdGiMaterialMap &) const
OdGiMaterialColor m_shadingDiffuseColor
void setIlluminationModel(IlluminationModel)
void normalMap(OdGiMaterialMap &, NormalMapMethod &, double &) const
double reflectivity() const
double selfIllumination() const
double reflectivity() const
double reflectanceScale() const
void reflection(OdGiMaterialMap &reflectionMap) const
void setShadingDiffuse(const OdGiMaterialColor &diffuseColor)
void setTransmittanceScale(double scale)
virtual GlobalIlluminationMode globalIllumination() const
void setColorBleedScale(double scale)
virtual void diffuse(OdGiMaterialColor &diffuseColor, OdGiMaterialMap &diffuseMap) const
OdGiMaterialTraits::DiffuseColorMode m_diffuseColorMode
virtual void setReflection(const OdGiMaterialMap &reflectionMap)
OdGiMaterialMap m_normalMap
OdGiMaterialTraits::IlluminationModel m_illumModel
ChannelFlags channelFlags() const
OdGiMaterialTraits::FinalGatherMode m_fgMode
OdGiMaterialColor m_emissionColor
void setDiffuse(const OdGiMaterialColor &diffuseColor, const OdGiMaterialMap &diffuseMap)
virtual void setBump(const OdGiMaterialMap &bumpMap)
OdGiMaterialTraits::ChannelFlags channelFlags() const
virtual void refraction(double &refractionIndex, OdGiMaterialMap &refractionMap) const
virtual double indirectBumpScale() const
void operator=(const OdGiMaterialTraitsData &other)
OdGiMaterialColor m_diffuseColor
void setOpacity(double, const OdGiMaterialMap &)
OdGiMaterialTraits::GlobalIlluminationMode globalIllumination() const
OdGiMaterialColor m_tintColor
double transmittanceScale() const
OdGiMaterialTraits::ChannelFlags m_channelFlags
void setAmbient(const OdGiMaterialColor &ambientColor)
virtual void setTwoSided(bool flag)
void setSpecular(const OdGiMaterialColor &specularColor, const OdGiMaterialMap &specularMap, double glossFactor)
virtual void setReflectanceScale(double scale)
ODRX_USING_HEAP_OPERATORS(OdGiMaterialTraits)
double colorBleedScale() const
void setTint(const OdGiMaterialColor &tintColor)
void setShadingOpacity(double opacityPercentage)
virtual double reflectivity() const
void shadingDiffuse(OdGiMaterialColor &) const
virtual void setShadingDiffuse(const OdGiMaterialColor &diffuseColor)
FinalGatherMode finalGather() const
void setLuminanceMode(OdGiMaterialTraits::LuminanceMode mode)
OdGiMaterialColor m_shadingAmbientColor
virtual void setTransmittanceScale(double scale)
void specular(OdGiMaterialColor &, OdGiMaterialMap &, double &) const
void setFinalGather(OdGiMaterialTraits::FinalGatherMode mode)
void setShadingDiffuse(const OdGiMaterialColor &)
OdSmartPtr< OdGiMaterialTraits_Stub > OdGiMaterialTraits_StubPtr
void setReflectivity(double value)
OdGiMaterialTraits::FinalGatherMode finalGather() const
virtual void normalMap(OdGiMaterialMap &normalMap, NormalMapMethod &method, double &strength) const
virtual DiffuseColorMode diffuseColorMode() const
void bump(OdGiMaterialMap &bumpMap) const
void reflection(OdGiMaterialMap &) const
OdGiMaterialTraits::IlluminationModel illuminationModel() const
GLsizei const GLfloat * value
void setReflectanceScale(double)
void setGlobalIllumination(OdGiMaterialTraits::GlobalIlluminationMode mode)
void setLuminanceMode(LuminanceMode)
void shadingSpecular(OdGiMaterialColor &) const
double reflectanceScale() const
OdGiMaterialColor m_specularColor
@ kFinalGatherCastAndReceive
OdGiMaterialTraits_Stub()
double translucence() const
virtual void setTranslucence(double value)
virtual double transmittanceScale() const
void shadingSpecular(OdGiMaterialColor &specularColor) const
void shadingDiffuse(OdGiMaterialColor &diffuseColor) const
void setData(const OdGiMaterialTraitsData &data)
OdSmartPtr< OdGiMaterialTraitsTaker > OdGiMaterialTraitsTakerPtr
IlluminationModel illuminationModel() const
virtual void ambient(OdGiMaterialColor &ambientColor) const
void setShadingSpecular(const OdGiMaterialColor &specularColor)
void emission(OdGiMaterialColor &, OdGiMaterialMap &) const
void setReflection(const OdGiMaterialMap &)
virtual void setDiffuse(const OdGiMaterialColor &diffuseColor, const OdGiMaterialMap &diffuseMap)
void setDiffuseColorMode(DiffuseColorMode)
void setMode(OdGiMaterialTraits::Mode value)
void setBump(const OdGiMaterialMap &)
virtual void bump(OdGiMaterialMap &bumpMap) const
void setEmission(const OdGiMaterialColor &, const OdGiMaterialMap &)
void setNormalMap(const OdGiMaterialMap &normalMap, OdGiMaterialTraits::NormalMapMethod method, double strength)
virtual double translucence() const
void setFinalGather(FinalGatherMode)
virtual void setSpecular(const OdGiMaterialColor &specularColor, const OdGiMaterialMap &specularMap, double glossFactor)
void ambient(OdGiMaterialColor &) const
virtual void setOpacity(double opacityPercentage, const OdGiMaterialMap &opacityMap)
virtual void setSelfIllumination(double value)
OdGiMaterialTraits::DiffuseColorMode diffuseColorMode() const
virtual void setGlobalIllumination(GlobalIlluminationMode mode)
OdGiMaterialTraits::LuminanceMode luminanceMode() const
virtual void setAmbient(const OdGiMaterialColor &ambientColor)
virtual void setChannelFlags(ChannelFlags flags)
OdGiMaterialMap m_reflectionMap
void setShadingAmbient(const OdGiMaterialColor &)
void setRefraction(double, const OdGiMaterialMap &)
virtual FinalGatherMode finalGather() const
void setRefraction(double refractionIndex, const OdGiMaterialMap &refractionMap)