CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
OdGiWoodTexture Class Reference

#include <GiMaterial.h>

Inheritance diagram for OdGiWoodTexture:
OdGiProceduralTexture OdGiMaterialTexture OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdGiWoodTexture)
 
 OdGiWoodTexture ()
 
virtual Type type () const
 
virtual void setColor1 (const OdGiMaterialColor &woodColor1)
 
virtual const OdGiMaterialColorcolor1 (void) const
 
virtual void setColor2 (const OdGiMaterialColor &woodColor2)
 
virtual const OdGiMaterialColorcolor2 (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
 
OdGiWoodTextureoperator= (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 OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () 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 OdRxClassdesc ()
 
- Protected Member Functions inherited from OdGiProceduralTexture
 OdGiProceduralTexture ()
 
 ~OdGiProceduralTexture ()
 
- Protected Member Functions inherited from OdGiMaterialTexture
 OdGiMaterialTexture ()
 
 ~OdGiMaterialTexture ()
 

Detailed Description

This class defines wood procedural material textures. Corresponding C++ library: TD_Gi <group OdGi_Classes>

Definition at line 870 of file GiMaterial.h.

Constructor & Destructor Documentation

◆ OdGiWoodTexture()

OdGiWoodTexture::OdGiWoodTexture ( )
inline

Definition at line 1841 of file GiMaterial.h.

Member Function Documentation

◆ axialNoise()

double OdGiWoodTexture::axialNoise ( void  ) const
inlinevirtual

Returns the axial noise level of the wood grain.

Definition at line 1891 of file GiMaterial.h.

◆ color1()

const OdGiMaterialColor & OdGiWoodTexture::color1 ( void  ) const
inlinevirtual

Returns the color of the first wood grain.

Definition at line 1855 of file GiMaterial.h.

◆ color2()

const OdGiMaterialColor & OdGiWoodTexture::color2 ( void  ) const
inlinevirtual

Returns the color of the second wood grain.

Definition at line 1867 of file GiMaterial.h.

◆ copyFrom()

void OdGiWoodTexture::copyFrom ( const OdRxObject pSource)
inlinevirtual

Copies the data of the source object to the current object.

Parameters
pSource[in] Input source object.

Reimplemented from OdRxObject.

Definition at line 1932 of file GiMaterial.h.

◆ grainThickness()

double OdGiWoodTexture::grainThickness ( void  ) const
inlinevirtual

Returns the tickness of the wood grain.

Definition at line 1903 of file GiMaterial.h.

◆ ODRX_DECLARE_MEMBERS()

OdGiWoodTexture::ODRX_DECLARE_MEMBERS ( OdGiWoodTexture  )

◆ operator=()

OdGiWoodTexture & OdGiWoodTexture::operator= ( const OdGiWoodTexture texture)
inline

Definition at line 1922 of file GiMaterial.h.

◆ operator==()

bool OdGiWoodTexture::operator== ( const OdGiMaterialTexture texture) const
inlinevirtual

Reimplemented from OdGiMaterialTexture.

Definition at line 1909 of file GiMaterial.h.

◆ radialNoise()

double OdGiWoodTexture::radialNoise ( void  ) const
inlinevirtual

Returns the radial noise level of the wood grain.

Definition at line 1879 of file GiMaterial.h.

◆ setAxialNoise()

void OdGiWoodTexture::setAxialNoise ( double  axialNoise)
inlinevirtual

Sets the axial noise level of the wood grain.

Parameters
axialNoise[in] Axial noise level.

Definition at line 1885 of file GiMaterial.h.

◆ setColor1()

void OdGiWoodTexture::setColor1 ( const OdGiMaterialColor woodColor1)
inlinevirtual

Sets the color of the first wood grain.

Parameters
woodColor1[in] Color value.

Definition at line 1849 of file GiMaterial.h.

◆ setColor2()

void OdGiWoodTexture::setColor2 ( const OdGiMaterialColor woodColor2)
inlinevirtual

Sets the color of the second wood grain.

Parameters
woodColor2[in] Color value.

Definition at line 1861 of file GiMaterial.h.

◆ setGrainThickness()

void OdGiWoodTexture::setGrainThickness ( double  grainThickness)
inlinevirtual

Sets the tickness of the wood grain.

Parameters
grainThickness[in] Thickness value.

Definition at line 1897 of file GiMaterial.h.

◆ setRadialNoise()

void OdGiWoodTexture::setRadialNoise ( double  radialNoise)
inlinevirtual

Sets the radial noise level of the wood grain.

Parameters
radialNoise[in] Radial noise level.

Definition at line 1873 of file GiMaterial.h.

◆ type()

virtual Type OdGiWoodTexture::type ( ) const
inlinevirtual

Returns the type of procedural texture.

Implements OdGiProceduralTexture.

Definition at line 880 of file GiMaterial.h.


The documentation for this class was generated from the following file: