CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
OdGsBaseMaterialVectorizer Class Reference

#include <GsBaseMaterialView.h>

Inheritance diagram for OdGsBaseMaterialVectorizer:
OdGsBaseVectorizer OdGsMaterialTextureDataFiler OdGiBaseVectorizerImpl OdGiViewport OdGiBaseVectorizer OdRxObject OdGiWorldDrawImpl OdGiViewportDraw_ OdGiConveyorContext OdGiDeviation OdGiSubEntityTraitsChangedFlags OdGiDummyCommonDraw< OdGiWorldDraw_ > OdGiSubEntityTraits OdGiViewportDraw OdGiViewportGeometry OdGiWorldDraw_ OdGiDrawableTraits OdGiCommonDraw OdGiGeometry OdGiWorldDraw OdGiWorldGeometry OdRxObject OdRxObject OdRxObject OdGiCommonDraw OdGiGeometry OdRxObject OdRxObject OdGsBaseMaterialViewPC OdGsBaseVectorizeViewJoin< OdGsBaseMaterialViewPC > OdGsBaseMaterialView

Classes

struct  DelayCacheEntry
 

Public Types

enum  MaterialViewFlags {
  kProcessMappers = 1 , kProcessMaterials = (1 << 1) , kProcessMappersAndMaterials = 3 , kMappersForRender = (1 << 2) ,
  kMaterialsForRender = (1 << 3) , kMappersAndMaterialsForRender = 12 , kProcessForRender = 15 , kEnableDelayCache = (1 << 4)
}
 
enum  DelayCacheEntryType { kInternal = 0 , kUser }
 
- Public Types inherited from OdGsBaseVectorizer
enum  MetafileTransformFlags { kSharedRefTransform = (1 << 0) , kSharedRefUpdate = (1 << 1) , kSharedRefSelect = (1 << 2) }
 
- Public Types inherited from OdGiBaseVectorizerImpl
enum  VectorizingFlags {
  kNotVectorizing = 0 , kVectorizing = 1 << 0 , kDisplaying = 1 << 1 , kSelecting = 1 << 2 ,
  kExtentsComp = 1 << 3
}
 
- Public Types inherited from OdGiSubEntityTraits
enum  DrawFlags {
  kNoDrawFlags = 0x0000 , kDrawBackfaces = 0x0001 , kDrawHatchGroup = 0x0002 , kDrawFrontfacesOnly = 0x0004 ,
  kDrawGradientFill = 0x0008 , kDrawSolidFill = 0x0010 , kDrawNoLineWeight = 0x0020 , kDrawNoPlotstyle = 0x0080 ,
  kDrawContourFill = 0x08000 , kDisableLayoutCache = 0x10000 , kDrawBoundaryForClipping = 0x20000 , kDrawBoundaryForClippingDrw = 0x40000 ,
  kClipSetIsEmpty = 0x80000 , kDrawPolygonFill = 0x100000 , kExcludeFromViewExt = 0x200000 , kDrawDgLsPolyWithoutBreaks = 0x400000 ,
  kPolygonProcessing = 0x800000 , kDisableAutoGenerateNormals = 0x1000000 , kDisableFillModeCheck = 0x2000000 , kDrawUnderlayReference = 0x4000000 ,
  kLineStyleScaleOverride = 0x8000000 , kDisableDisplayClipping = 0x10000000 , kRegenTypeDependent2dDraw = 0x20000000 , kInternalDrawFlags = kDisableLayoutCache | kClipSetIsEmpty | kRegenTypeDependent2dDraw ,
  kDrawGeometryForExtents = 0x04000 , kFxNoFillOnSelect = 0x40000000 , kInheritableDrawFlags
}
 
enum  LockFlags {
  kNoLockFlags = 0x00000000 , kLockColors = 0x00000001 , kLockLineWeight = 0x00000002 , kLockLineType = 0x00000004 ,
  kLockLineTypeScale = 0x00000008 , kLockLayer = 0x00000010 , kLockByBlockLayer = 0x00000020 , kKeepAuxDataAndLockFlags = 0x00000040 ,
  kInheritableLockFlags = kLockColors | kLockLineWeight | kLockLineType | kLockLineTypeScale | kLockLayer | kKeepAuxDataAndLockFlags
}
 
enum  ShadowFlags { kShadowsCastAndReceive = 0 , kShadowsDoesNotCast = 1 , kShadowsDoesNotReceive = 2 , kShadowsIgnore = kShadowsDoesNotCast | kShadowsDoesNotReceive }
 
enum  SelectionFlags {
  kNoSelectionFlags = 0 , kSelectionIgnore = 1 , kHighlightingGeometry = 2 , kHiddenInHighlight = 4 ,
  kFxSubentitySelection = 0x80
}
 
enum  SubEntityHints {
  kHint2DAttributes = 1 , kHint3DAttributes = 2 , kHintAllAttributes = kHint2DAttributes | kHint3DAttributes , kHintSnapModeOn = 4 ,
  kHintDefaultState = kHintAllAttributes
}
 
- Public Types inherited from OdGiConveyorContext
enum  ConveyorContextFlags {
  kSpatialFilterSimplPline = 1 , kSpatialFilterSimplNurbs = 2 , kSpatialFilterSimplText = 4 , kSpatialFilterSimplShape = 8 ,
  kSpatialFilterSimplAll , kEmbranchmentSimplText = 16 , kEmbranchmentSimplNurbs = 32 , kEmbranchmentSimplAll = (kEmbranchmentSimplText | kEmbranchmentSimplNurbs) ,
  kConveyorSimplAll = (kSpatialFilterSimplAll | kEmbranchmentSimplAll) , kPlineMarkers = 64 , kForceMarkersOnModified = 128 , kPolylineMarkers = 256 ,
  kPlineAllowArcProc = 512 , kTestMode = 1024 , kLineTyperAfterMetafile = 2048
}
 
- Public Types inherited from OdGiSubEntityTraitsChangedFlags
enum  ChangedTraits {
  kFirstChangedFlag = 1 , kColorChanged = kFirstChangedFlag << 0 , kLayerChanged = kFirstChangedFlag << 1 , kLineTypeChanged = kFirstChangedFlag << 2 ,
  kFillTypeChanged = kFirstChangedFlag << 3 , kLineWeightChanged = kFirstChangedFlag << 4 , kLineTypeScaleChanged = kFirstChangedFlag << 5 , kThicknessChanged = kFirstChangedFlag << 6 ,
  kPlotStyleChanged = kFirstChangedFlag << 7 , kMaterialChanged = kFirstChangedFlag << 8 , kMapperChanged = kFirstChangedFlag << 9 , kVisualStyleChanged = kFirstChangedFlag << 10 ,
  kTransparencyChanged = kFirstChangedFlag << 11 , kDrawFlagsChanged = kFirstChangedFlag << 12 , kSelectionGeomChanged = kFirstChangedFlag << 13 , kShadowFlagsChanged = kFirstChangedFlag << 14 ,
  kSectionableChanged = kFirstChangedFlag << 15 , kSelectionFlagsChanged = kFirstChangedFlag << 16 , kSecColorChanged = kFirstChangedFlag << 17 , kLSModifiersChanged = kFirstChangedFlag << 18 ,
  kFillChanged = kFirstChangedFlag << 19 , kAwareFlagChanged = kFirstChangedFlag << 20 , kLockFlagsChanged = kFirstChangedFlag << 21 , kAuxDataChanged = kFirstChangedFlag << 22 ,
  kAllChanged = 0x7FFFFF , kSomeChanged = kAllChanged
}
 

Public Member Functions

 OdGsBaseMaterialVectorizer (OdUInt32 uMaterialViewFlags=kProcessMappersAndMaterials)
 
 ~OdGsBaseMaterialVectorizer ()
 
virtual void onTraitsModified ()
 
virtual void beginMetafile (OdRxObject *pMetafile)
 
virtual void endMetafile (OdRxObject *pMetafile)
 
virtual void beginViewVectorization ()
 
virtual void endViewVectorization ()
 
virtual void processMaterialNode (OdDbStub *materialId, OdGsMaterialNode *node)
 
virtual bool saveMaterialCache (const OdGsMaterialNode *pNode, OdGsFiler *pFiler)
 
virtual bool loadMaterialCache (OdGsMaterialNode *pNode, OdGsFiler *pFiler)
 
virtual bool doDraw (OdUInt32 drawableFlags, const OdGiDrawable *pDrawable)
 
void beginLightsAccumulation (bool bAccumNonCached=true, bool bAccumCached=false, bool bClear=false)
 
void playAccumulatedLights (OdGsLightsAccumulationContainter *pAccumLights=NULL, bool bClear=true)
 
const OdGsLightsAccumulationContaintergetAccumulatedLights () const
 
OdGsLightsAccumulationContaintergetAccumulatedLights ()
 
bool isLightsAccumulation () const
 
virtual void addPointLight (const OdGiPointLightTraitsData &)
 
virtual void addSpotLight (const OdGiSpotLightTraitsData &)
 
virtual void addDistantLight (const OdGiDistantLightTraitsData &)
 
virtual void addWebLight (const OdGiWebLightTraitsData &)
 
OdGiMaterialItemPtr currentMaterial () const
 
void resetCurrentMaterial (OdGiMaterialItemPtr pMaterial)
 
bool isMaterialEnabled () const
 
bool isMaterialAvailable () const
 
void resetCurrentMaterial ()
 
OdGiMapperItemPtr currentMapper (bool bForCoords=true) const
 
void resetCurrentMapper (OdGiMapperItemPtr pMapper)
 
bool isMapperEnabled () const
 
bool isMapperAvailable () const
 
bool isMappingDelayed () const
 
virtual bool getDeviceMapperMatrix (OdGeMatrix3d &dm) const
 
virtual bool skipMaterialProcess (OdDbStub *materialId) const
 
virtual void nullMaterialStub ()
 
virtual OdGiMaterialItemPtr fillMaterialCache (OdGiMaterialItemPtr prevCache, OdDbStub *materialId, const OdGiMaterialTraitsData &materialData)
 
virtual void renderMaterialCache (OdGiMaterialItemPtr pCache, OdDbStub *materialId)
 
virtual void playDelayCacheEntry (const DelayCacheEntry *pEntry)
 
void appendDelayCacheEntry (DelayCacheEntry *pEntry)
 
virtual void mapperChangedForDelayCache ()
 
virtual void delayCacheProcessed (const OdGiDrawable *pDrawable)
 
bool saveMaterialItem (const OdGiMaterialItem *pMatItem, OdGsFiler *pFiler)
 
