24#ifndef _ODGIMATERIALTRAITSDATA_INCLUDED_
25#define _ODGIMATERIALTRAITSDATA_INCLUDED_
1023 m_data.
diffuse(diffuseColor, diffuseMap);
1034 m_data.
specular(specularColor, specularMap, glossFactor);
1053 m_data.
opacity(opacityPercentage, opacityMap);
1062 m_data.
bump(bumpMap);
1072 m_data.
refraction(refractionIndex, refractionMap);
1132 return m_data.
mode();
1174 m_data.
setSpecular(specularColor, specularMap, glossFactor);
1198 m_data.
setOpacity(opacityPercentage, opacityMap);
1449 m_data.
normalMap(normalMap, method, strength);
1513 m_data.
emission(emissionColor, emissionMap);
1533 m_data.
tint(tintColor);
OdSmartPtr< OdGiMaterialTraitsTaker > OdGiMaterialTraitsTakerPtr
OdSmartPtr< OdGiMaterialTraits_Stub > OdGiMaterialTraits_StubPtr
void refraction(double &, OdGiMaterialMap &) const
void setChannelFlags(ChannelFlags)
void setBump(const OdGiMaterialMap &)
double transmittanceScale() const
void specular(OdGiMaterialColor &, OdGiMaterialMap &, double &) const
void setShadingSpecular(const OdGiMaterialColor &)
void setLuminance(double)
void setShadowsOpacityEffect(double, double)
void shadingDiffuse(OdGiMaterialColor &) const
void emission(OdGiMaterialColor &, OdGiMaterialMap &) const
void shadingAmbient(OdGiMaterialColor &) const
void setLuminanceMode(LuminanceMode)
void setSpecular(const OdGiMaterialColor &, const OdGiMaterialMap &, double)
void setShadingOpacity(double)
double selfIllumination() const
void setDiffuse(const OdGiMaterialColor &, const OdGiMaterialMap &)
ODRX_USING_HEAP_OPERATORS(OdGiMaterialTraits)
void shadingOpacity(double &) const
void setSpecularHighlightingOverride(double)
double shadowsOpacityEffect(double &) const
double reflectanceScale() const
void setTransmittanceScale(double)
void opacity(double &, OdGiMaterialMap &) const
void setOpacity(double, const OdGiMaterialMap &)
OdGiMaterialTraits_Stub()
void reflection(OdGiMaterialMap &) const
void setShadingAmbient(const OdGiMaterialColor &)
IlluminationModel illuminationModel() const
double indirectBumpScale() const
void bump(OdGiMaterialMap &) const
double specularHighlightingOverride() const
void setTranslucence(double)
void setDiffuseColorMode(DiffuseColorMode)
void setReflectanceScale(double)
void setRefraction(double, const OdGiMaterialMap &)
void setNormalMap(const OdGiMaterialMap &, NormalMapMethod, double)
void ambient(OdGiMaterialColor &) const
void setReflectivity(double)
double reflectivity() const
void setIndirectBumpScale(double)
GlobalIlluminationMode globalIllumination() const
void setIlluminationModel(IlluminationModel)
double colorBleedScale() const
LuminanceMode luminanceMode() const
void setSelfIllumination(double)
DiffuseColorMode diffuseColorMode() const
void shadingSpecular(OdGiMaterialColor &) const
void normalMap(OdGiMaterialMap &, NormalMapMethod &, double &) const
void setTint(const OdGiMaterialColor &)
void diffuse(OdGiMaterialColor &, OdGiMaterialMap &) const
FinalGatherMode finalGather() const
void setShadingDiffuse(const OdGiMaterialColor &)
void setAmbient(const OdGiMaterialColor &)
void setFinalGather(FinalGatherMode)
void setEmission(const OdGiMaterialColor &, const OdGiMaterialMap &)
double translucence() const
void setReflection(const OdGiMaterialMap &)
void tint(OdGiMaterialColor &) const
void setGlobalIllumination(GlobalIlluminationMode)
ChannelFlags channelFlags() const
void setColorBleedScale(double)
@ kGlobalIlluminationCastAndReceive
@ kFinalGatherCastAndReceive
virtual void setLuminanceMode(LuminanceMode mode)
OdGiMaterialTraitsData m_data
virtual void setFinalGather(FinalGatherMode mode)
virtual void setSelfIllumination(double value)
virtual void setRefraction(double refractionIndex, const OdGiMaterialMap &refractionMap)
virtual void setMode(Mode value)
virtual void opacity(double &opacityPercentage, OdGiMaterialMap &opacityMap) const
virtual IlluminationModel illuminationModel() const
virtual void setTransmittanceScale(double scale)
const OdGiMaterialTraitsData & getData() const
virtual void emission(OdGiMaterialColor &emissionColor, OdGiMaterialMap &emissionMap) const
virtual void setIlluminationModel(IlluminationModel model)
virtual DiffuseColorMode diffuseColorMode() const
virtual void refraction(double &refractionIndex, OdGiMaterialMap &refractionMap) const
virtual void specular(OdGiMaterialColor &specularColor, OdGiMaterialMap &specularMap, double &glossFactor) const
virtual void ambient(OdGiMaterialColor &ambientColor) const
virtual ChannelFlags channelFlags() const
virtual double reflectanceScale() const
virtual void setTint(const OdGiMaterialColor &tintColor)
virtual void setColorBleedScale(double scale)
virtual void shadingOpacity(double &opacityPercentage) const
virtual void shadingSpecular(OdGiMaterialColor &specularColor) const
virtual void setShadingDiffuse(const OdGiMaterialColor &diffuseColor)
virtual bool twoSided() const
virtual void setEmission(const OdGiMaterialColor &emissionColor, const OdGiMaterialMap &emissionMap)
virtual void setShadowsOpacityEffect(double effectPercentage, double nonShadowLightsMergeEffect)
virtual void setNormalMap(const OdGiMaterialMap &normalMap, NormalMapMethod method, double strength)
virtual double indirectBumpScale() const
virtual void tint(OdGiMaterialColor &tintColor) const
virtual void diffuse(OdGiMaterialColor &diffuseColor, OdGiMaterialMap &diffuseMap) const
virtual void shadingAmbient(OdGiMaterialColor &ambientColor) const
void setSpecularHighlightingOverride(double overrideVal)
virtual GlobalIlluminationMode globalIllumination() const
virtual double transmittanceScale() const
virtual void setReflection(const OdGiMaterialMap &reflectionMap)
virtual void setIndirectBumpScale(double scale)
virtual void setReflectivity(double value)
virtual void reflection(OdGiMaterialMap &reflectionMap) const
virtual FinalGatherMode finalGather() const
double specularHighlightingOverride() const
virtual Mode mode() const
virtual double shadowsOpacityEffect(double &nonShadowLightsMergeEffect) const
virtual void setGlobalIllumination(GlobalIlluminationMode mode)
virtual void setSpecular(const OdGiMaterialColor &specularColor, const OdGiMaterialMap &specularMap, double glossFactor)
virtual void setLuminance(double value)
virtual void setDiffuse(const OdGiMaterialColor &diffuseColor, const OdGiMaterialMap &diffuseMap)
virtual void setShadingOpacity(double opacityPercentage)
void setData(const OdGiMaterialTraitsData &data)
virtual double reflectivity() const
virtual void bump(OdGiMaterialMap &bumpMap) const
virtual double luminance() const
virtual void setOpacity(double opacityPercentage, const OdGiMaterialMap &opacityMap)
virtual void setTwoSided(bool flag)
virtual void setShadingSpecular(const OdGiMaterialColor &specularColor)
virtual void setReflectanceScale(double scale)
virtual double selfIllumination() const
virtual void shadingDiffuse(OdGiMaterialColor &diffuseColor) const
virtual void setChannelFlags(ChannelFlags flags)
virtual void setBump(const OdGiMaterialMap &bumpMap)
virtual void setAmbient(const OdGiMaterialColor &ambientColor)
virtual double colorBleedScale() const
virtual void setShadingAmbient(const OdGiMaterialColor &ambientColor)
ODRX_USING_HEAP_OPERATORS(OdGiMaterialTraits)
virtual LuminanceMode luminanceMode() const
virtual double translucence() const
virtual void setDiffuseColorMode(DiffuseColorMode diffuseColorMode)
virtual void setTranslucence(double value)
virtual void normalMap(OdGiMaterialMap &normalMap, NormalMapMethod &method, double &strength) const
GLint GLenum GLsizei GLsizei GLint GLsizei const void * data
GLsizei const GLfloat * value
void setShadingDiffuse(const OdGiMaterialColor &diffuseColor)
void ambient(OdGiMaterialColor &ambientColor) const
void setAmbient(const OdGiMaterialColor &ambientColor)
double selfIllumination() const
OdGiMaterialTraits::GlobalIlluminationMode globalIllumination() const
OdGiMaterialTraits::LuminanceMode m_lumiMode
OdGiMaterialColor m_ambientColor
OdGiMaterialTraits::ChannelFlags m_channelFlags
void opacity(double &opacity, OdGiMaterialMap &opacityMap) const
void setColorBleedScale(double scale)
void setTransmittanceScale(double scale)
void setShadingOpacity(double opacityPercentage)
double translucence() const
void setSpecular(const OdGiMaterialColor &specularColor, const OdGiMaterialMap &specularMap, double glossFactor)
OdGiMaterialColor m_specularColor
OdGiMaterialTraits::NormalMapMethod m_normalMethod
void setChannelFlags(OdGiMaterialTraits::ChannelFlags flags)
OdGiMaterialColor m_shadingSpeclrColor
OdGiMaterialColor m_tintColor
OdGiMaterialMap m_diffuseMap
void setIndirectBumpScale(double scale)
OdGiMaterialTraits::FinalGatherMode m_fgMode
OdGiMaterialMap m_normalMap
void shadingOpacity(double &opacityPercentage) const
void setTranslucence(double value)
OdGiMaterialMap m_refractionMap
double reflectivity() const
double m_specularOverride
void setFinalGather(OdGiMaterialTraits::FinalGatherMode mode)
OdGiMaterialTraits::IlluminationModel m_illumModel
void shadingSpecular(OdGiMaterialColor &specularColor) const
double shadowsOpacityEffect(double &nonShadowLightsMergeEffect) const
OdGiMaterialColor m_emissionColor
OdGiMaterialTraits::DiffuseColorMode m_diffuseColorMode
OdGiMaterialTraits::ChannelFlags channelFlags() const
OdGiMaterialTraits::Mode m_mode
void setShadingAmbient(const OdGiMaterialColor &ambientColor)
void bump(OdGiMaterialMap &bumpMap) const
void reflection(OdGiMaterialMap &reflectionMap) const
OdGiMaterialColor m_diffuseColor
void refraction(double &refractionIndex, OdGiMaterialMap &refractionMap) const
OdGiMaterialTraits::IlluminationModel illuminationModel() const
void setGlobalIllumination(OdGiMaterialTraits::GlobalIlluminationMode mode)
void setEmission(const OdGiMaterialColor &emissionColor, const OdGiMaterialMap &emissionMap)
void setIlluminationModel(OdGiMaterialTraits::IlluminationModel model)
void specular(OdGiMaterialColor &specularColor, OdGiMaterialMap &specularMap, double &glossFactor) const
OdGiMaterialMap m_specularMap
double transmittanceScale() const
void setLuminanceMode(OdGiMaterialTraits::LuminanceMode mode)
OdGiMaterialTraits::DiffuseColorMode diffuseColorMode() const
OdGiMaterialColor m_shadingAmbientColor
void setTint(const OdGiMaterialColor &tintColor)
void tint(OdGiMaterialColor &tintColor) const
OdGiMaterialMap m_emissionMap
void setBump(const OdGiMaterialMap &bumpMap)
void setRefraction(double refractionIndex, const OdGiMaterialMap &refractionMap)
double reflectanceScale() const
void setNormalMap(const OdGiMaterialMap &normalMap, OdGiMaterialTraits::NormalMapMethod method, double strength)
OdGiMaterialMap m_opacityMap
void setReflectivity(double value)
void setSelfIllumination(double value)
bool operator==(const OdGiMaterialTraitsData &other) const
double m_indirectBumpScale
void diffuse(OdGiMaterialColor &diffuseColor, OdGiMaterialMap &diffuseMap) const
OdGiMaterialMap m_reflectionMap
void setOpacity(double opacity, const OdGiMaterialMap &opacityMap)
OdGiMaterialTraits::GlobalIlluminationMode m_globIllum
void setMode(OdGiMaterialTraits::Mode value)
void shadingDiffuse(OdGiMaterialColor &diffuseColor) const
OdGiMaterialMap m_bumpMap
void setTwoSided(bool flag)
void setDiffuseColorMode(OdGiMaterialTraits::DiffuseColorMode diffuseColorMode)
void shadingAmbient(OdGiMaterialColor &ambientColor) const
void setLuminance(double value)
void setShadowsOpacityEffect(double shadowsOpacity, double nonShadowLightsMergeEffect)
void setReflection(const OdGiMaterialMap &reflectionMap)
OdGiMaterialColor m_shadingDiffuseColor
OdGiMaterialTraits::Mode mode() const
double colorBleedScale() const
void setSpecularHighlightingOverride(double overrideVal)
void setShadingSpecular(const OdGiMaterialColor &specularColor)
OdGiMaterialTraits::LuminanceMode luminanceMode() const
OdGiMaterialTraits::FinalGatherMode finalGather() const
void setReflectanceScale(double scale)
void operator=(const OdGiMaterialTraitsData &other)
void setDiffuse(const OdGiMaterialColor &diffuseColor, const OdGiMaterialMap &diffuseMap)
double specularHighlightingOverride() const
void normalMap(OdGiMaterialMap &normalMap, OdGiMaterialTraits::NormalMapMethod &method, double &strength) const
void emission(OdGiMaterialColor &emissionColor, OdGiMaterialMap &emissionMap) const
bool operator!=(const OdGiMaterialTraitsData &other) const
double indirectBumpScale() const