CFx SDK Documentation  2020SP3
Public Member Functions | List of all members
OdGiMaterialItem Class Referenceabstract

#include <GiMaterialItem.h>

Inheritance diagram for OdGiMaterialItem:
OdRxObject OdGiMaterialRenderItem

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdGiMaterialItem)
 
virtual OdGiMaterialTextureEntryPtr diffuseTexture () const =0
 
virtual OdGiMaterialTextureEntryPtr diffuseTexture ()=0
 
virtual OdGiMaterialTextureEntryPtr createDiffuseTexture ()=0
 
virtual void removeDiffuseTexture ()=0
 
virtual bool haveDiffuseTexture () const =0
 
virtual OdRxObjectPtr cachedData () const =0
 
virtual void setCachedData (OdRxObjectPtr data)=0
 
virtual const OdDbStub * materialId () const =0
 
virtual void setMaterialId (const OdDbStub *matId=NULL)=0
 
virtual bool isMaterialIdValid (const OdDbStub *matId)=0
 
- 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 void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

Container item for material data storage.

See also
TD_Gi

<group OdGi_Classes>

Definition at line 516 of file GiMaterialItem.h.

Member Function Documentation

◆ cachedData()

virtual OdRxObjectPtr OdGiMaterialItem::cachedData ( ) const
pure virtual

Return pointer to cached data object.

◆ createDiffuseTexture()

virtual OdGiMaterialTextureEntryPtr OdGiMaterialItem::createDiffuseTexture ( )
pure virtual

Create and return diffuse texture pointer.

◆ diffuseTexture() [1/2]

virtual OdGiMaterialTextureEntryPtr OdGiMaterialItem::diffuseTexture ( ) const
pure virtual

Return diffuse texture pointer.

◆ diffuseTexture() [2/2]

virtual OdGiMaterialTextureEntryPtr OdGiMaterialItem::diffuseTexture ( )
pure virtual

Return diffuse texture pointer.

◆ haveDiffuseTexture()

virtual bool OdGiMaterialItem::haveDiffuseTexture ( ) const
pure virtual

Return true if diffuse texture is created.

◆ isMaterialIdValid()

virtual bool OdGiMaterialItem::isMaterialIdValid ( const OdDbStub *  matId)
pure virtual

Test whether stored material ID is equal to matId.

◆ materialId()

virtual const OdDbStub* OdGiMaterialItem::materialId ( ) const
pure virtual

Return material ID.

◆ ODRX_DECLARE_MEMBERS()

OdGiMaterialItem::ODRX_DECLARE_MEMBERS ( OdGiMaterialItem  )

◆ removeDiffuseTexture()

virtual void OdGiMaterialItem::removeDiffuseTexture ( )
pure virtual

Destroy diffuse texture.

◆ setCachedData()

virtual void OdGiMaterialItem::setCachedData ( OdRxObjectPtr  data)
pure virtual

Set pointer to cached data object.

◆ setMaterialId()

virtual void OdGiMaterialItem::setMaterialId ( const OdDbStub *  matId = NULL)
pure virtual

Set material ID.


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