OdGiMaterialItemPtr loadMaterialItem (OdGsFiler *pFiler)
 
virtual bool saveClientMaterialCache (const OdRxObject *pMtl, OdGsFiler *pFiler)
 
virtual OdRxObjectPtr loadClientMaterialCache (OdGsFiler *pFiler, OdGiMaterialItem *pMatItem)
 
- Public Member Functions inherited from OdGsBaseVectorizer
 OdGsBaseVectorizer ()
 
OdGsWritergsWriter ()
 
const OdGsWritergsWriter () const
 
OdGsExtAccumgsExtentsAccum ()
 
virtual OdRxObjectPtr newGsMetafile ()
 
virtual void beginMetafile (OdRxObject *pMetafile)
 
virtual void endMetafile (OdRxObject *pMetafile)
 
virtual void playMetafile (const OdRxObject *pMetafile)
 
virtual bool saveMetafile (const OdRxObject *pMetafile, OdGsFiler *pFiler)
 
virtual OdRxObjectPtr loadMetafile (OdGsFiler *pFiler)
 
bool isMetafileEmpty () const
 
OdUInt64 lastMetafileSize () const
 
virtual void loadViewport ()
 
virtual bool forceMetafilesDependence () const
 
virtual bool isViewRegenerated () const
 
virtual void drawViewportFrame ()
 
virtual void updateViewport ()
 
virtual void processMaterialNode (OdDbStub *materialId, OdGsMaterialNode *pNode)
 
virtual bool saveMaterialCache (const OdGsMaterialNode *pNode, OdGsFiler *pFiler)
 
virtual bool loadMaterialCache (OdGsMaterialNode *pNode, OdGsFiler *pFiler)
 
virtual void addPointLight (const OdGiPointLightTraitsData &)
 
virtual void addSpotLight (const OdGiSpotLightTraitsData &)
 
virtual void addDistantLight (const OdGiDistantLightTraitsData &)
 
virtual void addWebLight (const OdGiWebLightTraitsData &)
 
 ~OdGsBaseVectorizer ()
 
void pushModelTransform (const OdGeMatrix3d &xfm)
 
void pushModelTransform (const OdGeVector3d &normal)
 
void popModelTransform ()
 
void pushClipBoundary (OdGiClipBoundary *pBoundary)
 
void pushClipBoundary (OdGiClipBoundary *pBoundary, OdGiAbstractClipBoundary *pClipInfo)
 
void popClipBoundary ()
 
virtual void setEntityTraitsDataChanged ()
 
virtual void setEntityTraitsDataChanged (int bit, bool value=true)
 
virtual OdGeMatrix3d objectToDeviceMatrix () const
 
virtual bool pushPaletteOverride (const OdGiPalette *pOverride)
 
virtual void popPaletteOverride ()
 
virtual bool hasPaletteOverrides () const
 
bool disableInfiniteGeomExtents () const
 
bool sectionableGeomExtentsOnly () const
 
void setSectionableGeomExtentsOnly (bool bOn)
 
void playMetafileMode (const OdRxObject *pMetafile, EMetafilePlayMode eMode, OdGsEntityNode &node, OdGsBaseContext *ctx)
 
virtual bool playNestedMetafile (const OdGsGeomPortion *pPortion, OdGsBaseContext *pContext, OdGsEntityNode &node)
 
EMetafilePlayMode metafilePlayMode () const
 
virtual void pushMetafileTransform (const OdGeMatrix3d &, OdUInt32=0)
 
virtual void popMetafileTransform (OdUInt32=0)
 
virtual const OdGeMatrix3dmetafileTransform () const
 
virtual bool useSharedBlockReferences () const
 
virtual bool useMetafileAsGeometry () const
 
virtual OdGiConveyorOutputoutputForMetafileGeometry ()
 
virtual void setTransformForMetafileGeometry (const OdGeMatrix3d &)
 
virtual OdGeMatrix3d getTransformForMetafileGeometry () const
 
virtual void reportUpdateError (OdDbStub *, const OdError &error)
 
OdGsLayerNodegsLayerNode (OdDbStub *layerId, OdGsBaseModel *pModel)
 
bool isFaded () const
 
OdUInt32 fadingIntensity () const
 
bool isHighlighted () const
 
bool isSelecting () const
 
bool isHidden () const
 
void setHidden (bool bHidden)
 
bool isDragging () const
 
virtual OdGiConveyorOutputgsExtentsOutput ()
 
virtual void setAnalyticLinetypingCircles (bool analytic)
 
virtual bool isAnalyticLinetypingCircles () const
 
virtual void setAnalyticLinetypingComplexCurves (bool analytic)
 
virtual bool isAnalyticLinetypingComplexCurves () const
 
void checkSelection ()
 
bool handleSelectionByExtents (const OdGeExtents3d &extWc)
 
virtual bool displayViewportProperties (OdGsPropertiesDirectRenderOutput *pdro=NULL, OdUInt32 incFlags=OdGsProperties::kAll)
 
OdGiConveyorOutputsecondaryOutput ()
 
virtual void setUp (OdGsViewImpl &view)
 
virtual void beginViewVectorization ()
 
virtual void endViewVectorization ()
 
virtual void onTraitsModified ()
 
virtual double deviation (const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve) const
 
virtual bool regenAbort () const
 
virtual bool doDraw (OdUInt32 drawableFlags, const OdGiDrawable *pDrawable)
 
virtual void setSelectionMarker (OdGsMarker selectionMarker)
 
virtual OdGiConveyorOutputoutput ()
 
virtual void setVisualStyle (const OdGiVisualStyle &visualStyle)
 
const OdGsMarkerSethighlightedSubentities () const
 
OdGsStateBranchfindHighlightedSubnodeBranch ()
 
OdUInt32 threadIndex () const
 
void highlight (bool bHighlight, OdUInt32 nSelStyle=0)
 
const OdGsStateBranchcurrentHighlightBranch () const
 
const OdGsStateBranchcurrentVisibilityBranch () const
 
OdGsStateBranchfindHiddenSubnodeBranch ()
 
OdGsLayerNodeactiveLayerNode (bool bSync=false) const
 
OdGsModel::RenderType activeRenderType () const
 
OdGsOverlayId activeOverlay () const
 
virtual bool isSpatialIndexDisabled () const
 
virtual void beginMetafileRecording (OdGsGeomPortion *pGeomPortion)
 
virtual void endMetafileRecording ()
 
virtual OdUInt32 setAttributes (const OdGiDrawable *pDrawable)
 
void updateExtentsInThreadInit (OdGsMtContext &mtContext)
 
OdUInt32 currentSelectionStyle () const
 
bool hasSelectionStyle () const
 
int highlightingPass () const
 
void setRenderAbort (bool bSet)
 
virtual bool renderAbort ()
 
- Public Member Functions inherited from OdGiBaseVectorizerImpl
 OdGiBaseVectorizerImpl ()
 
virtual void setUp (OdGsViewImpl &view)
 
OdGsViewImplview () const
 
OdUInt32 awareFlags () const
 
OdUInt32awareFlags ()
 
void resetAwareFlags ()
 
const OdPsPlotStyleDataeffectivePlotStyle () const
 
OdGsView::RenderMode getRenderMode () const
 
void clearLinetypeCache ()
 
void setLinetypesEnabled (bool bEnable)
 
bool isLinetypesEnabled () const
 
void setSkipViewSectioning (bool bEnable)
 
bool isViewSectioningSkipped () const
 
void setModelSection (OdGiDrawable *pSection, bool bUseSectionGeometryMap)
 
const OdGiDrawableliveSection () const
 
OdGeMatrix3d modelToWorldTransform () const
 
OdGeMatrix3d worldToModelTransform () const
 
virtual OdGeMatrix3d objectToDeviceMatrix () const
 
int lineweightToPixels (OdDb::LineWeight lineweight) const
 
double lineweightToPixels (double lineweight) const
 
bool hasLineweightOverride () const
 
bool hasLinestyleOverride () const
 
bool isMultiplyLineStyleScale () const
 
const OdGiLineweightOverridecurrentLineweightOverride () const
 
ODCOLORREF paletteColor (OdUInt16 colorIndex) const
 
ODCOLORREF paletteColor (OdInt16 colorIndex) const
 
const ODCOLORREFgetPalette (int *pNumColors=NULL) const
 
bool hasPaletteOverride () const
 
virtual OdGeMatrix3d getModelToEyeTransform () const
 
virtual OdGeMatrix3d getEyeToModelTransform () const
 
virtual OdGeMatrix3d getWorldToEyeTransform () const
 
virtual OdGeMatrix3d getEyeToWorldTransform () const
 
virtual OdGeMatrix3d getWorldToModelTransform () const
 
virtual OdGeMatrix3d getModelToWorldTransform () const
 
virtual bool isPerspective () const
 
virtual bool doPerspective (OdGePoint3d &point) const
 
virtual bool doInversePerspective (OdGePoint3d &point) const
 
virtual void getNumPixelsInUnitSquare (const OdGePoint3d &point, OdGePoint2d &pixelDensity, bool includePerspective=true) const
 
virtual OdGePoint3d getCameraLocation () const
 
virtual OdGePoint3d getCameraTarget () const
 
virtual OdGeVector3d getCameraUpVector () const
 
virtual OdGeVector3d viewDir () const
 
virtual OdUInt32 viewportId () const
 
virtual OdInt16 acadWindowId () const
 
virtual void getViewportDcCorners (OdGePoint2d &lowerLeft, OdGePoint2d &upperRight) const
 
virtual bool getFrontAndBackClipValues (bool &clipFront, bool &clipBack, double &front, double &back) const
 
virtual double linetypeScaleMultiplier () const
 
virtual double linetypeGenerationCriteria () const
 
virtual bool layerVisible (OdDbStub *layerId) const
 
const OdGiContextualColorscontextualColors () const
 
virtual OdDbStub * annotationScaleId () const
 
virtual void pushModelTransform (const OdGeVector3d &normal)
 
virtual void pushModelTransform (const OdGeMatrix3d &xfm)
 
virtual void popModelTransform ()
 
virtual void xline (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint)
 
virtual void ray (const OdGePoint3d &basePoint, const OdGePoint3d &throughPoint)
 
virtual void shell (OdInt32 numVertices, const OdGePoint3d *vertexList, OdInt32 faceListSize, const OdInt32 *faceList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)
 
virtual void mesh (OdInt32 numRows, OdInt32 numColumns, const OdGePoint3d *vertexList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)
 
