|
CFx SDK Documentation
2022 SP0
|
#include <GiMaterial.h>
Public Member Functions | |
| ODRX_DECLARE_MEMBERS (OdGiWoodTexture) | |
| OdGiWoodTexture () | |
| virtual Type | type () const |
| virtual void | setColor1 (const OdGiMaterialColor &woodColor1) |
| virtual const OdGiMaterialColor & | color1 (void) const |
| virtual void | setColor2 (const OdGiMaterialColor &woodColor2) |
| virtual const OdGiMaterialColor & | color2 (void) const |
| virtual void | setRadialNoise (double radialNoise) |
| virtual double | radialNoise (void) const |
| virtual void | setAxialNoise (double axialNoise) |
| virtual double | axialNoise (void) const |
| virtual void | setGrainThickness (double grainThickness) |
| virtual double | grainThickness (void) const |
| virtual bool | operator== (const OdGiMaterialTexture &texture) const |
| OdGiWoodTexture & | operator= (const OdGiWoodTexture &texture) |
| void | copyFrom (const OdRxObject *pSource) |
Public Member Functions inherited from OdGiProceduralTexture | |
| ODRX_DECLARE_MEMBERS (OdGiProceduralTexture) | |
Public Member Functions inherited from OdGiMaterialTexture | |
| ODRX_DECLARE_MEMBERS (OdGiMaterialTexture) | |
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 void | addRef ()=0 |
| virtual void | release ()=0 |
| virtual long | numRefs () const |
| bool | isKindOf (const OdRxClass *pClass) const |
| virtual OdRxObjectPtr | clone () const |
| virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
| virtual bool | isEqualTo (const OdRxObject *pOther) const |
Additional Inherited Members | |
Public Types inherited from OdGiProceduralTexture | |
| enum | Type { kWood = 0 , kMarble = 1 , kGeneric = 2 } |
Static Public Member Functions inherited from OdRxObject | |
| static OdRxObjectPtr | cast (const OdRxObject *pointer) |
| static OdRxClass * | desc () |
Protected Member Functions inherited from OdGiProceduralTexture | |
| OdGiProceduralTexture () | |
| ~OdGiProceduralTexture () | |
Protected Member Functions inherited from OdGiMaterialTexture | |
| OdGiMaterialTexture () | |
| ~OdGiMaterialTexture () | |
This class defines wood procedural material textures. Corresponding C++ library: TD_Gi <group OdGi_Classes>
Definition at line 870 of file GiMaterial.h.
|
inline |
Definition at line 1841 of file GiMaterial.h.
|
inlinevirtual |
Returns the axial noise level of the wood grain.
Definition at line 1891 of file GiMaterial.h.
|
inlinevirtual |
Returns the color of the first wood grain.
Definition at line 1855 of file GiMaterial.h.
|
inlinevirtual |
Returns the color of the second wood grain.
Definition at line 1867 of file GiMaterial.h.
|
inlinevirtual |
Copies the data of the source object to the current object.
| pSource | [in] Input source object. |
Reimplemented from OdRxObject.
Definition at line 1932 of file GiMaterial.h.
|
inlinevirtual |
Returns the tickness of the wood grain.
Definition at line 1903 of file GiMaterial.h.
| OdGiWoodTexture::ODRX_DECLARE_MEMBERS | ( | OdGiWoodTexture | ) |
|
inline |
Definition at line 1922 of file GiMaterial.h.
|
inlinevirtual |
Reimplemented from OdGiMaterialTexture.
Definition at line 1909 of file GiMaterial.h.
|
inlinevirtual |
Returns the radial noise level of the wood grain.
Definition at line 1879 of file GiMaterial.h.
|
inlinevirtual |
Sets the axial noise level of the wood grain.
| axialNoise | [in] Axial noise level. |
Definition at line 1885 of file GiMaterial.h.
|
inlinevirtual |
Sets the color of the first wood grain.
| woodColor1 | [in] Color value. |
Definition at line 1849 of file GiMaterial.h.
|
inlinevirtual |
Sets the color of the second wood grain.
| woodColor2 | [in] Color value. |
Definition at line 1861 of file GiMaterial.h.
|
inlinevirtual |
Sets the tickness of the wood grain.
| grainThickness | [in] Thickness value. |
Definition at line 1897 of file GiMaterial.h.
|
inlinevirtual |
Sets the radial noise level of the wood grain.
| radialNoise | [in] Radial noise level. |
Definition at line 1873 of file GiMaterial.h.
|
inlinevirtual |
Returns the type of procedural texture.
Implements OdGiProceduralTexture.
Definition at line 880 of file GiMaterial.h.