CFx SDK Documentation 2024 SP0
|
#include <GiMapperItem.h>
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 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 () |
Container item for material data storage. OdGiMapperRenderItem used for rendering devices.
<group OdGi_Classes>
Definition at line 558 of file GiMapperItem.h.
|
pure virtual |
Retrieves a mapper for bump texture channel.
|
pure virtual |
Retrieves a mapper for bump texture channel.
|
pure virtual |
Retrieves a mapper for diffuse texture channel.
Implements OdGiMapperItem.
|
pure virtual |
Retrieves a mapper for diffuse texture channel.
Implements OdGiMapperItem.
|
pure virtual |
Retrieves a mapper for emission texture channel.
|
pure virtual |
Retrieves a mapper for emission texture channel.
|
pure virtual |
Checks whether a model matrix is needed for this mapper.
Implements OdGiMapperItem.
|
pure virtual |
Checks whether the entity mapper is specified for all channels.
Implements OdGiMapperItem.
|
pure virtual |
Checks whether the current material is valid for use with previously set up mapper data.
pMaterial | [in] Material ID. |
Implements OdGiMapperItem.
|
pure virtual |
Checks whether the current material and matrix are valid for use with previously set up mapper data.
pMaterial | [in] Material ID. |
tm | [in] object/model transformation matrix. |
Implements OdGiMapperItem.
|
pure virtual |
Checks whether the current object/model matrix is valid for use with previously set up mapper data.
tm | [in] Object/model transformation matrix. |
Implements OdGiMapperItem.
|
pure virtual |
Checks whether the current mapper and material are valid for use with previously set up mapper data.
pMapper | [in] Entity mapper. |
pMaterial | [in] Material ID. |
Implements OdGiMapperItem.
|
pure virtual |
Checks whether the current mapper, material, and matrix are valid for use with previously set up mapper data.
pMapper | [in] Entity mapper. |
pMaterial | [in] Material ID. |
tm | [in] Object/model transformation matrix. |
Implements OdGiMapperItem.
|
pure virtual |
Checks whether any mapper needs a model matrix.
Implements OdGiMapperItem.
|
pure virtual |
Return true if at least one mapper needs object matrix.
Implements OdGiMapperItem.
|
pure virtual |
Checks whether mapper requires a vertex transform. A vertex transform is required in case if mapper has automatic transform mode == kObject.
Implements OdGiMapperItem.
|
pure virtual |
Retrieves a mapper for normal map texture channel.
|
pure virtual |
Retrieves a mapper for normal map texture channel.
OdGiMapperRenderItem::ODRX_DECLARE_MEMBERS | ( | OdGiMapperRenderItem | ) |
|
pure virtual |
Retrieves a mapper for opacity texture channel.
|
pure virtual |
Retrieves a mapper for opacity texture channel.
|
pure virtual |
Retrieves a mapper for reflection texture channel.
|
pure virtual |
Return mapper for reflection texture channel.
|
pure virtual |
Retrieves a mapper for reflection texture channel.
|
pure virtual |
Retrieves a mapper for reflection texture channel.
|
pure virtual |
Sets a mapper for bump texture channel.
pMapper | [in] Entity mapper. |
traitsData | [in] Input traits data. |
|
pure virtual |
Sets a mapper for bump texture channel.
pMapper | [in] Entity mapper. |
traitsData | [in] Input traits data. |
tm | [in] Object/model transformation matrix. |
|
pure virtual |
Sets a mapper for bump texture channel.
traitsData | [in] Input traits data. |
|
pure virtual |
Sets a mapper for bump texture channel.
traitsData | [in] Input traits data. |
tm | [in] Object/model transformation matrix. |
|
pure virtual |
Sets device-dependent transformation for all texture channels.
dtm | [in] Device transformation matrix. |
recomputeTransforms | [in] Flag that specifies whether to call recomputeTransformations() for all texture channels after matrix is set. |
Implements OdGiMapperItem.
|
pure virtual |
Sets a mapper for diffuse texture channel.
pMapper | [in] Entity mapper. |
traitsData | [in] Input traits data. |
Implements OdGiMapperItem.
|
pure virtual |
Sets a mapper for diffuse texture channel.
pMapper | [in] Entity mapper. |
traitsData | [in] Input traits data. |
tm | [in] Object/model transformation matrix. |
Implements OdGiMapperItem.
|
pure virtual |
Sets a mapper for diffuse texture channel.
traitsData | [in] Input traits data. |
Implements OdGiMapperItem.
|
pure virtual |
Sets a mapper for diffuse texture channel.
traitsData | [in] Input traits data. |
tm | [in] Object/model transformation matrix. |
Implements OdGiMapperItem.
|
pure virtual |
Sets a mapper for emission texture channel.
pMapper | [in] Entity mapper. |
traitsData | [in] Input traits data. |
|
pure virtual |
Sets a mapper for emission texture channel.
pMapper | [in] Entity mapper. |
traitsData | [in] Input traits data. |
tm | [in] Object/model transformation matrix. |
|
pure virtual |
Sets a mapper for emission texture channel.
traitsData | [in] Input traits data. |
|
pure virtual |
Sets a mapper for emission texture channel.
traitsData | [in] Input traits data. |
tm | [in] Object/model transformation matrix. |
|
pure virtual |
Sets input tranform for all channels.
tm | [in] Input transformation matrix. |
bVertexDependantOnly | [in] Set to channels which require vertex tranform only. |
Implements OdGiMapperItem.
|
pure virtual |
Sets a mapper for all texture channels.
pMapper | [in] Entity mapper. |
traitsData | [in] Input traits data. |
pMaterial | [in] Material ID for input traits data. |
Implements OdGiMapperItem.
|
pure virtual |
Sets a mapper for all texture channels.
traitsData | [in] Input traits data. |
pMaterial | [in] Material ID for input traits data. |
Implements OdGiMapperItem.
|
pure virtual |
Sets model transformation for all texture channels which needs model transformation.
mtm | [in] Model transformation matrix. |
recomputeTransforms | [in] Call recomputeTransformations() for all texture channels after matrix is set. |
Implements OdGiMapperItem.
|
pure virtual |
Sets a mapper for normal map texture channel.
pMapper | [in] Entity mapper. |
traitsData | [in] Input traits data. |
|
pure virtual |
Sets a mapper for normal map texture channel.
pMapper | [in] Entity mapper. |
traitsData | [in] Input traits data. |
tm | [in] Object/model transformation matrix. |
|
pure virtual |
Sets a mapper for normal map texture channel.
traitsData | [in] Input traits data. |
|
pure virtual |
Sets a mapper for normal map texture channel.
traitsData | [in] Input traits data. |
tm | [in] Object/model transformation matrix. |
|
pure virtual |
Sets object transformation for all texture channels which needs object transformation.
exts | [in] Object extents. |
recomputeTransforms | [in] Flag that specifies whether to call recomputeTransformations() for all texture channels after matrix is set. |
Implements OdGiMapperItem.
|
pure virtual |
Sets object transformation for all texture channels which needs object transformation.
otm | [in] Object transformation matrix. |
recomputeTransforms | [in] Flag that specifies whether to call recomputeTransformations() for all texture channels after matrix is set. |
Implements OdGiMapperItem.
|
pure virtual |
Sets object transformation for all texture channels which needs object transformation.
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.
|
pure virtual |
Sets a mapper for opacity texture channel.
pMapper | [in] Entity mapper. |
traitsData | [in] Input traits data. |
|
pure virtual |
Sets a mapper for opacity texture channel.
pMapper | [in] Entity mapper. |
traitsData | [in] Input traits data. |
tm | [in] Object/model transformation matrix. |
|
pure virtual |
Sets a mapper for opacity texture channel.
traitsData | [in] Input traits data. |
|
pure virtual |
Sets a mapper for opacity texture channel.
traitsData | [in] Input traits data. |
tm | [in] Object/model transformation matrix. |
|
pure virtual |
Sets a mapper for reflection texture channel.
pMapper | [in] Entity mapper. |
traitsData | [in] Input traits data. |
|
pure virtual |
Sets a mapper for reflection texture channel.
pMapper | [in] Entity mapper. |
traitsData | [in] Input traits data. |
tm | [in] Object/model transformation matrix. |
|
pure virtual |
Sets a mapper for reflection texture channel.
traitsData | [in] Input traits data. |
|
pure virtual |
Sets a mapper for reflection texture channel.
traitsData | [in] Input traits data. |
tm | [in] Object/model transformation matrix. |
|
pure virtual |
Sets a mapper for reflection texture channel.
pMapper | [in] Entity mapper. |
traitsData | [in] Input traits data. |
|
pure virtual |
Sets a mapper for refraction texture channel.
pMapper | [in] Entity mapper. |
traitsData | [in] Input traits data. |
tm | [in] Object/model transformation matrix. |
|
pure virtual |
Sets a mapper for reflection texture channel.
traitsData | [in] Input traits data. |
|
pure virtual |
Sets a mapper for refraction texture channel.
traitsData | [in] Input traits data. |
tm | [in] Object/model transformation matrix. |
|
pure virtual |
Sets a mapper for specular texture channel.
pMapper | [in] Entity mapper. |
traitsData | [in] Input traits data. |
|
pure virtual |
Sets a mapper for specular texture channel.
pMapper | [in] Entity mapper. |
traitsData | [in] Input traits data. |
tm | [in] Object/model transformation matrix. |
|
pure virtual |
Sets a mapper for specular texture channel.
traitsData | [in] Input traits data. |
|
pure virtual |
Sets a mapper for specular texture channel.
traitsData | [in] Input traits data. |
tm | [in] Object/model transformation matrix. |
|
pure virtual |
Sets vertex transform from object extents.
exts | [in] Extents that defines vertex transform matrix. |
Implements OdGiMapperItem.
|
pure virtual |
Sets vertex transform from points array.
nCount | [in] Number of points. |
pPoints | [in] Pointer to the array of points. |
Implements OdGiMapperItem.
|
pure virtual |
Retrieves a mapper for specular texture channel.
|
pure virtual |
Retrieves a smart pointer to a mapper for specular texture channel.