CFx SDK Documentation  2023 SP0
GiMapperItem.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 // Mapper item.
25 
26 #ifndef __ODGIMAPPERITEM_H__
27 #define __ODGIMAPPERITEM_H__
28 
29 #include "GiExport.h"
30 #include "GiMaterial.h"
31 #include "GiMaterialTraitsData.h"
32 #include "GiGeometry.h"
33 
34 #include "Ge/GePoint2d.h"
35 #include "Ge/GePoint3d.h"
36 #include "Ge/GeMatrix3d.h"
37 #include "Ge/GeExtents3d.h"
38 
39 #include "RxObject.h"
40 
41 #include "TD_PackPush.h"
42 
52 {
53  public:
58  OdGePoint3d inPt[3]; // Mapping xyz
59  };
63  struct MapOutputCoords {
64  OdGePoint2d outCoord[3]; // Mapped uv
65  };
66  public:
68 
74  virtual const OdGiMapper &mapper() const = 0;
80  virtual void setMapper(const OdGiMapper &pMapper, const OdGiMapper &pInheritMapper) = 0;
87  virtual void setMapper(const OdGiMapper &pMapper, const OdGiMapper &pInheritMapper, const OdGeMatrix3d &tm) = 0;
92  virtual void setMapper(const OdGiMapper &pMaterialMapper) = 0;
98  virtual void setMapper(const OdGiMapper &pMaterialMapper, const OdGeMatrix3d &tm) = 0;
99 
103  virtual const OdGeMatrix3d &inputTransform() const = 0;
107  virtual void setInputTransform(const OdGeMatrix3d &tm) = 0;
108 
115  virtual const OdGeMatrix3d &deviceTransform() const = 0;
122  virtual void setDeviceTransform(const OdGeMatrix3d &dtm) = 0;
123 
127  virtual const OdGeMatrix3d &modelTransform() const = 0;
131  virtual void setModelTransform(const OdGeMatrix3d &mtm) = 0;
132 
136  virtual const OdGeMatrix3d &objectTransform() const = 0;
140  virtual void setObjectTransform(const OdGeMatrix3d &otm) = 0;
141 
145  virtual const OdGeMatrix3d &outputTransform() const = 0;
149  virtual void setOutputTransform(const OdGeMatrix3d &tm) = 0;
150 
158  virtual void recomputeTransformations() = 0;
159 
165  virtual void mapCoords(const MapInputTriangle &trg, MapOutputCoords &uv) const = 0;
171  virtual void mapCoords(const OdGePoint3d *trg, OdGePoint2d *uv) const = 0;
177  virtual void mapCoords(const double *trg, double *uv) const = 0;
184  virtual void mapCoords(const MapInputTriangle &trg, const OdGeVector3d &normal, MapOutputCoords &uv) const = 0;
191  virtual void mapCoords(const OdGePoint3d *trg, const OdGeVector3d &normal, OdGePoint2d *uv) const = 0;
198  virtual void mapCoords(const double *trg, const double *normal, double *uv) const = 0;
199 
200  // Shell mapping extensions for 3.4
201 
203  {
204  kShellMapIt = 0, // Shell-style iterator
205  kTriListMapIt, // Triangles list { { 0, 1, 2 }, { 1, 2, 3 } }
206  kPolyIt // Simple list of indices (probably shell/mesh face, polygon or unstructured data)
207  // kTriListMapIt makes subdividing of vertices without indices on triangles. Set kShellMapIt or
208  // kPolyIt if input data doesn't stored as triangles list.
209  };
210 
224  virtual void mapCoords(OdUInt32 nVerts, const OdGePoint3d *pVerts, OdGePoint2d *pUV,
225  OdUInt32 nList = 0, const OdInt32 *pIds = NULL, MappingIteratorType mapIt = kTriListMapIt,
226  const OdGeVector3d *pNormal = NULL, const OdGeVector3d *pFaceNormals = NULL,
227  const OdGeVector3d *pVertNormals = NULL, OdGiOrientationType oType = kOdGiNoOrientation) = 0;
228 
229  // Predefined coordinates extensions
230 
237  virtual void mapPredefinedCoords(const OdGePoint3d *pInUVW, OdGePoint2d *pOutUV, OdUInt32 nPoints) const = 0;
238 
239  //
240 
244  virtual bool isEntityMapper() const = 0;
248  virtual bool isObjectMatrixNeed() const = 0;
252  virtual bool isModelMatrixNeed() const = 0;
256  virtual bool isDependsFromObjectMatrix() const = 0;
260  virtual bool isVertexTransformRequired() const = 0;
261 
265  virtual void setVertexTransform(OdInt32 nCount, const OdGePoint3d *pPoints) = 0;
269  virtual void setVertexTransform(const OdGeExtents3d &exts) = 0;
273  virtual void setObjectTransform(OdInt32 nCount, const OdGePoint3d *pPoints) = 0;
277  virtual void setObjectTransform(const OdGeExtents3d &exts) = 0;
278 };
279 
286 
297 {
298  public:
300 
305  virtual void setDiffuseMapper(const OdGiMaterialTraitsData &traitsData) = 0;
311  virtual void setDiffuseMapper(const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm) = 0;
317  virtual void setDiffuseMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData) = 0;
324  virtual void setDiffuseMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm) = 0;
333 
339  virtual void setMapper(const OdGiMaterialTraitsData &traitsData, const OdDbStub *pMaterial = NULL) = 0;
346  virtual void setMapper(const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm, const OdDbStub *pMaterial = NULL) = 0;
353  virtual void setMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdDbStub *pMaterial = NULL) = 0;
361  virtual void setMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm, const OdDbStub *pMaterial = NULL) = 0;
362 
368  virtual void setModelTransform(const OdGeMatrix3d &mtm, bool recomputeTransforms = true) = 0;
369 
375  virtual void setObjectTransform(const OdGeMatrix3d &otm, bool recomputeTransforms = true) = 0;
382  virtual void setObjectTransform(OdInt32 nCount, const OdGePoint3d *pPoints, bool recomputeTransforms = true) = 0;
388  virtual void setObjectTransform(const OdGeExtents3d &exts, bool recomputeTransforms = true) = 0;
389 
395  virtual void setDeviceTransform(const OdGeMatrix3d &dtm, bool recomputeTransforms = true) = 0;
396 
401  virtual bool isLastProcValid(const OdDbStub *pMaterial) = 0;
407  virtual bool isLastProcValid(const OdDbStub *pMaterial, const OdGeMatrix3d &tm) = 0;
413  virtual bool isLastProcValid(const OdGiMapper *pMapper, const OdDbStub *pMaterial) = 0;
420  virtual bool isLastProcValid(const OdGiMapper *pMapper, const OdDbStub *pMaterial, const OdGeMatrix3d &tm) = 0;
425  virtual bool isLastProcValid(const OdGeMatrix3d &tm) = 0;
426 
430  virtual bool isEntityMapper() const = 0;
434  virtual bool isObjectMatrixNeed() const = 0;
438  virtual bool isModelMatrixNeed() const = 0;
442  virtual bool isDependsFromObjectMatrix() const = 0;
446  virtual bool isVertexTransformRequired() const = 0;
447 
451  virtual void setVertexTransform(OdInt32 nCount, const OdGePoint3d *pPoints) = 0;
455  virtual void setVertexTransform(const OdGeExtents3d &exts) = 0;
456 
462  virtual void setInputTransform(const OdGeMatrix3d &tm, bool bVertexDependantOnly = true) = 0;
463 };
464 
471 
482 {
483  public:
485 
490  virtual void setDiffuseMapper(const OdGiMaterialTraitsData &traitsData) = 0;
496  virtual void setDiffuseMapper(const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm) = 0;
502  virtual void setDiffuseMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData) = 0;
509  virtual void setDiffuseMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm) = 0;
518 
523  virtual void setSpecularMapper(const OdGiMaterialTraitsData &traitsData) = 0;
529  virtual void setSpecularMapper(const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm) = 0;
535  virtual void setSpecularMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData) = 0;
542  virtual void setSpecularMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm) = 0;
551 
556  virtual void setReflectionMapper(const OdGiMaterialTraitsData &traitsData) = 0;
562  virtual void setReflectionMapper(const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm) = 0;
568  virtual void setReflectionMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData) = 0;
575  virtual void setReflectionMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm) = 0;
584 
589  virtual void setOpacityMapper(const OdGiMaterialTraitsData &traitsData) = 0;
595  virtual void setOpacityMapper(const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm) = 0;
601  virtual void setOpacityMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData) = 0;
608  virtual void setOpacityMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm) = 0;
617 
622  virtual void setBumpMapper(const OdGiMaterialTraitsData &traitsData) = 0;
628  virtual void setBumpMapper(const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm) = 0;
634  virtual void setBumpMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData) = 0;
641  virtual void setBumpMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm) = 0;
645  virtual OdGiMapperItemEntryPtr bumpMapper() const = 0;
650 
655  virtual void setRefractionMapper(const OdGiMaterialTraitsData &traitsData) = 0;
661  virtual void setRefractionMapper(const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm) = 0;
667  virtual void setRefractionMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData) = 0;
674  virtual void setRefractionMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm) = 0;
683 
688  virtual void setNormalMapMapper(const OdGiMaterialTraitsData &traitsData) = 0;
694  virtual void setNormalMapMapper(const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm) = 0;
700  virtual void setNormalMapMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData) = 0;
707  virtual void setNormalMapMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm) = 0;
716 
721  virtual void setEmissionMapper(const OdGiMaterialTraitsData &traitsData) = 0;
727  virtual void setEmissionMapper(const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm) = 0;
733  virtual void setEmissionMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData) = 0;
740  virtual void setEmissionMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm) = 0;
749 
755  virtual void setMapper(const OdGiMaterialTraitsData &traitsData, const OdDbStub *pMaterial = NULL) = 0;
762  virtual void setMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdDbStub *pMaterial = NULL) = 0;
763 
769  virtual void setModelTransform(const OdGeMatrix3d &mtm, bool recomputeTransforms = true) = 0;
770 
776  virtual void setObjectTransform(const OdGeMatrix3d &otm, bool recomputeTransforms = true) = 0;
783  virtual void setObjectTransform(OdInt32 nCount, const OdGePoint3d *pPoints, bool recomputeTransforms = true) = 0;
789  virtual void setObjectTransform(const OdGeExtents3d &exts, bool recomputeTransforms = true) = 0;
790 
796  virtual void setDeviceTransform(const OdGeMatrix3d &dtm, bool recomputeTransforms = true) = 0;
797 
802  virtual bool isLastProcValid(const OdDbStub *pMaterial) = 0;
808  virtual bool isLastProcValid(const OdDbStub *pMaterial, const OdGeMatrix3d &tm) = 0;
814  virtual bool isLastProcValid(const OdGiMapper *pMapper, const OdDbStub *pMaterial) = 0;
821  virtual bool isLastProcValid(const OdGiMapper *pMapper, const OdDbStub *pMaterial, const OdGeMatrix3d &tm) = 0;
826  virtual bool isLastProcValid(const OdGeMatrix3d &tm) = 0;
827 
831  virtual bool isEntityMapper() const = 0;
835  virtual bool isObjectMatrixNeed() const = 0;
839  virtual bool isModelMatrixNeed() const = 0;
843  virtual bool isDependsFromObjectMatrix() const = 0;
847  virtual bool isVertexTransformRequired() const = 0;
848 
852  virtual void setVertexTransform(OdInt32 nCount, const OdGePoint3d *pPoints) = 0;
856  virtual void setVertexTransform(const OdGeExtents3d &exts) = 0;
857 
863  virtual void setInputTransform(const OdGeMatrix3d &tm, bool bVertexDependantOnly = true) = 0;
864 };
865 
872 
873 #include "TD_PackPop.h"
874 
875 #endif // __ODGIMAPPERITEM_H__
tm
Definition: DimVarDefs.h:2122
#define ODGI_EXPORT
Definition: GiExport.h:35
OdGiOrientationType
Definition: GiGeometry.h:526
@ kOdGiNoOrientation
Definition: GiGeometry.h:528
OdSmartPtr< OdGiMapperItemEntry > OdGiMapperItemEntryPtr
Definition: GiMapperItem.h:285
OdSmartPtr< OdGiMapperRenderItem > OdGiMapperRenderItemPtr
Definition: GiMapperItem.h:871
OdSmartPtr< OdGiMapperItem > OdGiMapperItemPtr
Definition: GiMapperItem.h:470
#define NULL
Definition: GsProperties.h:177
unsigned int OdUInt32
int OdInt32
Definition: GiMapperItem.h:52
virtual void mapCoords(const MapInputTriangle &trg, const OdGeVector3d &normal, MapOutputCoords &uv) const =0
virtual void mapCoords(OdUInt32 nVerts, const OdGePoint3d *pVerts, OdGePoint2d *pUV, OdUInt32 nList=0, const OdInt32 *pIds=NULL, MappingIteratorType mapIt=kTriListMapIt, const OdGeVector3d *pNormal=NULL, const OdGeVector3d *pFaceNormals=NULL, const OdGeVector3d *pVertNormals=NULL, OdGiOrientationType oType=kOdGiNoOrientation)=0
virtual bool isVertexTransformRequired() const =0
virtual bool isDependsFromObjectMatrix() const =0
virtual void setMapper(const OdGiMapper &pMaterialMapper, const OdGeMatrix3d &tm)=0
virtual bool isObjectMatrixNeed() const =0
virtual void recomputeTransformations()=0
virtual void setVertexTransform(OdInt32 nCount, const OdGePoint3d *pPoints)=0
virtual void setMapper(const OdGiMapper &pMapper, const OdGiMapper &pInheritMapper, const OdGeMatrix3d &tm)=0
virtual void setObjectTransform(const OdGeExtents3d &exts)=0
virtual bool isEntityMapper() const =0
ODRX_DECLARE_MEMBERS(OdGiMapperItemEntry)
virtual void setDeviceTransform(const OdGeMatrix3d &dtm)=0
virtual void setMapper(const OdGiMapper &pMapper, const OdGiMapper &pInheritMapper)=0
virtual bool isModelMatrixNeed() const =0
virtual const OdGeMatrix3d & modelTransform() const =0
virtual void mapCoords(const OdGePoint3d *trg, const OdGeVector3d &normal, OdGePoint2d *uv) const =0
virtual void setModelTransform(const OdGeMatrix3d &mtm)=0
virtual const OdGeMatrix3d & objectTransform() const =0
virtual void mapCoords(const double *trg, double *uv) const =0
virtual void setObjectTransform(OdInt32 nCount, const OdGePoint3d *pPoints)=0
virtual const OdGeMatrix3d & inputTransform() const =0
virtual const OdGiMapper & mapper() const =0
MappingIteratorType
Definition: GiMapperItem.h:203
@ kTriListMapIt
Definition: GiMapperItem.h:205
virtual void mapCoords(const MapInputTriangle &trg, MapOutputCoords &uv) const =0
virtual void setInputTransform(const OdGeMatrix3d &tm)=0
virtual void mapPredefinedCoords(const OdGePoint3d *pInUVW, OdGePoint2d *pOutUV, OdUInt32 nPoints) const =0
virtual void setMapper(const OdGiMapper &pMaterialMapper)=0
virtual const OdGeMatrix3d & outputTransform() const =0
virtual void mapCoords(const OdGePoint3d *trg, OdGePoint2d *uv) const =0
virtual const OdGeMatrix3d & deviceTransform() const =0
virtual void mapCoords(const double *trg, const double *normal, double *uv) const =0
virtual void setOutputTransform(const OdGeMatrix3d &tm)=0
virtual void setVertexTransform(const OdGeExtents3d &exts)=0
virtual void setObjectTransform(const OdGeMatrix3d &otm)=0
virtual void setDiffuseMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
virtual void setMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdDbStub *pMaterial=NULL)=0
virtual void setObjectTransform(const OdGeExtents3d &exts, bool recomputeTransforms=true)=0
virtual void setVertexTransform(OdInt32 nCount, const OdGePoint3d *pPoints)=0
virtual void setMapper(const OdGiMaterialTraitsData &traitsData, const OdDbStub *pMaterial=NULL)=0
virtual void setInputTransform(const OdGeMatrix3d &tm, bool bVertexDependantOnly=true)=0
virtual bool isLastProcValid(const OdGiMapper *pMapper, const OdDbStub *pMaterial, const OdGeMatrix3d &tm)=0
ODRX_DECLARE_MEMBERS(OdGiMapperItem)
virtual bool isDependsFromObjectMatrix() const =0
virtual void setDiffuseMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData)=0
virtual void setModelTransform(const OdGeMatrix3d &mtm, bool recomputeTransforms=true)=0
virtual bool isEntityMapper() const =0
virtual bool isModelMatrixNeed() const =0
virtual bool isVertexTransformRequired() const =0
virtual bool isLastProcValid(const OdGiMapper *pMapper, const OdDbStub *pMaterial)=0
virtual void setMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm, const OdDbStub *pMaterial=NULL)=0
virtual void setMapper(const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm, const OdDbStub *pMaterial=NULL)=0
virtual void setVertexTransform(const OdGeExtents3d &exts)=0
virtual void setObjectTransform(const OdGeMatrix3d &otm, bool recomputeTransforms=true)=0
virtual void setObjectTransform(OdInt32 nCount, const OdGePoint3d *pPoints, bool recomputeTransforms=true)=0
virtual bool isLastProcValid(const OdGeMatrix3d &tm)=0
virtual void setDiffuseMapper(const OdGiMaterialTraitsData &traitsData)=0
virtual void setDiffuseMapper(const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
virtual void setDeviceTransform(const OdGeMatrix3d &dtm, bool recomputeTransforms=true)=0
virtual OdGiMapperItemEntryPtr diffuseMapper()=0
virtual bool isLastProcValid(const OdDbStub *pMaterial)=0
virtual bool isLastProcValid(const OdDbStub *pMaterial, const OdGeMatrix3d &tm)=0
virtual OdGiMapperItemEntryPtr diffuseMapper() const =0
virtual bool isObjectMatrixNeed() const =0
virtual void setRefractionMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData)=0
virtual void setReflectionMapper(const OdGiMaterialTraitsData &traitsData)=0
virtual void setBumpMapper(const OdGiMaterialTraitsData &traitsData)=0
virtual void setReflectionMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
virtual OdGiMapperItemEntryPtr normalMapMapper()=0
virtual void setDeviceTransform(const OdGeMatrix3d &dtm, bool recomputeTransforms=true)=0
virtual OdGiMapperItemEntryPtr opacityMapper()=0
virtual OdGiMapperItemEntryPtr specularMapper() const =0
virtual void setNormalMapMapper(const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
virtual void setOpacityMapper(const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
virtual void setObjectTransform(const OdGeExtents3d &exts, bool recomputeTransforms=true)=0
virtual void setSpecularMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData)=0
virtual bool isLastProcValid(const OdGiMapper *pMapper, const OdDbStub *pMaterial)=0
virtual OdGiMapperItemEntryPtr refractionMapper() const =0
virtual void setOpacityMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData)=0
ODRX_DECLARE_MEMBERS(OdGiMapperRenderItem)
virtual OdGiMapperItemEntryPtr diffuseMapper() const =0
virtual void setObjectTransform(const OdGeMatrix3d &otm, bool recomputeTransforms=true)=0
virtual void setBumpMapper(const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
virtual void setDiffuseMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
virtual void setRefractionMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
virtual void setOpacityMapper(const OdGiMaterialTraitsData &traitsData)=0
virtual OdGiMapperItemEntryPtr normalMapMapper() const =0
virtual OdGiMapperItemEntryPtr bumpMapper()=0
virtual OdGiMapperItemEntryPtr opacityMapper() const =0
virtual bool isLastProcValid(const OdGeMatrix3d &tm)=0
virtual void setMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdDbStub *pMaterial=NULL)=0
virtual bool isObjectMatrixNeed() const =0
virtual void setRefractionMapper(const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
virtual void setSpecularMapper(const OdGiMaterialTraitsData &traitsData)=0
virtual void setEmissionMapper(const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
virtual OdGiMapperItemEntryPtr diffuseMapper()=0
virtual bool isVertexTransformRequired() const =0
virtual void setSpecularMapper(const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
virtual void setObjectTransform(OdInt32 nCount, const OdGePoint3d *pPoints, bool recomputeTransforms=true)=0
virtual void setVertexTransform(OdInt32 nCount, const OdGePoint3d *pPoints)=0
virtual void setRefractionMapper(const OdGiMaterialTraitsData &traitsData)=0
virtual void setNormalMapMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
virtual void setEmissionMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
virtual void setReflectionMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData)=0
virtual OdGiMapperItemEntryPtr specularMapper()=0
virtual void setEmissionMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData)=0
virtual void setBumpMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData)=0
virtual void setReflectionMapper(const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
virtual void setDiffuseMapper(const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
virtual bool isEntityMapper() const =0
virtual void setDiffuseMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData)=0
virtual void setSpecularMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
virtual void setBumpMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
virtual OdGiMapperItemEntryPtr emissionMapper()=0
virtual void setVertexTransform(const OdGeExtents3d &exts)=0
virtual void setMapper(const OdGiMaterialTraitsData &traitsData, const OdDbStub *pMaterial=NULL)=0
virtual void setInputTransform(const OdGeMatrix3d &tm, bool bVertexDependantOnly=true)=0
virtual void setNormalMapMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData)=0
virtual void setModelTransform(const OdGeMatrix3d &mtm, bool recomputeTransforms=true)=0
virtual OdGiMapperItemEntryPtr refractionMapper()=0
virtual bool isModelMatrixNeed() const =0
virtual void setOpacityMapper(const OdGiMapper *pMapper, const OdGiMaterialTraitsData &traitsData, const OdGeMatrix3d &tm)=0
virtual void setEmissionMapper(const OdGiMaterialTraitsData &traitsData)=0
virtual OdGiMapperItemEntryPtr reflectionMapper()=0
virtual OdGiMapperItemEntryPtr emissionMapper() const =0
virtual bool isLastProcValid(const OdDbStub *pMaterial, const OdGeMatrix3d &tm)=0
virtual OdGiMapperItemEntryPtr bumpMapper() const =0
virtual OdGiMapperItemEntryPtr reflectionMapper() const =0
virtual void setNormalMapMapper(const OdGiMaterialTraitsData &traitsData)=0
virtual void setDiffuseMapper(const OdGiMaterialTraitsData &traitsData)=0
virtual bool isLastProcValid(const OdGiMapper *pMapper, const OdDbStub *pMaterial, const OdGeMatrix3d &tm)=0
virtual bool isDependsFromObjectMatrix() const =0
virtual bool isLastProcValid(const OdDbStub *pMaterial)=0
Definition: GiMapperItem.h:57
Definition: GiMapperItem.h:63