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

#include <GiMapperItem.h>

Inheritance diagram for OdGiMapperRenderItem:
OdGiMapperItem OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdGiMapperRenderItem)
 
virtual void setDiffuseMapper (const OdGiMaterialTraitsData &traitsData)=0
 
virtual void setDiffuseMapper (const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
 
virtual void setDiffuseMapper (const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData)=0
 
virtual void setDiffuseMapper (const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
 
virtual OdGiMapperItemEntryPtr diffuseMapper () const =0
 
virtual OdGiMapperItemEntryPtr diffuseMapper ()=0
 
virtual void setSpecularMapper (const OdGiMaterialTraitsData &traitsData)=0
 
virtual void setSpecularMapper (const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
 
virtual void setSpecularMapper (const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData)=0
 
virtual void setSpecularMapper (const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
 
virtual OdGiMapperItemEntryPtr specularMapper () const =0
 
virtual OdGiMapperItemEntryPtr specularMapper ()=0
 
virtual void setReflectionMapper (const OdGiMaterialTraitsData &traitsData)=0
 
virtual void setReflectionMapper (const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
 
virtual void setReflectionMapper (const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData)=0
 
virtual void setReflectionMapper (const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
 
virtual OdGiMapperItemEntryPtr reflectionMapper () const =0
 
virtual OdGiMapperItemEntryPtr reflectionMapper ()=0
 
virtual void setOpacityMapper (const OdGiMaterialTraitsData &traitsData)=0
 
virtual void setOpacityMapper (const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
 
virtual void setOpacityMapper (const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData)=0
 
virtual void setOpacityMapper (const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
 
virtual OdGiMapperItemEntryPtr opacityMapper () const =0
 
virtual OdGiMapperItemEntryPtr opacityMapper ()=0
 
virtual void setBumpMapper (const OdGiMaterialTraitsData &traitsData)=0
 
virtual void setBumpMapper (const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
 
virtual void setBumpMapper (const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData)=0
 
virtual void setBumpMapper (const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
 
virtual OdGiMapperItemEntryPtr bumpMapper () const =0
 
virtual OdGiMapperItemEntryPtr bumpMapper ()=0
 
virtual void setRefractionMapper (const OdGiMaterialTraitsData &traitsData)=0
 
virtual void setRefractionMapper (const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
 
virtual void setRefractionMapper (const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData)=0
 
virtual void setRefractionMapper (const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
 
virtual OdGiMapperItemEntryPtr refractionMapper () const =0
 
virtual OdGiMapperItemEntryPtr refractionMapper ()=0
 
virtual void setNormalMapMapper (const OdGiMaterialTraitsData &traitsData)=0
 
virtual void setNormalMapMapper (const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
 
virtual void setNormalMapMapper (const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData)=0
 
virtual void setNormalMapMapper (const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
 
virtual OdGiMapperItemEntryPtr normalMapMapper () const =0
 
virtual OdGiMapperItemEntryPtr normalMapMapper ()=0
 
virtual void setEmissionMapper (const OdGiMaterialTraitsData &traitsData)=0
 
virtual void setEmissionMapper (const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
 
virtual void setEmissionMapper (const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData)=0
 
virtual void setEmissionMapper (const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
 
virtual OdGiMapperItemEntryPtr emissionMapper () const =0
 
virtual OdGiMapperItemEntryPtr emissionMapper ()=0
 
virtual void setMapper (const OdGiMaterialTraitsData &traitsData, const OdDbStub *pMaterial=NULL)=0
 
virtual void setMapper (const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdDbStub *pMaterial=NULL)=0
 
virtual void setModelTransform (const OdGeMatrix3d &mtm, bool recomputeTransforms=true)=0
 
virtual void setObjectTransform (const OdGeMatrix3d &otm, bool recomputeTransforms=true)=0
 
virtual void setObjectTransform (OdInt32 nCount, const OdGePoint3d *pPoints, bool recomputeTransforms=true)=0
 
virtual void setObjectTransform (const OdGeExtents3d &exts, bool recomputeTransforms=true)=0
 
virtual void setDeviceTransform (const OdGeMatrix3d &dtm, bool recomputeTransforms=true)=0
 
virtual bool isLastProcValid (const OdDbStub *pMaterial)=0
 
virtual bool isLastProcValid (const OdDbStub *pMaterial, const OdGeMatrix3d &tm)=0
 
virtual bool isLastProcValid (const OdGiMapper *pMapper, const OdDbStub *pMaterial)=0
 
virtual bool isLastProcValid (const OdGiMapper *pMapper, const OdDbStub *pMaterial, const OdGeMatrix3d &tm)=0
 
virtual bool isLastProcValid (const OdGeMatrix3d &tm)=0
 
virtual bool isEntityMapper () const =0
 
virtual bool isObjectMatrixNeed () const =0
 
virtual bool isModelMatrixNeed () const =0
 
virtual bool isDependsFromObjectMatrix () const =0
 
virtual bool isVertexTransformRequired () const =0
 
virtual void setVertexTransform (OdInt32 nCount, const OdGePoint3d *pPoints)=0
 
virtual void setVertexTransform (const OdGeExtents3d &exts)=0
 
virtual void setInputTransform (const OdGeMatrix3d &tm, bool bVertexDependantOnly=true)=0
 
- Public Member Functions inherited from OdGiMapperItem
 ODRX_DECLARE_MEMBERS (OdGiMapperItem)
 
virtual void setDiffuseMapper (const OdGiMaterialTraitsData &traitsData)=0
 
virtual void setDiffuseMapper (const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
 
virtual void setDiffuseMapper (const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData)=0
 
virtual void setDiffuseMapper (const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
 
virtual OdGiMapperItemEntryPtr diffuseMapper () const =0
 
virtual OdGiMapperItemEntryPtr diffuseMapper ()=0
 
virtual void setMapper (const OdGiMaterialTraitsData &traitsData, const OdDbStub *pMaterial=NULL)=0
 
virtual void setMapper (const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm, const OdDbStub *pMaterial=NULL)=0
 
virtual void setMapper (const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdDbStub *pMaterial=NULL)=0
 
virtual void setMapper (const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm, const OdDbStub *pMaterial=NULL)=0
 
virtual void setModelTransform (const OdGeMatrix3d &mtm, bool recomputeTransforms=true)=0
 
virtual void setObjectTransform (const OdGeMatrix3d &otm, bool recomputeTransforms=true)=0
 
virtual void setObjectTransform (OdInt32 nCount, const OdGePoint3d *pPoints, bool recomputeTransforms=true)=0
 
virtual void setObjectTransform (const OdGeExtents3d &exts, bool recomputeTransforms=true)=0
 
virtual void setDeviceTransform (const OdGeMatrix3d &dtm, bool recomputeTransforms=true)=0
 
virtual bool isLastProcValid (const OdDbStub *pMaterial)=0
 
virtual bool isLastProcValid (const OdDbStub *pMaterial, const OdGeMatrix3d &tm)=0
 
virtual bool isLastProcValid (const OdGiMapper *pMapper, const OdDbStub *pMaterial)=0
 
virtual bool isLastProcValid (const OdGiMapper *pMapper, const OdDbStub *pMaterial, const OdGeMatrix3d &tm)=0
 
virtual bool isLastProcValid (const OdGeMatrix3d &tm)=0
 
virtual bool isEntityMapper () const =0
 
virtual bool isObjectMatrixNeed () const =0
 
virtual bool isModelMatrixNeed () const =0
 
virtual bool isDependsFromObjectMatrix () const =0
 
virtual bool isVertexTransformRequired () const =0
 
virtual void setVertexTransform (OdInt32 nCount, const OdGePoint3d *pPoints)=0
 
virtual void setVertexTransform (const OdGeExtents3d &exts)=0
 
virtual void setInputTransform (const OdGeMatrix3d &tm, bool bVertexDependantOnly=true)=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. OdGiMapperRenderItem used for rendering devices.

See also
TD_Gi

<group OdGi_Classes>

Definition at line 558 of file GiMapperItem.h.

Member Function Documentation

◆ bumpMapper() [1/2]

virtual OdGiMapperItemEntryPtr OdGiMapperRenderItem::bumpMapper ( ) const
pure virtual

Retrieves a mapper for bump texture channel.

Returns
smart pointer to a mapper for bump texture channel.

◆ bumpMapper() [2/2]

virtual OdGiMapperItemEntryPtr OdGiMapperRenderItem::bumpMapper ( )
pure virtual

Retrieves a mapper for bump texture channel.

Returns
smart pointer to a mapper for bump texture channel.

◆ diffuseMapper() [1/2]

virtual OdGiMapperItemEntryPtr OdGiMapperRenderItem::diffuseMapper ( ) const
pure virtual

Retrieves a mapper for diffuse texture channel.

Returns
a smart pointer to a mapper for diffuse texture channel.

Implements OdGiMapperItem.

◆ diffuseMapper() [2/2]

virtual OdGiMapperItemEntryPtr OdGiMapperRenderItem::diffuseMapper ( )
pure virtual

Retrieves a mapper for diffuse texture channel.

Returns
a smart pointer to a mapper for diffuse texture channel.

Implements OdGiMapperItem.

◆ emissionMapper() [1/2]

virtual OdGiMapperItemEntryPtr OdGiMapperRenderItem::emissionMapper ( ) const
pure virtual

Retrieves a mapper for emission texture channel.

Returns
smart pointer to a mapper for emission texture channel.

◆ emissionMapper() [2/2]

virtual OdGiMapperItemEntryPtr OdGiMapperRenderItem::emissionMapper ( )
pure virtual

Retrieves a mapper for emission texture channel.

Returns
smart pointer to a mapper for emission texture channel.

◆ isDependsFromObjectMatrix()

virtual bool OdGiMapperRenderItem::isDependsFromObjectMatrix ( ) const
pure virtual

Checks whether a model matrix is needed for this mapper.

Returns
true if mapper requires object or vertex transform.

Implements OdGiMapperItem.

◆ isEntityMapper()

virtual bool OdGiMapperRenderItem::isEntityMapper ( ) const
pure virtual

Checks whether the entity mapper is specified for all channels.

Returns
true if entity mapper is specified for all channels, false otherwise.

Implements OdGiMapperItem.

◆ isLastProcValid() [1/5]

virtual bool OdGiMapperRenderItem::isLastProcValid ( const OdDbStub *  pMaterial)
pure virtual

Checks whether the current material is valid for use with previously set up mapper data.

Parameters
pMaterial[in] Material ID.
Returns
true if the current material is valid for use with previously set up mapper data, false otherwise.

Implements OdGiMapperItem.

◆ isLastProcValid() [2/5]

virtual bool OdGiMapperRenderItem::isLastProcValid ( const OdDbStub *  pMaterial,
const OdGeMatrix3d tm 
)
pure virtual

Checks whether the current material and matrix are valid for use with previously set up mapper data.

Parameters
pMaterial[in] Material ID.
tm[in] object/model transformation matrix.
Returns
true if the current material is valid for use with previously set up mapper data, false otherwise.

Implements OdGiMapperItem.

◆ isLastProcValid() [3/5]

virtual bool OdGiMapperRenderItem::isLastProcValid ( const OdGeMatrix3d tm)
pure virtual

Checks whether the current object/model matrix is valid for use with previously set up mapper data.

Parameters
tm[in] Object/model transformation matrix.
Returns
true if the current material is valid for use with previously set up mapper data, false otherwise.

Implements OdGiMapperItem.

◆ isLastProcValid() [4/5]

virtual bool OdGiMapperRenderItem::isLastProcValid ( const OdGiMapper pMapper,
const OdDbStub *  pMaterial 
)
pure virtual

Checks whether the current mapper and material are valid for use with previously set up mapper data.

Parameters
pMapper[in] Entity mapper.
pMaterial[in] Material ID.
Returns
true if the current material is valid for use with previously set up mapper data, false otherwise.

Implements OdGiMapperItem.

◆ isLastProcValid() [5/5]

virtual bool OdGiMapperRenderItem::isLastProcValid ( const OdGiMapper pMapper,
const OdDbStub *  pMaterial,
const OdGeMatrix3d tm 
)
pure virtual

Checks whether the current mapper, material, and matrix are valid for use with previously set up mapper data.

Parameters
pMapper[in] Entity mapper.
pMaterial[in] Material ID.
tm[in] Object/model transformation matrix.
Returns
true if the current material is valid for use with previously set up mapper data, false otherwise.

Implements OdGiMapperItem.

◆ isModelMatrixNeed()

virtual bool OdGiMapperRenderItem::isModelMatrixNeed ( ) const
pure virtual

Checks whether any mapper needs a model matrix.

Returns
true if at least one mapper needs a model matrix.

Implements OdGiMapperItem.

◆ isObjectMatrixNeed()

virtual bool OdGiMapperRenderItem::isObjectMatrixNeed ( ) const
pure virtual

Return true if at least one mapper needs object matrix.

Implements OdGiMapperItem.

◆ isVertexTransformRequired()

virtual bool OdGiMapperRenderItem::isVertexTransformRequired ( ) const
pure virtual

Checks whether mapper requires a vertex transform. A vertex transform is required in case if mapper has automatic transform mode == kObject.

Returns
true if mapper requires vertex transform, false otherwise.

Implements OdGiMapperItem.

◆ normalMapMapper() [1/2]

virtual OdGiMapperItemEntryPtr OdGiMapperRenderItem::normalMapMapper ( ) const
pure virtual

Retrieves a mapper for normal map texture channel.

Returns
smart pointer to a mapper for normal map texture channel.

◆ normalMapMapper() [2/2]

virtual OdGiMapperItemEntryPtr OdGiMapperRenderItem::normalMapMapper ( )
pure virtual

Retrieves a mapper for normal map texture channel.

Returns
smart pointer to a mapper for normal map texture channel.

◆ ODRX_DECLARE_MEMBERS()

OdGiMapperRenderItem::ODRX_DECLARE_MEMBERS ( OdGiMapperRenderItem  )

◆ opacityMapper() [1/2]

virtual OdGiMapperItemEntryPtr OdGiMapperRenderItem::opacityMapper ( ) const
pure virtual

Retrieves a mapper for opacity texture channel.

Returns
smart pointer to a mapper for opacity texture channel.

◆ opacityMapper() [2/2]

virtual OdGiMapperItemEntryPtr OdGiMapperRenderItem::opacityMapper ( )
pure virtual

Retrieves a mapper for opacity texture channel.

Returns
smart pointer to a mapper for opacity texture channel.

◆ reflectionMapper() [1/2]

virtual OdGiMapperItemEntryPtr OdGiMapperRenderItem::reflectionMapper ( ) const
pure virtual

Retrieves a mapper for reflection texture channel.

Returns
smart pointer to a mapper for reflection texture channel.

◆ reflectionMapper() [2/2]

virtual OdGiMapperItemEntryPtr OdGiMapperRenderItem::reflectionMapper ( )
pure virtual

Return mapper for reflection texture channel.

◆ refractionMapper() [1/2]

virtual OdGiMapperItemEntryPtr OdGiMapperRenderItem::refractionMapper ( ) const
pure virtual

Retrieves a mapper for reflection texture channel.

Returns
smart pointer to a mapper for reflection texture channel.

◆ refractionMapper() [2/2]

virtual OdGiMapperItemEntryPtr OdGiMapperRenderItem::refractionMapper ( )
pure virtual

Retrieves a mapper for reflection texture channel.

Returns
smart pointer to a mapper for reflection texture channel.

◆ setBumpMapper() [1/4]

virtual void OdGiMapperRenderItem::setBumpMapper ( const OdGiMapper pMapper,
const OdGiMaterialTraitsData traitsData 
)
pure virtual

Sets a mapper for bump texture channel.

Parameters
pMapper[in] Entity mapper.
traitsData[in] Input traits data.

◆ setBumpMapper() [2/4]

virtual void OdGiMapperRenderItem::setBumpMapper ( const OdGiMapper pMapper,
const OdGiMaterialTraitsData traitsData,
const OdGeMatrix3d tm 
)
pure virtual

Sets a mapper for bump texture channel.

Parameters
pMapper[in] Entity mapper.
traitsData[in] Input traits data.
tm[in] Object/model transformation matrix.

◆ setBumpMapper() [3/4]

virtual void OdGiMapperRenderItem::setBumpMapper ( const OdGiMaterialTraitsData traitsData)
pure virtual

Sets a mapper for bump texture channel.

Parameters
traitsData[in] Input traits data.

◆ setBumpMapper() [4/4]

virtual void OdGiMapperRenderItem::setBumpMapper ( const OdGiMaterialTraitsData traitsData,
const OdGeMatrix3d tm 
)
pure virtual

Sets a mapper for bump texture channel.

Parameters
traitsData[in] Input traits data.
tm[in] Object/model transformation matrix.

◆ setDeviceTransform()

virtual void OdGiMapperRenderItem::setDeviceTransform ( const OdGeMatrix3d dtm,
bool  recomputeTransforms = true 
)
pure virtual

Sets device-dependent transformation for all texture channels.

Parameters
dtm[in] Device transformation matrix.
recomputeTransforms[in] Flag that specifies whether to call recomputeTransformations() for all texture channels after matrix is set.

Implements OdGiMapperItem.

◆ setDiffuseMapper() [1/4]

virtual void OdGiMapperRenderItem::setDiffuseMapper ( const OdGiMapper pMapper,
const OdGiMaterialTraitsData traitsData 
)
pure virtual

Sets a mapper for diffuse texture channel.

Parameters
pMapper[in] Entity mapper.
traitsData[in] Input traits data.

Implements OdGiMapperItem.

◆ setDiffuseMapper() [2/4]

virtual void OdGiMapperRenderItem::setDiffuseMapper ( const OdGiMapper pMapper,
const OdGiMaterialTraitsData traitsData,
const OdGeMatrix3d tm 
)
pure virtual

Sets a mapper for diffuse texture channel.

Parameters
pMapper[in] Entity mapper.
traitsData[in] Input traits data.
tm[in] Object/model transformation matrix.

Implements OdGiMapperItem.

◆ setDiffuseMapper() [3/4]

virtual void OdGiMapperRenderItem::setDiffuseMapper ( const OdGiMaterialTraitsData traitsData)
pure virtual

Sets a mapper for diffuse texture channel.

Parameters
traitsData[in] Input traits data.

Implements OdGiMapperItem.

◆ setDiffuseMapper() [4/4]

virtual void OdGiMapperRenderItem::setDiffuseMapper ( const OdGiMaterialTraitsData traitsData,
const OdGeMatrix3d tm 
)
pure virtual

Sets a mapper for diffuse texture channel.

Parameters
traitsData[in] Input traits data.
tm[in] Object/model transformation matrix.

Implements OdGiMapperItem.

◆ setEmissionMapper() [1/4]

virtual void OdGiMapperRenderItem::setEmissionMapper ( const OdGiMapper pMapper,
const OdGiMaterialTraitsData traitsData 
)
pure virtual

Sets a mapper for emission texture channel.

Parameters
pMapper[in] Entity mapper.
traitsData[in] Input traits data.

◆ setEmissionMapper() [2/4]

virtual void OdGiMapperRenderItem::setEmissionMapper ( const OdGiMapper pMapper,
const OdGiMaterialTraitsData traitsData,
const OdGeMatrix3d tm 
)
pure virtual

Sets a mapper for emission texture channel.

Parameters
pMapper[in] Entity mapper.
traitsData[in] Input traits data.
tm[in] Object/model transformation matrix.

◆ setEmissionMapper() [3/4]

virtual void OdGiMapperRenderItem::setEmissionMapper ( const OdGiMaterialTraitsData traitsData)
pure virtual

Sets a mapper for emission texture channel.

Parameters
traitsData[in] Input traits data.

◆ setEmissionMapper() [4/4]

virtual void OdGiMapperRenderItem::setEmissionMapper ( const OdGiMaterialTraitsData traitsData,
const OdGeMatrix3d tm 
)
pure virtual

Sets a mapper for emission texture channel.

Parameters
traitsData[in] Input traits data.
tm[in] Object/model transformation matrix.

◆ setInputTransform()

virtual void OdGiMapperRenderItem::setInputTransform ( const OdGeMatrix3d tm,
bool  bVertexDependantOnly = true 
)
pure virtual

Sets input tranform for all channels.

Parameters
tm[in] Input transformation matrix.
bVertexDependantOnly[in] Set to channels which require vertex tranform only.

Implements OdGiMapperItem.

◆ setMapper() [1/2]

virtual void OdGiMapperRenderItem::setMapper ( const OdGiMapper pMapper,
const OdGiMaterialTraitsData traitsData,
const OdDbStub *  pMaterial = NULL 
)
pure virtual

Sets a mapper for all texture channels.

Parameters
pMapper[in] Entity mapper.
traitsData[in] Input traits data.
pMaterial[in] Material ID for input traits data.

Implements OdGiMapperItem.

◆ setMapper() [2/2]

virtual void OdGiMapperRenderItem::setMapper ( const OdGiMaterialTraitsData traitsData,
const OdDbStub *  pMaterial = NULL 
)
pure virtual

Sets a mapper for all texture channels.

Parameters
traitsData[in] Input traits data.
pMaterial[in] Material ID for input traits data.

Implements OdGiMapperItem.

◆ setModelTransform()

virtual void OdGiMapperRenderItem::setModelTransform ( const OdGeMatrix3d mtm,
bool  recomputeTransforms = true 
)
pure virtual

Sets model transformation for all texture channels which needs model transformation.

Parameters
mtm[in] Model transformation matrix.
recomputeTransforms[in] Call recomputeTransformations() for all texture channels after matrix is set.

Implements OdGiMapperItem.

◆ setNormalMapMapper() [1/4]

virtual void OdGiMapperRenderItem::setNormalMapMapper ( const OdGiMapper pMapper,
const OdGiMaterialTraitsData traitsData 
)
pure virtual

Sets a mapper for normal map texture channel.

Parameters
pMapper[in] Entity mapper.
traitsData[in] Input traits data.

◆ setNormalMapMapper() [2/4]

virtual void OdGiMapperRenderItem::setNormalMapMapper ( const OdGiMapper pMapper,
const OdGiMaterialTraitsData traitsData,
const OdGeMatrix3d tm 
)
pure virtual

Sets a mapper for normal map texture channel.

Parameters
pMapper[in] Entity mapper.
traitsData[in] Input traits data.
tm[in] Object/model transformation matrix.

◆ setNormalMapMapper() [3/4]

virtual void OdGiMapperRenderItem::setNormalMapMapper ( const OdGiMaterialTraitsData traitsData)
pure virtual

Sets a mapper for normal map texture channel.

Parameters
traitsData[in] Input traits data.

◆ setNormalMapMapper() [4/4]

virtual void OdGiMapperRenderItem::setNormalMapMapper ( const OdGiMaterialTraitsData traitsData,
const OdGeMatrix3d tm 
)
pure virtual

Sets a mapper for normal map texture channel.

Parameters
traitsData[in] Input traits data.
tm[in] Object/model transformation matrix.

◆ setObjectTransform() [1/3]

virtual void OdGiMapperRenderItem::setObjectTransform ( const OdGeExtents3d exts,
bool  recomputeTransforms = true 
)
pure virtual

Sets object transformation for all texture channels which needs object transformation.

Parameters
exts[in] Object extents.
recomputeTransforms[in] Flag that specifies whether to call recomputeTransformations() for all texture channels after matrix is set.

Implements OdGiMapperItem.

◆ setObjectTransform() [2/3]

virtual void OdGiMapperRenderItem::setObjectTransform ( const OdGeMatrix3d otm,
bool  recomputeTransforms = true 
)
pure virtual

Sets object transformation for all texture channels which needs object transformation.

Parameters
otm[in] Object transformation matrix.
recomputeTransforms[in] Flag that specifies whether to call recomputeTransformations() for all texture channels after matrix is set.

Implements OdGiMapperItem.

◆ setObjectTransform() [3/3]

virtual void OdGiMapperRenderItem::setObjectTransform ( OdInt32  nCount,
const OdGePoint3d pPoints,
bool  recomputeTransforms = true 
)
pure virtual

Sets object transformation for all texture channels which needs object transformation.

Parameters
nCount[in] Number of points into pPoints array.
pPoints[in] Array of points.
recomputeTransforms[in] Flag that specifies whether to call recomputeTransformations() for all texture channels after matrix is set.

Implements OdGiMapperItem.

◆ setOpacityMapper() [1/4]

virtual void OdGiMapperRenderItem::setOpacityMapper ( const OdGiMapper pMapper,
const OdGiMaterialTraitsData traitsData 
)
pure virtual

Sets a mapper for opacity texture channel.

Parameters
pMapper[in] Entity mapper.
traitsData[in] Input traits data.

◆ setOpacityMapper() [2/4]

virtual void OdGiMapperRenderItem::setOpacityMapper ( const OdGiMapper pMapper,
const OdGiMaterialTraitsData traitsData,
const OdGeMatrix3d tm 
)
pure virtual

Sets a mapper for opacity texture channel.

Parameters
pMapper[in] Entity mapper.
traitsData[in] Input traits data.
tm[in] Object/model transformation matrix.

◆ setOpacityMapper() [3/4]

virtual void OdGiMapperRenderItem::setOpacityMapper ( const OdGiMaterialTraitsData traitsData)
pure virtual

Sets a mapper for opacity texture channel.

Parameters
traitsData[in] Input traits data.

◆ setOpacityMapper() [4/4]

virtual void OdGiMapperRenderItem::setOpacityMapper ( const OdGiMaterialTraitsData traitsData,
const OdGeMatrix3d tm 
)
pure virtual

Sets a mapper for opacity texture channel.

Parameters
traitsData[in] Input traits data.
tm[in] Object/model transformation matrix.

◆ setReflectionMapper() [1/4]

virtual void OdGiMapperRenderItem::setReflectionMapper ( const OdGiMapper pMapper,
const OdGiMaterialTraitsData traitsData 
)
pure virtual

Sets a mapper for reflection texture channel.

Parameters
pMapper[in] Entity mapper.
traitsData[in] Input traits data.

◆ setReflectionMapper() [2/4]

virtual void OdGiMapperRenderItem::setReflectionMapper ( const OdGiMapper pMapper,
const OdGiMaterialTraitsData traitsData,
const OdGeMatrix3d tm 
)
pure virtual

Sets a mapper for reflection texture channel.

Parameters
pMapper[in] Entity mapper.
traitsData[in] Input traits data.
tm[in] Object/model transformation matrix.

◆ setReflectionMapper() [3/4]

virtual void OdGiMapperRenderItem::setReflectionMapper ( const OdGiMaterialTraitsData traitsData)
pure virtual

Sets a mapper for reflection texture channel.

Parameters
traitsData[in] Input traits data.

◆ setReflectionMapper() [4/4]

virtual void OdGiMapperRenderItem::setReflectionMapper ( const OdGiMaterialTraitsData traitsData,
const OdGeMatrix3d tm 
)
pure virtual

Sets a mapper for reflection texture channel.

Parameters
traitsData[in] Input traits data.
tm[in] Object/model transformation matrix.

◆ setRefractionMapper() [1/4]

virtual void OdGiMapperRenderItem::setRefractionMapper ( const OdGiMapper pMapper,
const OdGiMaterialTraitsData traitsData 
)
pure virtual

Sets a mapper for reflection texture channel.

Parameters
pMapper[in] Entity mapper.
traitsData[in] Input traits data.

◆ setRefractionMapper() [2/4]

virtual void OdGiMapperRenderItem::setRefractionMapper ( const OdGiMapper pMapper,
const OdGiMaterialTraitsData traitsData,
const OdGeMatrix3d tm 
)
pure virtual

Sets a mapper for refraction texture channel.

Parameters
pMapper[in] Entity mapper.
traitsData[in] Input traits data.
tm[in] Object/model transformation matrix.

◆ setRefractionMapper() [3/4]

virtual void OdGiMapperRenderItem::setRefractionMapper ( const OdGiMaterialTraitsData traitsData)
pure virtual

Sets a mapper for reflection texture channel.

Parameters
traitsData[in] Input traits data.

◆ setRefractionMapper() [4/4]

virtual void OdGiMapperRenderItem::setRefractionMapper ( const OdGiMaterialTraitsData traitsData,
const OdGeMatrix3d tm 
)
pure virtual

Sets a mapper for refraction texture channel.

Parameters
traitsData[in] Input traits data.
tm[in] Object/model transformation matrix.

◆ setSpecularMapper() [1/4]

virtual void OdGiMapperRenderItem::setSpecularMapper ( const OdGiMapper pMapper,
const OdGiMaterialTraitsData traitsData 
)
pure virtual

Sets a mapper for specular texture channel.

Parameters
pMapper[in] Entity mapper.
traitsData[in] Input traits data.

◆ setSpecularMapper() [2/4]

virtual void OdGiMapperRenderItem::setSpecularMapper ( const OdGiMapper pMapper,
const OdGiMaterialTraitsData traitsData,
const OdGeMatrix3d tm 
)
pure virtual

Sets a mapper for specular texture channel.

Parameters
pMapper[in] Entity mapper.
traitsData[in] Input traits data.
tm[in] Object/model transformation matrix.

◆ setSpecularMapper() [3/4]

virtual void OdGiMapperRenderItem::setSpecularMapper ( const OdGiMaterialTraitsData traitsData)
pure virtual

Sets a mapper for specular texture channel.

Parameters
traitsData[in] Input traits data.

◆ setSpecularMapper() [4/4]

virtual void OdGiMapperRenderItem::setSpecularMapper ( const OdGiMaterialTraitsData traitsData,
const OdGeMatrix3d tm 
)
pure virtual

Sets a mapper for specular texture channel.

Parameters
traitsData[in] Input traits data.
tm[in] Object/model transformation matrix.

◆ setVertexTransform() [1/2]

virtual void OdGiMapperRenderItem::setVertexTransform ( const OdGeExtents3d exts)
pure virtual

Sets vertex transform from object extents.

Parameters
exts[in] Extents that defines vertex transform matrix.

Implements OdGiMapperItem.

◆ setVertexTransform() [2/2]

virtual void OdGiMapperRenderItem::setVertexTransform ( OdInt32  nCount,
const OdGePoint3d pPoints 
)
pure virtual

Sets vertex transform from points array.

Parameters
nCount[in] Number of points.
pPoints[in] Pointer to the array of points.

Implements OdGiMapperItem.

◆ specularMapper() [1/2]

virtual OdGiMapperItemEntryPtr OdGiMapperRenderItem::specularMapper ( ) const
pure virtual

Retrieves a mapper for specular texture channel.

Returns
smart pointer to a mapper for specular texture channel.

◆ specularMapper() [2/2]

virtual OdGiMapperItemEntryPtr OdGiMapperRenderItem::specularMapper ( )
pure virtual

Retrieves a smart pointer to a mapper for specular texture channel.

Returns
smart pointer to a mapper for specular texture channel.

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