CFx SDK Documentation 2024 SP0
|
#include <GiMaterial.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdGiImageFileTexture) | |
virtual void | setSourceFileName (const OdString &fileName) |
virtual const OdString | sourceFileName () const |
virtual bool | operator== (const OdGiMaterialTexture &texture) const |
OdGiImageFileTexture & | operator= (const OdGiImageFileTexture &texture) |
void | copyFrom (const OdRxObject *pSource) |
Public Member Functions inherited from OdGiImageTexture | |
ODRX_DECLARE_MEMBERS (OdGiImageTexture) | |
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 | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Member Functions inherited from OdGiImageTexture | |
OdGiImageTexture () | |
~OdGiImageTexture () | |
Protected Member Functions inherited from OdGiMaterialTexture | |
OdGiMaterialTexture () | |
~OdGiMaterialTexture () | |
This class defines material textures based on image files. Corresponding C++ library: TD_Gi <group OdGi_Classes>
Definition at line 909 of file GiMaterial.h.
|
inlinevirtual |
Copies the data of the source object to the current object.
pSource | [in] Input source object. |
Reimplemented from OdRxObject.
Reimplemented in OdGiRasterImageFileTexture.
Definition at line 2273 of file GiMaterial.h.
OdGiImageFileTexture::ODRX_DECLARE_MEMBERS | ( | OdGiImageFileTexture | ) |
|
inline |
Assignment operator for the OdGiImageFileTexture class. Assigns file path of the specifies texture and returns a reference to this image texture.
texture | [in] Texture to be assigned. |
Definition at line 2267 of file GiMaterial.h.
|
inlinevirtual |
Equality operator for the OdGiMaterialTexture class. The objects are equal if: the passed object is an image file texture. source file paths are equal
texture | [in] Texture to be compared. |
Reimplemented from OdGiMaterialTexture.
Reimplemented in OdGiRasterImageFileTexture.
Definition at line 2258 of file GiMaterial.h.
Sets the name of the source file containing the image.
fileName | [in] File name. |
Definition at line 2246 of file GiMaterial.h.
|
inlinevirtual |
Retrieves the name of the file that is used as the image texture.
Definition at line 2252 of file GiMaterial.h.