CFx SDK Documentation
2020SP3
|
#include <GiMaterialTraitsData.h>
Public Member Functions | |
ODRX_USING_HEAP_OPERATORS (OdGiMaterialTraits) | |
void | addRef () |
void | release () |
virtual void | ambient (OdGiMaterialColor &ambientColor) const |
virtual void | diffuse (OdGiMaterialColor &diffuseColor, OdGiMaterialMap &diffuseMap) const |
virtual void | specular (OdGiMaterialColor &specularColor, OdGiMaterialMap &specularMap, double &glossFactor) const |
virtual void | reflection (OdGiMaterialMap &reflectionMap) const |
virtual void | opacity (double &opacityPercentage, OdGiMaterialMap &opacityMap) const |
virtual void | bump (OdGiMaterialMap &bumpMap) const |
virtual void | refraction (double &refractionIndex, OdGiMaterialMap &refractionMap) const |
virtual double | translucence () const |
virtual double | selfIllumination () const |
virtual double | reflectivity () const |
virtual IlluminationModel | illuminationModel () const |
virtual ChannelFlags | channelFlags () const |
virtual Mode | mode () const |
virtual void | setAmbient (const OdGiMaterialColor &ambientColor) |
virtual void | setDiffuse (const OdGiMaterialColor &diffuseColor, const OdGiMaterialMap &diffuseMap) |
virtual void | setSpecular (const OdGiMaterialColor &specularColor, const OdGiMaterialMap &specularMap, double glossFactor) |
virtual void | setReflection (const OdGiMaterialMap &reflectionMap) |
virtual void | setOpacity (double opacityPercentage, const OdGiMaterialMap &opacityMap) |
virtual void | setBump (const OdGiMaterialMap &bumpMap) |
virtual void | setRefraction (double refractionIndex, const OdGiMaterialMap &refractionMap) |
virtual void | setTranslucence (double value) |
virtual void | setSelfIllumination (double value) |
virtual void | setReflectivity (double value) |
virtual void | setIlluminationModel (IlluminationModel model) |
virtual void | setChannelFlags (ChannelFlags flags) |
virtual void | setMode (Mode value) |
virtual void | setColorBleedScale (double scale) |
virtual double | colorBleedScale () const |
virtual void | setIndirectBumpScale (double scale) |
virtual double | indirectBumpScale () const |
virtual void | setReflectanceScale (double scale) |
virtual double | reflectanceScale () const |
virtual void | setTransmittanceScale (double scale) |
virtual double | transmittanceScale () const |
virtual void | setTwoSided (bool flag) |
virtual bool | twoSided () const |
virtual void | setLuminanceMode (LuminanceMode mode) |
virtual LuminanceMode | luminanceMode () const |
virtual void | setLuminance (double value) |
virtual double | luminance () const |
virtual void | setNormalMap (const OdGiMaterialMap &normalMap, NormalMapMethod method, double strength) |
virtual void | normalMap (OdGiMaterialMap &normalMap, NormalMapMethod &method, double &strength) const |
virtual void | setGlobalIllumination (GlobalIlluminationMode mode) |
virtual GlobalIlluminationMode | globalIllumination () const |
virtual void | setFinalGather (FinalGatherMode mode) |
virtual FinalGatherMode | finalGather () const |
virtual void | setEmission (const OdGiMaterialColor &emissionColor, const OdGiMaterialMap &emissionMap) |
virtual void | emission (OdGiMaterialColor &emissionColor, OdGiMaterialMap &emissionMap) const |
virtual void | setTint (const OdGiMaterialColor &tintColor) |
virtual void | tint (OdGiMaterialColor &tintColor) const |
virtual void | setShadingAmbient (const OdGiMaterialColor &ambientColor) |
virtual void | shadingAmbient (OdGiMaterialColor &ambientColor) const |
virtual void | setShadingDiffuse (const OdGiMaterialColor &diffuseColor) |
virtual void | shadingDiffuse (OdGiMaterialColor &diffuseColor) const |
virtual void | setShadingSpecular (const OdGiMaterialColor &specularColor) |
virtual void | shadingSpecular (OdGiMaterialColor &specularColor) const |
virtual void | setShadingOpacity (double opacityPercentage) |
virtual void | shadingOpacity (double &opacityPercentage) const |
virtual void | setDiffuseColorMode (DiffuseColorMode diffuseColorMode) |
virtual DiffuseColorMode | diffuseColorMode () const |
void | getData (OdGiMaterialTraitsData &data) const |
const OdGiMaterialTraitsData & | getData () const |
void | setData (const OdGiMaterialTraitsData &data) |
Public Member Functions inherited from OdGiMaterialTraits | |
ODRX_DECLARE_MEMBERS (OdGiMaterialTraits) | |
Public Member Functions inherited from OdGiDrawableTraits | |
ODRX_DECLARE_MEMBERS (OdGiDrawableTraits) | |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () const |
virtual long | numRefs () const |
bool | isKindOf (const OdRxClass *pClass) const |
virtual OdRxObjectPtr | clone () const |
virtual void | copyFrom (const OdRxObject *pSource) |
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
virtual bool | isEqualTo (const OdRxObject *pOther) const |
Protected Attributes | |
OdGiMaterialTraitsData | m_data |
|
inlinevirtual |
Declares the method incrementing the reference counter in objects derived from this class.
Implements OdRxObject.
Definition at line 552 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the ambient color component of this MaterialTraits object.
ambientColor | [out] Receives the ambient color. |
Implements OdGiMaterialTraits.
Definition at line 555 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the bump component of this MaterialTraits object.
bumpMap | [out] Receives the bump map. |
Implements OdGiMaterialTraits.
Definition at line 575 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the material channels in use by this MaterialTraits object.
Implements OdGiMaterialTraits.
Definition at line 599 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the color bleed scale of this MaterialTraits object.
Implements OdGiMaterialTraits.
Definition at line 665 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the diffuse component of this MaterialTraits object.
diffuseColor | [out] Receives the diffuse color. |
diffuseMap | [out] Receives the diffuse map. |
Implements OdGiMaterialTraits.
Definition at line 559 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns current diffuse, ambient, specular color and opacity behavior.
Implements OdGiMaterialTraits.
Definition at line 809 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the emission component of this MaterialTraits object.
emissionColor | [out] Receives the emission color. |
emissionMap | [out] Receives the emission map. |
Implements OdGiMaterialTraits.
Definition at line 755 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the final gather mode of this MaterialTraits object.
Implements OdGiMaterialTraits.
Definition at line 746 of file GiMaterialTraitsData.h.
|
inline |
Definition at line 815 of file GiMaterialTraitsData.h.
|
inline |
Definition at line 814 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the global illumination mode of this MaterialTraits object.
Implements OdGiMaterialTraits.
Definition at line 737 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the illumination model of this MaterialTraits object.
Implements OdGiMaterialTraits.
Definition at line 595 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the indirect bump scale of this MaterialTraits object.
Implements OdGiMaterialTraits.
Definition at line 674 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the luminance of this MaterialTraits object.
Implements OdGiMaterialTraits.
Definition at line 719 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the luminance mode of this MaterialTraits object.
Implements OdGiMaterialTraits.
Definition at line 710 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the mode of this MaterialTraits object.
Implements OdGiMaterialTraits.
Definition at line 603 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the normalMap component of this MaterialTraits object.
normalMap | [out] Receives the normal map. |
method | [out] Receives the normal map method. |
strength | [out] Receives the normal map strength factor. |
Implements OdGiMaterialTraits.
Definition at line 728 of file GiMaterialTraitsData.h.
OdGiMaterialTraitsTaker::ODRX_USING_HEAP_OPERATORS | ( | OdGiMaterialTraits | ) |
|
inlinevirtual |
Returns the opacity component of this MaterialTraits object.
opacityPercentage | [out] Receives the opacity percentage. |
opacityMap | [out] Receives the opacity map. |
Implements OdGiMaterialTraits.
Definition at line 571 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the reflectance scale of this MaterialTraits object.
Implements OdGiMaterialTraits.
Definition at line 683 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the reflection component of this MaterialTraits object.
reflectionMap | [out] Receives the reflection map. |
Implements OdGiMaterialTraits.
Definition at line 567 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the reflectivity of this MaterialTraits object.
Implements OdGiMaterialTraits.
Definition at line 591 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the refraction component of this MaterialTraits object.
refractionIndex | [out] Receives the refraction index. |
refractionMap | [out] Receives the refraction map. |
Implements OdGiMaterialTraits.
Definition at line 579 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Declares the method decrementing the reference counter in objects derived from this class.
Implements OdRxObject.
Definition at line 553 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the self illumination of this MaterialTraits object.
Implements OdGiMaterialTraits.
Definition at line 587 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the ambient color component of this MaterialTraits object.
ambientColor | [in] Ambient color. |
Implements OdGiMaterialTraits.
Definition at line 608 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the bump component of this MaterialTraits object.
bumpMap | [in] Bump map. |
Implements OdGiMaterialTraits.
Definition at line 628 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the material channels to be used by this MaterialTraits object.
value | [in] Channels to be used. |
Implements OdGiMaterialTraits.
Definition at line 652 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the color bleed scale of this MaterialTraits object.
scale | [in] Color bleed scale. |
Implements OdGiMaterialTraits.
Definition at line 661 of file GiMaterialTraitsData.h.
|
inline |
Definition at line 817 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the diffuse component of this MaterialTraits object.
diffuseColor | [in] Diffuse color. |
diffuseMap | [in] Diffuse map. |
Implements OdGiMaterialTraits.
Definition at line 612 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets diffuse, ambient, specual color and opacity behavior.
diffuseColorMode | [in] New setting for diffuse color and opacity mode. |
Implements OdGiMaterialTraits.
Definition at line 805 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the emission component of this MaterialTraits object.
emissionColor | [in] Emission color. |
emissionMap | [in] Emission map. |
Implements OdGiMaterialTraits.
Definition at line 751 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the final gather mode of this MaterialTraits object.
mode | [in] Final gather mode. |
Implements OdGiMaterialTraits.
Definition at line 742 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the global illumination mode of this MaterialTraits object.
mode | [in] Global illumination mode. |
Implements OdGiMaterialTraits.
Definition at line 733 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the illumination model of this MaterialTraits object.
model | [in] Illumination model. |
Implements OdGiMaterialTraits.
Definition at line 648 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the indirect bump scale of this MaterialTraits object.
scale | [in] Indirect bump scale. |
Implements OdGiMaterialTraits.
Definition at line 670 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the luminance of this MaterialTraits object.
value | [in] Luminance value. |
Implements OdGiMaterialTraits.
Definition at line 715 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the luminance mode of this MaterialTraits object.
mode | [in] Luminance mode. |
Implements OdGiMaterialTraits.
Definition at line 706 of file GiMaterialTraitsData.h.
Sets the mode of this MaterialTraits object.
value | [in] Mode value. |
Implements OdGiMaterialTraits.
Definition at line 656 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the normalMap component of this MaterialTraits object.
normalMap | [in] Normal map. |
method | [in] Normal map method. |
strength | [in] Strength factor. |
Implements OdGiMaterialTraits.
Definition at line 724 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the opacity component of this MaterialTraits object.
opacityPercentage | [in] Opacity percentage. |
opacityMap | [in] Opacity map. |
Implements OdGiMaterialTraits.
Definition at line 624 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the reflectance scale of this MaterialTraits object.
scale | [in] Reflectance scale. |
Implements OdGiMaterialTraits.
Definition at line 679 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the reflection component of this MaterialTraits object.
reflectionMap | [in] Reflection map. |
Implements OdGiMaterialTraits.
Definition at line 620 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the reflectivity of this MaterialTraits object.
value | [in] Reflectivity value. |
Implements OdGiMaterialTraits.
Definition at line 644 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the refraction component of this MaterialTraits object.
refractionIndex | [in] Refraction index. |
refractionMap | [in] Refraction map. |
Implements OdGiMaterialTraits.
Definition at line 632 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the self illumination of this MaterialTraits object.
value | [in] Self illumination level. |
Implements OdGiMaterialTraits.
Definition at line 640 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the shading ambient color component of this MaterialTraits object.
ambientColor | [in] Shading ambient color. |
Implements OdGiMaterialTraits.
Definition at line 769 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the shading diffuse color component of this MaterialTraits object.
diffuseColor | [in] Shading diffuse color. |
Implements OdGiMaterialTraits.
Definition at line 778 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the shading opacity component of this MaterialTraits object.
opacityPercentage | [in] Shading opacity percentage. |
Implements OdGiMaterialTraits.
Definition at line 796 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the shading specular color component of this MaterialTraits object.
specularColor | [in] Shading specular color. |
Implements OdGiMaterialTraits.
Definition at line 787 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the specular component of this MaterialTraits object.
specularColor | [in] Specular color. |
specularMap | [in] Specular map. |
glossFactor | [in] Gloss factor. |
Implements OdGiMaterialTraits.
Definition at line 616 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the tint component of this MaterialTraits object.
tintColor | [in] Tint color. |
Implements OdGiMaterialTraits.
Definition at line 760 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the translucence of this MaterialTraits object.
value | [in] Translucence value. |
Implements OdGiMaterialTraits.
Definition at line 636 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the transmittance scale of this MaterialTraits object.
scale | [in] Transmittance scale. |
Implements OdGiMaterialTraits.
Definition at line 688 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Sets the two-sided mode of this MaterialTraits object.
flag | [in] Two-sided mode flag. |
Implements OdGiMaterialTraits.
Definition at line 697 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the shading ambient color component of this MaterialTraits object.
ambientColor | [out] Receives the shading ambient color. |
Implements OdGiMaterialTraits.
Definition at line 773 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the shading diffuse color component of this MaterialTraits object.
diffuseColor | [out] Receives the shading diffuse color. |
Implements OdGiMaterialTraits.
Definition at line 782 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the shading opacity component of this MaterialTraits object.
opacityPercentage | [out] Receives the shading opacity percentage. |
Implements OdGiMaterialTraits.
Definition at line 800 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the shading specular color component of this MaterialTraits object.
specularColor | [out] Receives the shading specular color. |
Implements OdGiMaterialTraits.
Definition at line 791 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the specular component of this MaterialTraits object.
specularColor | [out] Receives the specular color. |
specularMap | [out] Receives the specular map. |
glossFactor | [out] Receives the gloss factor. |
Implements OdGiMaterialTraits.
Definition at line 563 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the tint component of this MaterialTraits object.
tintColor | [out] Receives the tint color. |
Implements OdGiMaterialTraits.
Definition at line 764 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the translucence of this MaterialTraits object.
Implements OdGiMaterialTraits.
Definition at line 583 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the transmittance scale of this MaterialTraits object.
Implements OdGiMaterialTraits.
Definition at line 692 of file GiMaterialTraitsData.h.
|
inlinevirtual |
Returns the two-sided mode of this MaterialTraits object.
Implements OdGiMaterialTraits.
Definition at line 701 of file GiMaterialTraitsData.h.
|
protected |
Definition at line 547 of file GiMaterialTraitsData.h.