CFx SDK Documentation  2023 SP0
Public Member Functions | List of all members
OdGiGenericTexture Class Reference

#include <GiMaterial.h>

Inheritance diagram for OdGiGenericTexture:
OdGiProceduralTexture OdGiMaterialTexture OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdGiGenericTexture)
 
 OdGiGenericTexture ()
 
virtual Type type () const
 
virtual void setDefinition (const OdGiVariant &definition)
 
virtual OdGiVariantPtr definition () const
 
virtual void definition (OdGiVariantPtr &pDefinition) const
 
virtual bool operator== (const OdGiMaterialTexture &texture) const
 
OdGiGenericTextureoperator= (const OdGiGenericTexture &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 generic procedural material textures. Corresponding C++ library: TD_Gi <group OdGi_Classes>

Definition at line 1061 of file GiMaterial.h.

Constructor & Destructor Documentation

◆ OdGiGenericTexture()

OdGiGenericTexture::OdGiGenericTexture ( )
inline

Definition at line 2047 of file GiMaterial.h.

Member Function Documentation

◆ copyFrom()

void OdGiGenericTexture::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 2106 of file GiMaterial.h.

◆ definition() [1/2]

OdGiVariantPtr OdGiGenericTexture::definition ( ) const
inlinevirtual

Returns the pointer to the OdGiVariant object used to store the procedural texture data.

Definition at line 2065 of file GiMaterial.h.

◆ definition() [2/2]

void OdGiGenericTexture::definition ( OdGiVariantPtr pDefinition) const
inlinevirtual

Returns a copy of the OdGiVariant object used to store the procedural texture data.

Definition at line 2071 of file GiMaterial.h.

◆ ODRX_DECLARE_MEMBERS()

OdGiGenericTexture::ODRX_DECLARE_MEMBERS ( OdGiGenericTexture  )

◆ operator=()

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

Definition at line 2097 of file GiMaterial.h.

◆ operator==()

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

Reimplemented from OdGiMaterialTexture.

Definition at line 2084 of file GiMaterial.h.

◆ setDefinition()

void OdGiGenericTexture::setDefinition ( const OdGiVariant definition)
inlinevirtual

Sets the new OdGiVariant value to this generic texture.

Parameters
definition[in] New OdGiVariant value.

Definition at line 2052 of file GiMaterial.h.

◆ type()

virtual Type OdGiGenericTexture::type ( ) const
inlinevirtual

Returns the type of procedural texture.

Implements OdGiProceduralTexture.

Definition at line 1071 of file GiMaterial.h.


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