26 #ifndef __ODGIMAPPERITEM_H__
27 #define __ODGIMAPPERITEM_H__
177 virtual void mapCoords(
const double *trg,
double *uv)
const = 0;
198 virtual void mapCoords(
const double *trg,
const double *normal,
double *uv)
const = 0;
OdSmartPtr< OdGiMapperItemEntry > OdGiMapperItemEntryPtr
OdSmartPtr< OdGiMapperRenderItem > OdGiMapperRenderItemPtr
OdSmartPtr< OdGiMapperItem > OdGiMapperItemPtr
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
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