CFx SDK Documentation 2024 SP0
|
#include <GiMaterial.h>
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 |
OdGiGenericTexture & | operator= (const OdGiGenericTexture &texture) |
void | copyFrom (const OdRxObject *pSource) |
Public Member Functions inherited from OdGiProceduralTexture | |
ODRX_DECLARE_MEMBERS (OdGiProceduralTexture) | |
virtual Type | type () const =0 |
Public Member Functions inherited from OdGiMaterialTexture | |
ODRX_DECLARE_MEMBERS (OdGiMaterialTexture) | |
virtual bool | operator== (const OdGiMaterialTexture &texture) const |
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 void | copyFrom (const OdRxObject *pSource) |
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 generic procedural material textures. Corresponding C++ library: TD_Gi <group OdGi_Classes>
Definition at line 1426 of file GiMaterial.h.
|
inline |
Default constructor for the OdGiGenericTexture class.
Definition at line 2603 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 2662 of file GiMaterial.h.
|
inlinevirtual |
Retrieves the pointer to the OdGiVariant object used to store the procedural texture data.
Definition at line 2621 of file GiMaterial.h.
|
inlinevirtual |
Retrieves a copy of the OdGiVariant object used to store the procedural texture data.
pDefinition | [in] Smart pointer to the object from which procedural texture data is copied. |
Definition at line 2627 of file GiMaterial.h.
OdGiGenericTexture::ODRX_DECLARE_MEMBERS | ( | OdGiGenericTexture | ) |
|
inline |
Assignment operator for the OdGiGenericTexture class.
texture | [in] Texture to be assigned. |
Definition at line 2653 of file GiMaterial.h.
|
inlinevirtual |
Equality operator for the OdGiGenericTexture class. Textures are equal if: the specified texture is generic texture underlaying definition object that store texture data are equal
texture | [in] Texture to be compared. |
Reimplemented from OdGiMaterialTexture.
Definition at line 2640 of file GiMaterial.h.
|
inlinevirtual |
Sets the new OdGiVariant value to this generic texture.
definition | [in] New OdGiVariant value. |
Definition at line 2608 of file GiMaterial.h.
|
inlinevirtual |
Retrieves the type of the procedural texture.
Implements OdGiProceduralTexture.
Definition at line 1441 of file GiMaterial.h.