virtual void setExtents (const OdGePoint3d *newExtents)
 
virtual double deviation (const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve) const
 
virtual OdGiRegenType regenType () const
 
virtual OdUInt32 sequenceNumber () const
 
virtual bool isValidId (const OdUInt32 viewportId) const
 
virtual OdDbStub * viewportObjectId () const
 
virtual OdGiViewportviewport () const
 
virtual void setFillPlane (const OdGeVector3d *pNormal=0)
 
virtual void setFillType (OdGiFillType fillType)
 
virtual OdDbStub * visualStyle () const
 
virtual OdUInt32 setupForEntity () const
 
virtual bool pushLineweightOverride (const OdGiLineweightOverride *pOverride)
 
virtual void popLineweightOverride ()
 
virtual bool pushPaletteOverride (const OdGiPalette *pOverride)
 
virtual void popPaletteOverride ()
 
virtual bool hasPaletteOverrides () const
 
virtual const OdGiViewportgiViewport () const
 
virtual const OdGsViewgsView () const
 
virtual double annotationScale () const
 
virtual void beginViewVectorization ()
 
virtual void endViewVectorization ()
 
virtual void onTraitsModified ()
 
virtual const OdGiSubEntityTraitsDataeffectiveTraits () const
 
int vectorizingFlags () const
 
void setVectorizingFlags (int flags)
 
- Public Member Functions inherited from OdGiViewport
 ODRX_DECLARE_MEMBERS (OdGiViewport)
 
virtual OdGeMatrix3d getModelToEyeTransform () const =0
 
virtual OdGeMatrix3d getEyeToModelTransform () const =0
 
virtual OdGeMatrix3d getWorldToEyeTransform () const =0
 
virtual OdGeMatrix3d getEyeToWorldTransform () const =0
 
virtual bool isPerspective () const =0
 
virtual bool doPerspective (OdGePoint3d &point) const =0
 
virtual bool doInversePerspective (OdGePoint3d &point) const =0
 
virtual void getNumPixelsInUnitSquare (const OdGePoint3d &point, OdGePoint2d &pixelDensity, bool bUsePerspective=true) const =0
 
virtual OdGePoint3d getCameraLocation () const =0
 
virtual OdGePoint3d getCameraTarget () const =0
 
virtual OdGeVector3d getCameraUpVector () const =0
 
virtual OdGeVector3d viewDir () const =0
 
virtual OdUInt32 viewportId () const =0
 
virtual OdInt16 acadWindowId () const =0
 
virtual void getViewportDcCorners (OdGePoint2d &lowerLeft, OdGePoint2d &upperRight) const =0
 
virtual bool getFrontAndBackClipValues (bool &clipFront, bool &clipBack, double &front, double &back) const =0
 
virtual double linetypeScaleMultiplier () const =0
 
virtual double linetypeGenerationCriteria () const =0
 
virtual bool layerVisible (OdDbStub *layerId) const =0
 
virtual const OdGiContextualColorscontextualColors () const
 
virtual OdDbStub * annotationScaleId () 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
 
- Public Member Functions inherited from OdGiBaseVectorizer
bool isEntityTraitsDataChanged (int bit=kSomeChanged) const
 
virtual void setEntityTraitsDataChanged ()
 
virtual void setEntityTraitsDataChanged (int bit, bool value=true)
 
void clearEntityTraitsDataChanged () const
 
bool effectivelyVisible () const
 
OdGiContextgiContext () const
 
const OdGiDrawableDesccurrentDrawableDesc () const
 
const OdGiDrawablecurrentDrawable () const
 
const OdGiViewportgiViewport () const
 
const OdGsViewgsView () const
 
const OdGiDrawableDescdrawableDesc () const
 
virtual const OdGiSubEntityTraitsDataeffectiveTraits () const
 
virtual void setEffectiveTraits (const OdGiSubEntityTraitsData &traits, const OdGeVector3d *fillNormal=NULL)
 
 OdGiBaseVectorizer ()
 
virtual ~OdGiBaseVectorizer ()
 
OdRxClassisA () const
 
OdRxObjectqueryX (const OdRxClass *pProtocolClass) const
 
virtual OdGiConveyorOutputoutput ()
 
void setEyeToOutputTransform (const OdGeMatrix3d &xfm)
 
const OdGeMatrix3deyeToOutputTransform () const
 
void eyeToOutputTransform (OdGeMatrix3d &xfm) const
 
OdGiConveyorContextdrawContext ()
 
const OdGiConveyorContextdrawContext () const
 
virtual void beginViewVectorization ()
 
virtual void endViewVectorization ()
 
void setTrueColor (const OdCmEntityColor &trueColor)
 
void setPlotStyleNameType (OdDb::PlotStyleNameType plotStyleNameType)
 
void setPlotStyleNameId (OdDbStub *plotStyleNameId)
 
void setColor (OdUInt16 color)
 
void setLayer (OdDbStub *layerId)
 
void setLineType (OdDbStub *lineTypeId)
 
void setFillType (OdGiFillType fillType)
 
void setLineWeight (OdDb::LineWeight lineWeight)
 
void setLineTypeScale (double lineTypeScale)
 
void setThickness (double thickness)
 
void setPlotStyleName (OdDb::PlotStyleNameType plotStyleNameType, OdDbStub *pPlotStyleNameId=0)
 
void setSelectionMarker (OdGsMarker selectionMarker)
 
void setMaterial (OdDbStub *pMaterialId)
 
void setMapper (const OdGiMapper *pMapper)
 
void setVisualStyle (const OdDbStub *pVisualStyleId)
 
void setTransparency (const OdCmTransparency &transparency)
 
void setDrawFlags (OdUInt32 drawFlags)
 
void setLockFlags (OdUInt32 lockFlags)
 
void setSelectionGeom (bool bSelectionFlag)
 
void setShadowFlags (ShadowFlags shadowFlags)
 
void setSectionable (bool bSectionableFlag)
 
void setSelectionFlags (SelectionFlags selectionFlags)
 
void setSecondaryTrueColor (const OdCmEntityColor &color)
 
void setLineStyleModifiers (const OdGiDgLinetypeModifiers *pLSMod)
 
void setFill (const OdGiFill *pFill)
 
void setAuxData (const OdGiAuxiliaryDataPtr &pAuxData)
 
OdGiContextcontext () const
 
bool regenAbort () const
 
OdGiSubEntityTraitssubEntityTraits () const
 
double deviation (const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve) const
 
OdGiRegenType regenType () const
 
OdUInt32 numberOfIsolines () const
 
OdGiGeometryrawGeometry () const
 
bool isDragging () const
 
OdUInt32 drawContextFlags () const
 
void setDrawContextFlags (OdUInt32 flags, bool bFlag)
 
OdUInt32 sequenceNumber () const
 
bool isValidId (const OdUInt32 viewportId) const
 
OdDbStub * viewportObjectId () const
 
OdGiViewportviewport () const
 
void circle (const OdGePoint3d &center, double radius, const OdGeVector3d &normal)
 
void circle (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint)
 
void circularArc (const OdGePoint3d &center, double radius, const OdGeVector3d &normal, const OdGeVector3d &startVector, double sweepAngle, OdGiArcType arcType=kOdGiArcSimple)
 
void circularArc (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint, OdGiArcType arcType=kOdGiArcSimple)
 
void polyline (OdInt32 numVertices, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal=0, OdGsMarker baseSubEntMarker=-1)
 
void polygon (OdInt32 numVertices, const OdGePoint3d *vertexList)
 
void polygon (OdInt32 numVertices, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal)
 
void pline (const OdGiPolyline &polyline, OdUInt32 fromIndex=0, OdUInt32 numSegs=0)
 
void shape (const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, int shapeNumber, const OdGiTextStyle *pTextStyle)
 
void text (const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, double height, double width, double oblique, const OdString &msg)
 
void text (const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, const OdChar *msg, OdInt32 length, bool raw, const OdGiTextStyle *pTextStyle)
 
void xline (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint)
 
void ray (const OdGePoint3d &basePoint, const OdGePoint3d &throughPoint)
 
void nurbs (const OdGeNurbCurve3d &nurbsCurve)
 
void ellipArc (const OdGeEllipArc3d &ellipArc, const OdGePoint3d *endPointsOverrides=0, OdGiArcType arcType=kOdGiArcSimple)
 
void mesh (OdInt32 numRows, OdInt32 numColumns, const OdGePoint3d *vertexList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)
 
void shell (OdInt32 numVertices, const OdGePoint3d *vertexList, OdInt32 faceListSize, const OdInt32 *faceList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)
 
void worldLine (const OdGePoint3d points[2])
 
void image (const OdGiImageBGRA32 &img, const OdGePoint3d &origin, const OdGeVector3d &uVec, const OdGeVector3d &vVec, OdGiRasterImage::TransparencyMode trpMode=OdGiRasterImage::kTransparency8Bit)
 
void edge (const OdGiEdge2dArray &edges)
 
void polypoint (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdCmEntityColor *pColors, const OdCmTransparency *pTransparency, const OdGeVector3d *pNormals, const OdGsMarker *pSubEntMarkers, OdInt32 nPointSize)
 
virtual void polyPolygon (OdUInt32 numIndices, const OdUInt32 *pNumPositions, const OdGePoint3d *pPositions, const OdUInt32 *pNumPoints, const OdGePoint3d *pPoints, const OdCmEntityColor *pOutlineColors=NULL, const OdUInt32 *pOutlinePsLinetypes=NULL, const OdCmEntityColor *pFillColors=NULL, const OdCmTransparency *pFillTransparencies=NULL)
 
void rowOfDots (OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint)
 
void pointCloud (const OdGiPointCloud &pCloud)
 
void pushClipBoundary (OdGiClipBoundary *pBoundary)
 
void pushClipBoundary (OdGiClipBoundary *pBoundary, OdGiAbstractClipBoundary *pClipInfo)
 
void drawClipBoundary (OdGiClipBoundary *pBoundary, OdGiAbstractClipBoundary *pClipInfo)
 
void popClipBoundary ()
 
bool isClipping () const
 
void pushModelTransform (const OdGeMatrix3d &xfm)
 
void pushModelTransform (const OdGeVector3d &normal)
 
void popModelTransform ()
 
OdGeMatrix3d getModelToWorldTransform () const
 
OdGeMatrix3d getWorldToModelTransform () const
 
bool isXrefOverride () const
 
void setXrefOverride (bool bSet)
 
void draw (const OdGiDrawable *pDrawable)
 
const OdGiPathNodecurrentGiPath () const
 
