CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OdGiImageFileTexture Class Reference

#include <GiMaterial.h>

Inheritance diagram for OdGiImageFileTexture:
OdGiImageTexture OdGiMaterialTexture OdRxObject OdGiRasterImageFileTexture

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
 
OdGiImageFileTextureoperator= (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 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 ()
 
- Protected Member Functions inherited from OdGiImageTexture
 OdGiImageTexture ()
 
 ~OdGiImageTexture ()
 
- Protected Member Functions inherited from OdGiMaterialTexture
 OdGiMaterialTexture ()
 
 ~OdGiMaterialTexture ()
 

Detailed Description

This class defines material textures based on image files. Corresponding C++ library: TD_Gi <group OdGi_Classes>

See also
<link tv_working_with_attributes_materials, Work with Materials>

Definition at line 909 of file GiMaterial.h.

Member Function Documentation

◆ copyFrom()

void OdGiImageFileTexture::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.

Reimplemented in OdGiRasterImageFileTexture.

Definition at line 2273 of file GiMaterial.h.

◆ ODRX_DECLARE_MEMBERS()

OdGiImageFileTexture::ODRX_DECLARE_MEMBERS ( OdGiImageFileTexture  )

◆ operator=()

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

Assignment operator for the OdGiImageFileTexture class. Assigns file path of the specifies texture and returns a reference to this image texture.

Parameters
texture[in] Texture to be assigned.
Returns
a reference to this image file texture.

Definition at line 2267 of file GiMaterial.h.

◆ operator==()

bool OdGiImageFileTexture::operator== ( const OdGiMaterialTexture texture) const
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

Parameters
texture[in] Texture to be compared.
Returns
true if the specified texture is equal to this image file texture, false otherwise.

Reimplemented from OdGiMaterialTexture.

Reimplemented in OdGiRasterImageFileTexture.

Definition at line 2258 of file GiMaterial.h.

◆ setSourceFileName()

void OdGiImageFileTexture::setSourceFileName ( const OdString fileName)
inlinevirtual

Sets the name of the source file containing the image.

Parameters
fileName[in] File name.

Definition at line 2246 of file GiMaterial.h.

◆ sourceFileName()

const OdString OdGiImageFileTexture::sourceFileName ( ) const
inlinevirtual

Retrieves the name of the file that is used as the image texture.

Returns
the OdString instance that represents the name of the source file containing the image.

Definition at line 2252 of file GiMaterial.h.


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