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

#include <GiMaterial.h>

Inheritance diagram for OdGiRasterImageTexture:
OdGiImageTexture OdGiMaterialTexture OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdGiRasterImageTexture)
 
virtual void setRasterImage (const OdGiRasterImage *pRasterImage)
 
virtual const OdGiRasterImagerasterImage () const
 
virtual bool operator== (const OdGiMaterialTexture &texture) const
 
OdGiRasterImageTextureoperator= (const OdGiRasterImageTexture &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 raster images. Corresponding C++ library: TD_Gi <group OdGi_Classes>

See also
<link tv_working_with_attributes_materials, Work with Materials>

Definition at line 976 of file GiMaterial.h.

Member Function Documentation

◆ copyFrom()

void OdGiRasterImageTexture::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 2316 of file GiMaterial.h.

◆ ODRX_DECLARE_MEMBERS()

OdGiRasterImageTexture::ODRX_DECLARE_MEMBERS ( OdGiRasterImageTexture  )

◆ operator=()

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

Assignment operator for the OdGiRasterImageTexture class. Assigns raster image for the specifies texture and returns a reference to this image texture.

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

Definition at line 2310 of file GiMaterial.h.

◆ operator==()

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

Equality operator for the OdGiRasterImageTexture 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.

Definition at line 2301 of file GiMaterial.h.

◆ rasterImage()

const OdGiRasterImage * OdGiRasterImageTexture::rasterImage ( ) const
inlinevirtual

Retrieves the raster image of this object.

Returns
pointer the raster image represented by OdGiRasterImage class.

Definition at line 2295 of file GiMaterial.h.

◆ setRasterImage()

void OdGiRasterImageTexture::setRasterImage ( const OdGiRasterImage pRasterImage)
inlinevirtual

Sets a raster image to this object.

Parameters
pRasterImage[in] Input raster image.

Definition at line 2289 of file GiMaterial.h.


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