virtual OdUInt32 setAttributes (const OdGiDrawable *pDrawable)
 
OdUInt32 drawableAttributes () const
 
bool needDraw (OdUInt32 drawableFlags)
 
virtual bool doDraw (OdUInt32 drawableFlags, const OdGiDrawable *pDrawable)
 
void setExtents (const OdGePoint3d *newExtents)
 
void startAttributesSegment ()
 
bool isAttributesSegmentEnabled ()
 
void rasterImageDc (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiRasterImage *pImage, const OdGePoint2d *uvBoundary, OdUInt32 numBoundPts, bool transparency=false, double brightness=50.0, double contrast=50.0, double fade=0.0)
 
void metafileDc (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiMetafile *pMetafile, bool bDcAligned=true, bool bAllowClipping=false)
 
void polylineEye (OdUInt32 numVertices, const OdGePoint3d *vertexList)
 
void polygonEye (OdUInt32 numVertices, const OdGePoint3d *vertexList)
 
void polylineDc (OdUInt32 numVertices, const OdGePoint3d *vertexList)
 
void polygonDc (OdUInt32 numVertices, const OdGePoint3d *vertexList)
 
void polylineCs (OdGiContext::CoordinatesSystem cs, OdUInt32 numVertices, const OdGePoint3d *vertexList)
 
void polygonCs (OdGiContext::CoordinatesSystem cs, OdUInt32 numVertices, const OdGePoint3d *vertexList)
 
virtual void onTraitsModified ()
 
const OdGiDeviationmodelDeviation () const
 
const OdGiDeviationworldDeviation () const
 
const OdGiDeviationeyeDeviation () const
 
const OdGiMaterialTraitsDataeffectiveMaterialTraitsData () const
 
void effectiveMaterialTraitsData (OdGiMaterialTraitsData &data) const
 
void setEffectiveMaterialTraitsData (OdDbStub *materialId, const OdGiMaterialTraitsData &data, bool bForce=false)
 
OdGsMarker selectionMarker () const
 
const OdGiSubEntityTraitsDatabyBlockTraits () const
 
void setByBlockTraits (const OdGiSubEntityTraitsData *pByBlock)
 
OdRxObjectPtr saveByBlockTraits ()
 
- Public Member Functions inherited from OdGiWorldDrawImpl
virtual void setContext (OdGiContext *pUserContext)
 
OdUInt16 color () const
 
OdCmEntityColor trueColor () const
 
OdDbStub * layer () const
 
OdDbStub * lineType () const
 
OdGiFillType fillType () const
 
OdDb::LineWeight lineWeight () const
 
double lineTypeScale () const
 
double thickness () const
 
OdDb::PlotStyleNameType plotStyleNameType () const
 
OdDbStub * plotStyleNameId () const
 
OdDbStub * material () const
 
const OdGiMappermapper () const
 
OdDbStub * visualStyle () const
 
OdCmTransparency transparency () const
 
OdUInt32 drawFlags () const
 
OdUInt32 lockFlags () const
 
bool selectionGeom () const
 
ShadowFlags shadowFlags () const
 
bool sectionable () const
 
SelectionFlags selectionFlags () const
 
OdCmEntityColor secondaryTrueColor () const
 
const OdGiDgLinetypeModifierslineStyleModifiers () const
 
const OdGiFillfill () const
 
OdGiAuxiliaryDataPtr auxData () const
 
void setTrueColor (const OdCmEntityColor &color)
 
void setPlotStyleName (OdDb::PlotStyleNameType plotStyleNameType, OdDbStub *pPlotStyleNameId=0)
 
void setColor (OdUInt16 color)
 
void setLayer (OdDbStub *layerId)
 
void setLineType (OdDbStub *lineTypeId)
 
void setFillType (OdGiFillType fillType)
 
void setLineWeight (OdDb::LineWeight lineWeight)
 
void setLineTypeScale (double lineTypeScale)
 
void setThickness (double thickness)
 
void setSelectionMarker (OdGsMarker selectionMarker)
 
void setMaterial (OdDbStub *pMaterialId)
 
void setMapper (const OdGiMapper *pMapper)
 
void setVisualStyle (const OdDbStub *visualStyleId)
 
void setTransparency (const OdCmTransparency &transparency)
 
void setDrawFlags (OdUInt32 drawFlags)
 
void setLockFlags (OdUInt32 lockFlags)
 
void setSelectionGeom (bool bSelectionFlag)
 
void setShadowFlags (ShadowFlags shadowFlags)
 
void setSectionable (bool bSectionableFlag)
 
void setSelectionFlags (SelectionFlags selectionFlags)
 
void setSecondaryTrueColor (const OdCmEntityColor &color)
 
void setLineStyleModifiers (const OdGiDgLinetypeModifiers *pLSMod)
 
void setFill (const OdGiFill *pFill)
 
void setAuxData (const OdGiAuxiliaryDataPtr &pAuxData)
 
OdGiContextcontext () const
 
OdGiSubEntityTraitssubEntityTraits () const
 
OdGiGeometryrawGeometry () const
 
OdUInt32 numberOfIsolines () const
 
virtual OdGiRegenType regenType () const
 
virtual bool regenAbort () const
 
virtual bool isDragging () const
 
virtual OdUInt32 numberOfIsolines () const
 
virtual double deviation (const OdGiDeviationType t, const OdGePoint3d &p) const
 
- Public Member Functions inherited from OdGiWorldDraw_
OdGiWorldGeometrygeometry () const
 
const OdGiPathNodecurrentGiPath () const
 
- Public Member Functions inherited from OdGiWorldDraw
 ODRX_DECLARE_MEMBERS (OdGiWorldDraw)
 
virtual OdGiWorldGeometrygeometry () const =0
 
- Public Member Functions inherited from OdGiCommonDraw
 ODRX_DECLARE_MEMBERS (OdGiCommonDraw)
 
virtual OdGiRegenType regenType () const =0
 
virtual bool regenAbort () const =0
 
virtual OdGiSubEntityTraitssubEntityTraits () const =0
 
virtual OdGiGeometryrawGeometry () const =0
 
virtual bool isDragging () const =0
 
virtual double deviation (const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve) const =0
 
virtual OdUInt32 numberOfIsolines () const =0
 
virtual OdGiContextcontext () const =0
 
virtual const OdGiPathNodecurrentGiPath () const
 
virtual bool displayModelerSilhouettes () const
 
- Public Member Functions inherited from OdGiWorldGeometry
 ODRX_DECLARE_MEMBERS (OdGiWorldGeometry)
 
virtual void setExtents (const OdGePoint3d *newExtents)=0
 
virtual void startAttributesSegment ()
 
- Public Member Functions inherited from OdGiGeometry
 ODRX_DECLARE_MEMBERS (OdGiGeometry)
 
virtual OdGeMatrix3d getModelToWorldTransform () const =0
 
virtual OdGeMatrix3d getWorldToModelTransform () const =0
 
virtual void pushModelTransform (const OdGeVector3d &normal)=0
 
virtual void pushModelTransform (const OdGeMatrix3d &xfm)=0
 
virtual void popModelTransform ()=0
 
virtual void circle (const OdGePoint3d &center, double radius, const OdGeVector3d &normal)=0
 
virtual void circle (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint)=0
 
virtual void circularArc (const OdGePoint3d &center, double radius, const OdGeVector3d &normal, const OdGeVector3d &startVector, double sweepAngle, OdGiArcType arcType=kOdGiArcSimple)=0
 
virtual void circularArc (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint, OdGiArcType arcType=kOdGiArcSimple)=0
 
virtual void polyline (OdInt32 numVertices, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal=0, OdGsMarker baseSubEntMarker=-1)=0
 
virtual void polygon (OdInt32 numVertices, const OdGePoint3d *vertexList)=0
 
virtual void polygon (OdInt32 numVertices, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal)
 
virtual void pline (const OdGiPolyline &polyline, OdUInt32 fromIndex=0, OdUInt32 numSegs=0)=0
 
virtual void mesh (OdInt32 numRows, OdInt32 numColumns, const OdGePoint3d *vertexList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)=0
 
virtual void shell (OdInt32 numVertices, const OdGePoint3d *vertexList, OdInt32 faceListSize, const OdInt32 *faceList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)=0
 
virtual void text (const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, double height, double width, double oblique, const OdString &msg)=0
 
virtual void text (const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, const OdChar *msg, OdInt32 length, bool raw, const OdGiTextStyle *pTextStyle)=0
 
virtual void xline (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint)=0
 
virtual void ray (const OdGePoint3d &basePoint, const OdGePoint3d &throughPoint)=0
 
virtual void nurbs (const OdGeNurbCurve3d &nurbsCurve)=0
 
virtual void ellipArc (const OdGeEllipArc3d &ellipArc, const OdGePoint3d *endPointsOverrides=0, OdGiArcType arcType=kOdGiArcSimple)=0
 
virtual void draw (const OdGiDrawable *pDrawable)=0
 
virtual void pushClipBoundary (OdGiClipBoundary *pBoundary)=0
 
virtual void popClipBoundary ()=0
 
virtual void worldLine (const OdGePoint3d points[2])=0
 
virtual void image (const OdGiImageBGRA32 &img, const OdGePoint3d &origin, const OdGeVector3d &uVec, const OdGeVector3d &vVec, OdGiRasterImage::TransparencyMode trpMode=OdGiRasterImage::kTransparency8Bit)=0
 
virtual void edge (const OdGiEdge2dArray &edges)=0
 
virtual const OdGiPathNodecurrentGiPath () const
 
virtual void pushClipBoundary (OdGiClipBoundary *pBoundary, OdGiAbstractClipBoundary *pClipInfo)
 
virtual void polypoint (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdCmEntityColor *pColors, const OdCmTransparency *pTransparency, const OdGeVector3d *pNormals=NULL, const OdGsMarker *pSubEntMarkers=NULL, OdInt32 nPointSize=0)
 
ODRX_SEALED_VIRTUAL void polypoint (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdCmEntityColor *pColors, const OdGeVector3d *pNormals=NULL, const OdGsMarker *pSubEntMarkers=NULL) ODRX_SEALED
 
ODRX_SEALED_VIRTUAL void polypoint (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdGeVector3d *pNormals=NULL, const OdGsMarker *pSubEntMarkers=NULL) ODRX_SEALED
 
virtual void polyPolygon (OdUInt32 numIndices, const OdUInt32 *pNumPositions, const OdGePoint3d *pPositions, const OdUInt32 *pNumPoints, const OdGePoint3d *pPoints, const OdCmEntityColor *pOutlineColors=NULL, const OdUInt32 *pOutlinePsLinetypes=NULL, const OdCmEntityColor *pFillColors=NULL, const OdCmTransparency *pFillTransparencies=NULL)
 
virtual void rowOfDots (OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint)
 
virtual void pointCloud (const OdGiPointCloud &pCloud)
 
virtual bool brep (const OdGiBrep &giBrep)
 
- Public Member Functions inherited from OdGiSubEntityTraits
 ODRX_DECLARE_MEMBERS (OdGiSubEntityTraits)
 
virtual void setColor (OdUInt16 color)=0
 
virtual void setTrueColor (const OdCmEntityColor &color)=0
 
virtual void setLayer (OdDbStub *layerId)=0
 
virtual void setLineType (OdDbStub *lineTypeId)=0
 
virtual void setSelectionMarker (OdGsMarker selectionMarker)=0
 
virtual void setFillType (OdGiFillType fillType)=0
 
virtual void setFillPlane (const OdGeVector3d *pNormal=0)
 
virtual void setLineWeight (OdDb::LineWeight lineWeight)=0
 
virtual void setLineTypeScale (double lineTypeScale=1.0)=0
 
virtual void setThickness (double thickness)=0
 
virtual void setPlotStyleName (OdDb::PlotStyleNameType plotStyleNameType, OdDbStub *plotStyleNameId=0)=0
 
virtual void setMaterial (OdDbStub *materialId)=0
 
virtual void setMapper (const OdGiMapper *pMapper)=0
 
virtual void setVisualStyle (const OdDbStub *visualStyleId)
 
virtual void setTransparency (const OdCmTransparency &transparency)
 
virtual void setDrawFlags (OdUInt32 drawFlags)
 
virtual void setLockFlags (OdUInt32 lockFlags)
 
virtual void setSelectionGeom (bool bSelectionFlag)
 
virtual void setShadowFlags (ShadowFlags shadowFlags)
 
virtual void setSectionable (bool bSectionableFlag)
 
virtual void setSelectionFlags (SelectionFlags selectionFlags)
 
virtual OdUInt16 color () const =0
 
virtual OdCmEntityColor trueColor () const =0
 
virtual OdDbStub * layer () const =0
 
virtual OdDbStub * lineType () const =0
 
virtual OdGiFillType fillType () const =0
 
virtual bool fillPlane (OdGeVector3d &normal)
 
virtual OdDb::LineWeight lineWeight () const =0
 
virtual double lineTypeScale () const =0
 
virtual double thickness () const =0
 
virtual OdDb::PlotStyleNameType plotStyleNameType () const =0
 
virtual OdDbStub * plotStyleNameId () const =0
 
virtual OdDbStub * material () const =0
 
virtual const OdGiMappermapper () const =0
 
virtual OdDbStub * visualStyle () const
 
virtual OdCmTransparency transparency () const
 
virtual OdUInt32 drawFlags () const
 
virtual OdUInt32 lockFlags () const
 
virtual bool selectionGeom () const
 
virtual ShadowFlags shadowFlags () const
 
virtual bool sectionable () const
 
virtual SelectionFlags selectionFlags () const
 
virtual void setSecondaryTrueColor (const OdCmEntityColor &color)
 
virtual OdCmEntityColor secondaryTrueColor () const
 
virtual void setLineStyleModifiers (const OdGiDgLinetypeModifiers *pLSMod)
 
virtual const OdGiDgLinetypeModifierslineStyleModifiers () const
 
virtual void setFill (const OdGiFill *pFill)
 
virtual const OdGiFillfill () const
 
virtual void setAuxData (const OdGiAuxiliaryDataPtr &pAuxData)
 
virtual OdGiAuxiliaryDataPtr auxData () const
 
virtual bool pushLineweightOverride (const OdGiLineweightOverride *pOverride)
 
virtual void popLineweightOverride ()
 
virtual bool pushPaletteOverride (const OdGiPalette *pOverride)
 
virtual void popPaletteOverride ()
 
virtual OdUInt32 setupForEntity () const
 
virtual void addLight (const OdDbStub *lightId)
 
- Public Member Functions inherited from OdGiDrawableTraits
 ODRX_DECLARE_MEMBERS (OdGiDrawableTraits)
 
- Public Member Functions inherited from OdGiViewportDraw_
OdGiViewportGeometrygeometry () const
 
const OdGiPathNodecurrentGiPath () const
 
- Public Member Functions inherited from OdGiViewportDraw
 ODRX_DECLARE_MEMBERS (OdGiViewportDraw)
 
virtual OdGiViewportviewport () const =0
 
virtual OdGiViewportGeometrygeometry () const =0
 
virtual OdUInt32 sequenceNumber () const =0
 
virtual bool isValidId (const OdUInt32 viewportId) const =0
 
virtual OdDbStub * viewportObjectId () const =0
 
- Public Member Functions inherited from OdGiViewportGeometry
 ODRX_DECLARE_MEMBERS (OdGiViewportGeometry)
 
virtual void polylineEye (OdUInt32 numVertices, const OdGePoint3d *vertexList)=0
 
virtual void polygonEye (OdUInt32 numVertices, const OdGePoint3d *vertexList)=0
 
virtual void polylineDc (OdUInt32 numVertices, const OdGePoint3d *vertexList)=0
 
virtual void polygonDc (OdUInt32 numVertices, const OdGePoint3d *vertexList)=0
 
virtual void rasterImageDc (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiRasterImage *pImage, const OdGePoint2d *uvBoundary, OdUInt32 numBoundPts, bool transparency=false, double brightness=50.0, double contrast=50.0, double fade=0.0)=0
 
virtual void metafileDc (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiMetafile *pMetafile, bool dcAligned=true, bool allowClipping=false)=0
 
virtual void ownerDrawDc (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiSelfGdiDrawable *pDrawable, bool dcAligned=true, bool allowClipping=false)
 
- Public Member Functions inherited from OdGiConveyorContext
virtual ~OdGiConveyorContext ()
 
virtual OdGiContextgiContext () const =0
 
virtual OdGiSubEntityTraitssubEntityTraits () const =0
 
virtual const OdGiSubEntityTraitsDataeffectiveTraits () const =0
 
virtual void setEffectiveTraits (const OdGiSubEntityTraitsData &traits, const OdGeVector3d *fillNormal=NULL)=0
 
virtual bool effectivelyVisible () const
 
virtual const OdGiDrawableDesccurrentDrawableDesc () const =0
 
virtual const OdGiDrawablecurrentDrawable () const =0
 
virtual const OdGiViewportgiViewport () const =0
 
virtual const OdGsViewgsView () const =0
 
virtual void onTraitsModified ()=0
 
virtual void onTextProcessing (const OdGePoint3d &, const OdGeVector3d &, const OdGeVector3d &)
 
virtual bool regenAbort () const =0
 
virtual const OdGiPathNodecurrentGiPath () const =0
 
virtual const OdGiDeviationworldDeviation () const =0
 
virtual const OdGiDeviationmodelDeviation () const =0
 
virtual const OdGiDeviationeyeDeviation () const =0
 
virtual OdGeMatrix3d getModelToWorldTransform () const =0
 
virtual OdGeMatrix3d getWorldToModelTransform () const =0
 
virtual const OdGiLineweightOverridecurrentLineweightOverride () const
 
virtual OdUInt32 drawContextFlags () const
 
virtual double annotationScale () const
 
- Public Member Functions inherited from OdGiDeviation
virtual double deviation (const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve) const =0
 
virtual ~OdGiDeviation ()
 
- Public Member Functions inherited from OdGsMaterialTextureDataFiler
virtual bool saveClientMaterialTextureData (const OdGiMaterialTextureData *, OdGsFiler *)
 
virtual OdGiMaterialTextureDataPtr loadClientMaterialTextureData (OdGsFiler *)
 

Static Public Member Functions

static bool saveMaterialTexture (const OdGiMaterialTexture *pTexture, OdGsFiler *pFiler)
 
static OdGiMaterialTexturePtr loadMaterialTexture (OdGsFiler *pFiler)
 
static bool saveMaterialTextureManager (const OdGiMaterialTextureManager *pManager, OdGsFiler *pFiler, OdGsMaterialTextureDataFiler *pSaver)
 
static bool loadMaterialTextureManager (OdGiMaterialTextureManager *pManager, OdGsFiler *pFiler, OdGsMaterialTextureDataFiler *pSaver)
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Static Public Member Functions inherited from OdGiWorldDrawImpl
static OdGiContextdummyGiContext ()
 

Protected Member Functions

virtual bool computeDrawableExtents (const OdGiDrawable *pDrawable, OdGeExtents3d &extents)
 
virtual bool computeDelayedExtents (const OdGiDrawable *pDrawable, OdGeExtents3d &extents)
 
OdGiMapperItemPtr _itlCreateMapperItem () const
 
OdGiMaterialItemPtr _itlCreateMaterialItem () const
 
- Protected Member Functions inherited from OdGsBaseVectorizer
 ODRX_USING_HEAP_OPERATORS (OdGiBaseVectorizer)
 
void doSelect (const OdGePoint2d *aPtDc, int numPoints, OdGsSelectionReactor *pReactor, OdGsView::SelectionMode mode)
 
bool doViewExtents (OdGeBoundBlock3d &extents)
 
virtual void display (bool bUpdate)
 
virtual void updateExtents (bool bBuildCache)
 
virtual const OdGiLayerTraitsDataeffectiveLayerTraits () const
 
virtual OdDbStub * switchLayer (OdDbStub *layerId) const
 
void selectionMarkerOnChange (OdGsMarker nSelectionMarker)
 
void checkRenderType (const OdGsModel *pModel)
 
virtual void renderTypeOnChange (OdGsModel::RenderType renderType)
 
virtual void switchOverlay (OdGsOverlayId overlayId)
 
void initDeviationMultiplier ()
 
double handleDeviationMultiplier (const OdGiDeviationType deviationType, double dDeviationValue) const
 
void displayWithoutNesting (OdGsEntityNode *pNode, BlockScopesCallback *pBlockScopesCbk=NULL)
 
virtual void displayNode (OdGsNode &node, OdGsDisplayContext &ctx)
 
virtual void displaySubnode (OdGsEntityNode &node, OdGsDisplayContext &ctx, bool bHighlighted)
 
void doDrawLight (const OdGiDrawable *pDrawable)
 
bool isSharedGraphicsState () const
 
const OdGsUpdateState * currentState () const
 
virtual bool updateExtentsOnly () const ODRX_OVERRIDE
 
const OdGsExtAccumsecondaryOutputExtents () const
 
OdGsExtAccumsecondaryOutputExtents ()
 
virtual void doCollide (OdGiPathNode const *const *pInputList, OdUInt32 nInputListSize, OdGsCollisionDetectionReactor *pReactor, OdGiPathNode const *const *pCollisionWithList=NULL, OdUInt32 nCollisionWithListSize=0, const OdGsCollisionDetectionContext *pCtx=NULL)
 
virtual void doCollideAll (OdGsCollisionDetectionReactor *pReactor, const OdGsCollisionDetectionContext *pCtx=NULL)
 
void processDrawableForCollide (const OdGiPathNode *pStartNode, const OdGiDrawable *pDrawable, OdGsBaseModel *&pCurModel, OdGsApplyModelOverridesPtr &pCurOverrides)
 
void processAllDrawablesForCollide (const OdGeExtents3d *pExtents=NULL, OdGiPathNode const *const *pCollisionWithList=NULL, OdUInt32 nCollisionWithListSize=0, bool bIgnoreViewExtents=false)
 
- Protected Member Functions inherited from OdGiBaseVectorizerImpl
 ODRX_USING_HEAP_OPERATORS (OdGiBaseVectorizer)
 
bool useFillPlane () const
 
virtual const OdGeMatrix3dmetafileTransform () const
 
bool isOutputSuppressed () const
 
bool isEffectiveLinetypeContinuous () const
 
bool isSupportPlotStyles () const
 
virtual void affectTraits (const OdGiSubEntityTraitsData *pSource, OdGiSubEntityTraitsData &destination) const
 
double lineweightToPixelsOverride (OdDb::LineWeight lineweight, bool bAbsolute=false) const
 
int lineweightToPixelsOverrideInt (OdDb::LineWeight lineweight) const
 
double lineweightToPixelsOverride (double lineweight, bool bAbsolute=false) const
 
virtual void updateLineweightOverride (const OdGiLineweightOverride &lwdOverride)
 
virtual void updatePaletteOverride (const OdGiPalette *pPalette)
 
- Protected Member Functions inherited from OdGiBaseVectorizer
 ODRX_HEAP_OPERATORS ()
 
void actualizeMaterialAttributes (OdDbStub *materialId) const
 
virtual OdDbStub * switchLayer (OdDbStub *layerId) const
 
virtual const OdGiLayerTraitsDataeffectiveLayerTraits () const
 
virtual bool layerVisible (OdDbStub *layerId) const
 
void updateLayerTraits (OdGiSubEntityTraitsData &subEntityTraits) const
 
const OdGeVector3dextrusion (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint)
 
const OdGeVector3dextrusion (const OdGeVector3d &normal)
 
const OdGeVector3dextrusion (const OdGeVector3d *pNormal)
 
const OdGeVector3dextrusion (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v)
 
virtual void affectTraits (const OdGiSubEntityTraitsData *pSource, OdGiSubEntityTraitsData &destination) const
 
virtual double linetypeGenerationCriteria () const
 
void resetEntityTraitsDataKeepAuxData ()
 
void resetEntityTraitsData ()
 
void updateTraitsDataByBlockTraits (const OdGiSubEntityTraitsData *pBlockTraits)
 
virtual void selectionMarkerOnChange (OdGsMarker nSelectionMarker)
 
virtual bool updateExtentsOnly () const
 
- Protected Member Functions inherited from OdGiWorldDrawImpl
 ODRX_USING_HEAP_OPERATORS (OdGiDummyCommonDraw< OdGiWorldDraw_ >)
 
 OdGiWorldDrawImpl ()
 
- Protected Member Functions inherited from OdGiWorldDraw_
 ODRX_USING_HEAP_OPERATORS (OdGiWorldDraw)
 
- Protected Member Functions inherited from OdGiViewportDraw_
 ODRX_USING_HEAP_OPERATORS (OdGiViewportDraw)
 

Protected Attributes

OdUInt32 m_uMaterialViewFlags
 
OdUInt32 m_uMaterialViewRtFlags
 
OdGiMaterialItemPtr m_pCurrentMaterialItem
 
OdGiMapperItemPtr m_pCurrentMapperItem
 
OdGiMaterialTraitsData m_nullMaterialTraitsData
 
OdGiMaterialItemPtr m_pNullMaterialItem
 
OdGsLightsAccumulationContainter m_lightsAccum
 
- Protected Attributes inherited from OdGsBaseVectorizer
OdArray< OdGeMatrix3dm_metafileTransfStack
 
OdUInt64 m_nMetafileSize
 
OdGsWriter m_gsWriter
 
OdGiSelectProcm_pSelectProc
 
OdGiCollideProcm_pCollideProc
 
OdGiConveyorGeometrym_pDetachedOutput
 
OdGiConveyorGeometrym_pDetachedSecondaryOutput
 
const OdSiShapem_MfPlayQuery
 
const OdGsEntityNodem_MfPlayNode
 
EMetafilePlayMode m_eMfPlayMode
 
OdGsUpdateState * m_curState
 
OdGsModel::RenderType m_curRenderType
 
OdGsOverlayId m_curOverlay
 
double m_dDeviationMultiplier
 
OdIntPtr m_drawableFilterFunction
 
OdGsMaterialNodem_pCachedMaterial
 
OdUInt32 m_fadingFlags
 
OdUInt32 m_selectionStyle
 
double m_dRenderAbortCondition
 
OdPerfTimerBasem_viewTimingProcessor
 
- Protected Attributes inherited from OdGiBaseVectorizerImpl
struct OdGiBaseVectorizerImpl::AwareFlagsHandler m_awareFlags
 
OdUInt32 m_implFlags
 
OdGeVector3d m_fillPlane
 
OdGiContext::PStyleType m_pstype
 
OdPsPlotStyleData m_plotStyle
 
OdUInt32 m_setAttributesHints
 
int m_vectorizingFlags
 
OdGiOrthoClipperPtr m_pXlineNRayClipper
 
OdGiConveyorEntryPoint m_xlineNRayEntryPoint
 
OdGiLinetypeRedirPtr m_pLinetyper
 
OdGiConveyorEmbranchmentPtr m_pOutputBranch
 
OdRxObjectPtr m_pGsReserved
 
OdGiDrawablePtr m_liveSection
 
OdRxObjectPtr m_sectionGeometryMap
 
OdCmTransparency m_sectForegroundFace
 
OdCmTransparency m_sectForegroundEdge
 
OdGiXformPtr m_pXToLtp
 
OdGeMatrix3d m_objectToDeviceMatrix
 
- Protected Attributes inherited from OdGiBaseVectorizer
OdGiSubEntityTraitsData m_effectiveEntityTraitsData
 
OdDbStub * m_layerId
 
OdGiLayerTraitsTaker m_effectiveLayerTraits
 
LayerTraitsCacheMap m_layerTraitsCache
 
OdDbStub * m_materialId
 
OdDbStub * m_byLayerMaterialId
 
OdDbStub * m_byBlockMaterialId
 
OdUInt32 m_materialAttributes
 
OdGiMaterialTraitsCache m_effectiveMaterialTraitsData
 
OdDbStub * m_effectiveMaterialId
 
OdDbStub * m_effectiveLayerId
 
OdGsMarker m_nSelectionMarker
 
OdGsMarker m_nPrevSelectionMarker
 
OdGiMapper m_materialMapper
 
OdGiMapperm_pCurMaterialMapper
 
OdGiDgLinetypeModifiers m_lsModifiers
 
OdGiDgLinetypeModifiersm_pCurLSModifiers
 
OdGiFillPtr m_pFill
 
OdGiAuxiliaryDataPtr m_pAuxData
 
OdRxObjectPtr m_pGiReserved
 
OdUInt32 m_entityTraitsDataChanged
 
OdGiConveyorConnector m_eyeEntryPoint
 
OdGiConveyorConnector m_modelEntryPoint
 
OdGiConveyorConnectorm_pActiveEntryPoint
 
OdGiModelToViewProcPtr m_pModelToEyeProc
 
OdGiConveyorConnector m_output
 
OdUInt32 m_flags
 
OdUInt32 m_drawContextFlags
 
const OdGiSubEntityTraitsDatam_pByBlock
 
- Protected Attributes inherited from OdGiWorldDrawImpl
OdGiSubEntityTraitsData m_entityTraitsData
 
OdGiContextm_pContext
 

Friends

class OdDefDelayCacheEntryMap
 
class OdManageMViewPerDrawableData
 

Additional Inherited Members

- Public Attributes inherited from OdGsBaseVectorizer
OdGsStateBranchPtr m_pCurHltBr
 
OdGsStateBranchPtr m_pCurVisibilityBr
 
- Public Attributes inherited from OdGiBaseVectorizer
OdGiDrawableDescm_pDrawableDesc
 
OdUInt32 m_nDrawableAttributes
 
- Protected Types inherited from OdGsBaseVectorizer
enum  FadingFlags {
  kFfLockedLayer = (1 << 0) , kFfXref = (1 << 1) , kFfRefEdit = (1 << 2) , kFfFlagsMask = kFfLockedLayer | kFfXref | kFfRefEdit ,
  kEFfLockedLayer = (1 << 4) , kEFfXref = (1 << 5) , kEFfRefEdit = (1 << 6) , kEFfFlagsMask = kEFfLockedLayer | kEFfXref | kEFfRefEdit ,
  kEFfFlagsOffset = 4 , kFvLockedLayerOffset = 8 , kFvLockedLayerMask = (0xFF << kFvLockedLayerOffset) , kFvXrefOffset = 16 ,
  kFvXrefMask = (0xFF << kFvXrefOffset) , kFvRefEditOffset = 24 , kFvRefEditMask = (0xFF << kFvRefEditOffset)
}
 
enum  BaseVectorizerFlags {
  kRenderAbort = OdGiBaseVectorizerImpl::kLastImplFlag << 1 , kViewInteractive = OdGiBaseVectorizerImpl::kLastImplFlag << 2 , kHighlightFirstPass = OdGiBaseVectorizerImpl::kLastImplFlag << 3 , kHighlightSecondPass = OdGiBaseVectorizerImpl::kLastImplFlag << 4 ,
  kAbsoluteDeviation = OdGiBaseVectorizerImpl::kLastImplFlag << 5 , kLastBaseVectorizerFlag = kAbsoluteDeviation
}
 
- Protected Types inherited from OdGiBaseVectorizerImpl
enum  Flags {
  kFillPlaneSet = OdGiBaseVectorizer::kLastFlag << 1 , kLinetypeContinuous = OdGiBaseVectorizer::kLastFlag << 2 , kModelCache = OdGiBaseVectorizer::kLastFlag << 3 , kHighlighted = OdGiBaseVectorizer::kLastFlag << 4 ,
  kDontAbortRegen = OdGiBaseVectorizer::kLastFlag << 5 , kCheckLinePattern = OdGiBaseVectorizer::kLastFlag << 6 , kBreakSelection = OdGiBaseVectorizer::kLastFlag << 7 , kSelectionGeometry = OdGiBaseVectorizer::kLastFlag << 8 ,
  kSelectionDisabled = OdGiBaseVectorizer::kLastFlag << 9 , kObjectToDeviceValid = OdGiBaseVectorizer::kLastFlag << 10 , kDisableInfiniteGeomExtents = OdGiBaseVectorizer::kLastFlag << 11 , kSectionableGeomExtentsOnly = OdGiBaseVectorizer::kLastFlag << 12 ,
  kDisableSection = OdGiBaseVectorizer::kLastFlag << 13 , kSectionForegroundGeometry = OdGiBaseVectorizer::kLastFlag << 14 , kInitGsState = OdGiBaseVectorizer::kLastFlag << 15 , kSetVpLtypeScaleMult = OdGiBaseVectorizer::kLastFlag << 16 ,
  kSetVpFilterFunction = OdGiBaseVectorizer::kLastFlag << 17 , kLineweightOverride = OdGiBaseVectorizer::kLastFlag << 18 , kLinestyleOverride = OdGiBaseVectorizer::kLastFlag << 19 , kLastOptionFlag = kLinestyleOverride
}
 
enum  ImplFlags {
  kFirstImplFlag = 1 , kSectionableGeomEnabled = kFirstImplFlag << 0 , kMultiplyLinestyleScale = kFirstImplFlag << 1 , kSkipViewSectioning = kFirstImplFlag << 2 ,
  kHiddenImplFlag = kFirstImplFlag << 3 , kLastImplFlag = kHiddenImplFlag
}
 
- Protected Types inherited from OdGiBaseVectorizer
enum  Flags {
  kFirstFlag = 1 , kSuppressViewportDraw = kFirstFlag << 0 , kDrawInvisibleEnts = kFirstFlag << 1 , kDrawLayerOff = kFirstFlag << 2 ,
  kDrawLayerFrozen = kFirstFlag << 3 , kIgnoreFillPlane = kFirstFlag << 4 , kSelectionMode = kFirstFlag << 5 , kAttributesSegment = kFirstFlag << 6 ,
  kXrefOverride = kFirstFlag << 7 , kLastFlag = kXrefOverride
}
 
typedef std::map< OdDbStub *, LayerTraitsCacheLayerTraitsCacheMap
 
typedef OdGiTraitsCache< OdGiMaterialTraitsData, OdGiMaterialTraitsTaker, OdGiMaterialTraits::kByBlock|OdGiMaterialTraits::kByLayerOdGiMaterialTraitsCache
 
- Static Protected Member Functions inherited from OdGiBaseVectorizer
static OdRxClassdesc ()
 
- Static Protected Attributes inherited from OdGiBaseVectorizer
static ODGI_EXPORT_STATIC const OdGiSubEntityTraitsData g_entityTraitsDataReset
 

Detailed Description

This class provides material support for OdGsBaseVectorizeView.

Remarks
OdGsBaseMaterialView works only with diffuse material/mapping channel and not applicable for complete rendering devices.

Corresponding C++ library: TD_Gs

<group OdGs_Classes>

Definition at line 94 of file GsBaseMaterialView.h.

Member Enumeration Documentation

◆ DelayCacheEntryType

Represents delay cache entry type.

Enumerator
kInternal 
kUser 

Definition at line 119 of file GsBaseMaterialView.h.

◆ MaterialViewFlags

Enumerator
kProcessMappers 
kProcessMaterials 
kProcessMappersAndMaterials 
kMappersForRender 
kMaterialsForRender 
kMappersAndMaterialsForRender 
kProcessForRender 
kEnableDelayCache 

Definition at line 97 of file GsBaseMaterialView.h.

Constructor & Destructor Documentation

◆ OdGsBaseMaterialVectorizer()

OdGsBaseMaterialVectorizer::OdGsBaseMaterialVectorizer ( OdUInt32  uMaterialViewFlags = kProcessMappersAndMaterials)
explicit

Default constructor for the OdGsBaseMaterialVectorizer class.

Parameters
uMaterialViewFlags[in] Material flag for a view.

◆ ~OdGsBaseMaterialVectorizer()

OdGsBaseMaterialVectorizer::~OdGsBaseMaterialVectorizer ( )

Destructor for the OdGsBaseMaterialVectorizer class.

Member Function Documentation

◆ _itlCreateMapperItem()

OdGiMapperItemPtr OdGsBaseMaterialVectorizer::_itlCreateMapperItem ( ) const
protected

◆ _itlCreateMaterialItem()

OdGiMaterialItemPtr OdGsBaseMaterialVectorizer::_itlCreateMaterialItem ( ) const
protected

◆ addDistantLight()

virtual void OdGsBaseMaterialVectorizer::addDistantLight ( const OdGiDistantLightTraitsData )
virtual

Adds a distance light source.

Reimplemented from OdGsBaseVectorizer.

◆ addPointLight()

virtual void OdGsBaseMaterialVectorizer::addPointLight ( const OdGiPointLightTraitsData )
virtual

Adds a point light source.

Reimplemented from OdGsBaseVectorizer.

◆ addSpotLight()

virtual void OdGsBaseMaterialVectorizer::addSpotLight ( const OdGiSpotLightTraitsData )
virtual

Adds a spot light source.

Reimplemented from OdGsBaseVectorizer.

◆ addWebLight()

virtual void OdGsBaseMaterialVectorizer::addWebLight ( const OdGiWebLightTraitsData )
virtual

Adds a web light source.

Reimplemented from OdGsBaseVectorizer.

◆ appendDelayCacheEntry()

void OdGsBaseMaterialVectorizer::appendDelayCacheEntry ( DelayCacheEntry pEntry)

Sets user entry to delay cache.

Parameters
pEntry[in] Pointer to newly created cache entry.

◆ beginLightsAccumulation()

void OdGsBaseMaterialVectorizer::beginLightsAccumulation ( bool  bAccumNonCached = true,
bool  bAccumCached = false,
bool  bClear = false 
)

◆ beginMetafile()

virtual void OdGsBaseMaterialVectorizer::beginMetafile ( OdRxObject pMetafile)
virtual

Begins processing a metafile.

Parameters
pMetafile[in] Pointer to a persistent object identifier of a metafile.

Reimplemented from OdGsBaseVectorizer.

◆ beginViewVectorization()

virtual void OdGsBaseMaterialVectorizer::beginViewVectorization ( )
virtual

Begins view vectorization.

Reimplemented from OdGsBaseVectorizer.

◆ computeDelayedExtents()

virtual bool OdGsBaseMaterialVectorizer::computeDelayedExtents ( const OdGiDrawable pDrawable,
OdGeExtents3d extents 
)
protectedvirtual

Called internally if extents needed for current drawable (if delay cache enabled).

Parameters
pDrawable[in] Pointer to current drawable.
extents[out] Computed extents.
Remarks
Returns true if and only if computed extents valid. Can be overrided by device if it needs more fast implementation.

◆ computeDrawableExtents()

virtual bool OdGsBaseMaterialVectorizer::computeDrawableExtents ( const OdGiDrawable pDrawable,
OdGeExtents3d extents 
)
protectedvirtual

Called internally if extents needed for current drawable (delay cache disabled).

Parameters
pDrawable[in] Pointer to current drawable.
extents[out] Computed extents.
Remarks
Returns true if and only if computed extents valid. Can be overrided by device if it needs more fast implementation.

◆ currentMapper()

OdGiMapperItemPtr OdGsBaseMaterialVectorizer::currentMapper ( bool  bForCoords = true) const

Returns current material mapper item.

Parameters
bForCoords[in] Set to true if mapper item pointer will be used for texture coordinates calculations.

◆ currentMaterial()

OdGiMaterialItemPtr OdGsBaseMaterialVectorizer::currentMaterial ( ) const

Returns current material item.

◆ delayCacheProcessed()

virtual void OdGsBaseMaterialVectorizer::delayCacheProcessed ( const OdGiDrawable pDrawable)
virtual

Called by delay cache writer after execution of all cache entries.

Remarks
Can be overrided for clear device's internal caches. If you want clear caches before execution, you could override computeDelayedExtents method instead of delayCacheProcessed.

◆ doDraw()

virtual bool OdGsBaseMaterialVectorizer::doDraw ( OdUInt32  drawableFlags,
const OdGiDrawable pDrawable 
)
virtual

Draws the specified drawable.

Parameters
drawableFlags[in] Drawable flags.
pDrawable[in] Pointer to the drawable to draw.
Returns
true if drawable is successfully drawn, false otherwise.

Reimplemented from OdGsBaseVectorizer.

◆ endMetafile()

virtual void OdGsBaseMaterialVectorizer::endMetafile ( OdRxObject pMetafile)
virtual

Ends processing a metafile.

Parameters
pMetafile[in] Pointer to persistent object identifier of a metafile.

Reimplemented from OdGsBaseVectorizer.

◆ endViewVectorization()

virtual void OdGsBaseMaterialVectorizer::endViewVectorization ( )
virtual

Ends view vectorization.

Reimplemented from OdGsBaseVectorizer.

◆ fillMaterialCache()

virtual OdGiMaterialItemPtr OdGsBaseMaterialVectorizer::fillMaterialCache ( OdGiMaterialItemPtr  prevCache,
OdDbStub *  materialId,
const OdGiMaterialTraitsData materialData 
)
virtual

Called by OdGsBaseMaterialView for initialize/reinitialize material cache.

Parameters
prevCache[in] Previous cache, if available.
materialId[in] Material id.
materialData[in] Current material traits.
Returns
As default returns null pointer.

◆ getAccumulatedLights() [1/2]

OdGsLightsAccumulationContainter & OdGsBaseMaterialVectorizer::getAccumulatedLights ( )
inline

Definition at line 318 of file GsBaseMaterialView.h.

◆ getAccumulatedLights() [2/2]

const OdGsLightsAccumulationContainter & OdGsBaseMaterialVectorizer::getAccumulatedLights ( ) const
inline

Definition at line 317 of file GsBaseMaterialView.h.

◆ getDeviceMapperMatrix()

virtual bool OdGsBaseMaterialVectorizer::getDeviceMapperMatrix ( OdGeMatrix3d dm) const
virtual

Checks whether this object can be overrided by device for setting up additional transform matrix to material mapper.

Parameters
dm[out] Transform matrix.
Returns
true if transform matrix is initialized, false otherwise.

◆ isLightsAccumulation()

bool OdGsBaseMaterialVectorizer::isLightsAccumulation ( ) const
inline

Definition at line 319 of file GsBaseMaterialView.h.

◆ isMapperAvailable()

bool OdGsBaseMaterialVectorizer::isMapperAvailable ( ) const

Checks whether current mapper item is available.

Returns
true if current mapper item available, false otherwise.

◆ isMapperEnabled()

bool OdGsBaseMaterialVectorizer::isMapperEnabled ( ) const

Checks whether mappers are supported.

Returns
true if mappers support enabled, false otherwise.

◆ isMappingDelayed()

bool OdGsBaseMaterialVectorizer::isMappingDelayed ( ) const

Checks whether the material mapping is delayed.

Returns
true if delay cache is enabled and drawable extents is not available, false otherwise.

◆ isMaterialAvailable()

bool OdGsBaseMaterialVectorizer::isMaterialAvailable ( ) const

Checks whether current material is available.

Returns
true if current material is available, false otherwise.

◆ isMaterialEnabled()

bool OdGsBaseMaterialVectorizer::isMaterialEnabled ( ) const

Checks whether material support is enabled.

Returns
true if materials support enabled, false otherwise.

◆ loadClientMaterialCache()

virtual OdRxObjectPtr OdGsBaseMaterialVectorizer::loadClientMaterialCache ( OdGsFiler pFiler,
OdGiMaterialItem pMatItem 
)
virtual

Loads client material cached data to the filer. Currently not implemented.

Parameters
pFiler[in] Client material cached data. Not used.
pMatItem[out] Material item. Not used.
Returns
Generic OdRxObjectPtr smart pointer.

◆ loadMaterialCache()

virtual bool OdGsBaseMaterialVectorizer::loadMaterialCache ( OdGsMaterialNode pNode,
OdGsFiler pFiler 
)
virtual

Loads material cache from the specified filer.

Parameters
pNode[in] Pointer to a material node.
pFiler[in] Pointer to a filer where to load the material item from.
Returns
true if material cache is successfully loaded, false otherwise.

Reimplemented from OdGsBaseVectorizer.

◆ loadMaterialItem()

OdGiMaterialItemPtr OdGsBaseMaterialVectorizer::loadMaterialItem ( OdGsFiler pFiler)

Loads material item from the specified filer and returns a smart pointer to the loaded material item.

Parameters
pFiler[in] Filer to load material item from.

◆ loadMaterialTexture()

static OdGiMaterialTexturePtr OdGsBaseMaterialVectorizer::loadMaterialTexture ( OdGsFiler pFiler)
static

Loads material texture from the specified filer.

Parameters
pFiler[in] Filer to load material texture from.

◆ loadMaterialTextureManager()

static bool OdGsBaseMaterialVectorizer::loadMaterialTextureManager ( OdGiMaterialTextureManager pManager,
OdGsFiler pFiler,
OdGsMaterialTextureDataFiler pSaver 
)
static

Loads material texture manager from the specified filer.

Parameters
pManager[in/out] Material texture manager to which data is saved.
pFiler[in] Filer to read material textures from.
pSaver[in/out] Filer where client material texture data is saved (if exists).
Returns
true if all material texture data is successfully loaded to the texture manager, false otherwise.

◆ mapperChangedForDelayCache()

virtual void OdGsBaseMaterialVectorizer::mapperChangedForDelayCache ( )
virtual

Called by delay cache writer if mapping entry was changed.

Remarks
Can be used for link cache markers with texture coordinates which must be recalculated after extents will be calculated.

◆ nullMaterialStub()

virtual void OdGsBaseMaterialVectorizer::nullMaterialStub ( )
virtual

Can be overrided by device for process null materials.

◆ onTraitsModified()

virtual void OdGsBaseMaterialVectorizer::onTraitsModified ( )
virtual

Called whenever material view traits are changed.

Reimplemented from OdGsBaseVectorizer.

◆ playAccumulatedLights()

void OdGsBaseMaterialVectorizer::playAccumulatedLights ( OdGsLightsAccumulationContainter pAccumLights = NULL,
bool  bClear = true 
)

◆ playDelayCacheEntry()

virtual void OdGsBaseMaterialVectorizer::playDelayCacheEntry ( const DelayCacheEntry pEntry)
virtual

Called by delay cache entry as default handler.

Parameters
pEntry[in] Pointer to caller entry.

◆ processMaterialNode()

virtual void OdGsBaseMaterialVectorizer::processMaterialNode ( OdDbStub *  materialId,
OdGsMaterialNode node 
)
virtual

Processes a material node.

Parameters
materialId[in] Pointer to persistent object identifier of a material.
node[in] Pointer to a material node.

Reimplemented from OdGsBaseVectorizer.

◆ renderMaterialCache()

virtual void OdGsBaseMaterialVectorizer::renderMaterialCache ( OdGiMaterialItemPtr  pCache,
OdDbStub *  materialId 
)
virtual

Called by OdGsBaseMaterialView for render material cache.

Parameters
pCache[in] Material cache.
materialId[in] Material id.
Remarks
As default does nothing.

◆ resetCurrentMapper()

void OdGsBaseMaterialVectorizer::resetCurrentMapper ( OdGiMapperItemPtr  pMapper)

Sets current material mapper item.

Parameters
pMapper[in] New material mapper item.

◆ resetCurrentMaterial() [1/2]

void OdGsBaseMaterialVectorizer::resetCurrentMaterial ( )

Removes current material item.

◆ resetCurrentMaterial() [2/2]

void OdGsBaseMaterialVectorizer::resetCurrentMaterial ( OdGiMaterialItemPtr  pMaterial)

Sets current material item.

Parameters
pMaterial[in] New material item.

◆ saveClientMaterialCache()

virtual bool OdGsBaseMaterialVectorizer::saveClientMaterialCache ( const OdRxObject pMtl,
OdGsFiler pFiler 
)
virtual

Saves client material cached data to the filer. Currently not implemented.

Parameters
pMtl[in] Client material cached data. Not used.
pFiler[out] Filer to where data is saved. Not used.
Returns
false.

◆ saveMaterialCache()

virtual bool OdGsBaseMaterialVectorizer::saveMaterialCache ( const OdGsMaterialNode pNode,
OdGsFiler pFiler 
)
virtual

Saves material cache to the specified filer.

Parameters
pNode[in] Pointer to a material node.
pFiler[in] Pointer to a filer where to save the material item.
Returns
true if material cache is successfully saved, false otherwise.

Reimplemented from OdGsBaseVectorizer.

◆ saveMaterialItem()

bool OdGsBaseMaterialVectorizer::saveMaterialItem ( const OdGiMaterialItem pMatItem,
OdGsFiler pFiler 
)

Saves material item to the specified filer.

Parameters
pMatItem[in] Material item to save.
pFiler[out] Filer where to save material item.
Returns
true if all material texture entries are successfully saved (including cached data, if exists), false otherwise.

◆ saveMaterialTexture()

static bool OdGsBaseMaterialVectorizer::saveMaterialTexture ( const OdGiMaterialTexture pTexture,
OdGsFiler pFiler 
)
static

Saves material texture to the specified filer.

Parameters
pMatItem[in] Material texture to save.
pFiler[out] Filer where to save material texture.
Returns
true when material texture data is saved. If the specified pTexture does not point to material texture data, then 0 is written to the filer and methods also returns true.

◆ saveMaterialTextureManager()

static bool OdGsBaseMaterialVectorizer::saveMaterialTextureManager ( const OdGiMaterialTextureManager pManager,
OdGsFiler pFiler,
OdGsMaterialTextureDataFiler pSaver 
)
static

Saves material texture manager to the specified filer.

Parameters
pManager[in] Material texture manager from which data is saved.
pFiler[out] Filer where to save material textures.
pSaver[in] Filer from which to read client material texture data.
Returns
true if all material texture data from the manager is successfully saved (including client material texture data, if exists), false otherwise.

◆ skipMaterialProcess()

virtual bool OdGsBaseMaterialVectorizer::skipMaterialProcess ( OdDbStub *  materialId) const
virtual

Checks whether the current material needs to be skipped.

Parameters
materialId[in] Material id.
Returns
true if material needs to be skipped. As default returns true for 2d optimized, wireframe and hidden render modes and if materialId is null.

Friends And Related Function Documentation

◆ OdDefDelayCacheEntryMap

friend class OdDefDelayCacheEntryMap
friend

Definition at line 167 of file GsBaseMaterialView.h.

◆ OdManageMViewPerDrawableData

friend class OdManageMViewPerDrawableData
friend

Definition at line 168 of file GsBaseMaterialView.h.

Member Data Documentation

◆ m_lightsAccum

OdGsLightsAccumulationContainter OdGsBaseMaterialVectorizer::m_lightsAccum
protected

Definition at line 237 of file GsBaseMaterialView.h.

◆ m_nullMaterialTraitsData

OdGiMaterialTraitsData OdGsBaseMaterialVectorizer::m_nullMaterialTraitsData
protected

Definition at line 235 of file GsBaseMaterialView.h.

◆ m_pCurrentMapperItem

OdGiMapperItemPtr OdGsBaseMaterialVectorizer::m_pCurrentMapperItem
protected

Definition at line 234 of file GsBaseMaterialView.h.

◆ m_pCurrentMaterialItem

OdGiMaterialItemPtr OdGsBaseMaterialVectorizer::m_pCurrentMaterialItem
protected

Definition at line 233 of file GsBaseMaterialView.h.

◆ m_pNullMaterialItem

OdGiMaterialItemPtr OdGsBaseMaterialVectorizer::m_pNullMaterialItem
protected

Definition at line 236 of file GsBaseMaterialView.h.

◆ m_uMaterialViewFlags

OdUInt32 OdGsBaseMaterialVectorizer::m_uMaterialViewFlags
protected

Definition at line 231 of file GsBaseMaterialView.h.

◆ m_uMaterialViewRtFlags

OdUInt32 OdGsBaseMaterialVectorizer::m_uMaterialViewRtFlags
protected

Definition at line 232 of file GsBaseMaterialView.h.


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