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

#include <GsBaseVectorizer.h>

Inheritance diagram for OdGsBaseVectorizer:
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 OdGsBaseVectorizeViewJoin< OdGsBaseVectorizer > OdGsBaseMaterialVectorizer OdGsBaseVectorizeViewDef OdGsBaseMaterialViewPC OdGsBaseVectorizeViewJoin< OdGsBaseMaterialViewPC > OdGsBaseMaterialView

Classes

struct  BlockScopesCallback
 

Public Types

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

 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 Attributes

OdGsStateBranchPtr m_pCurHltBr
 
OdGsStateBranchPtr m_pCurVisibilityBr
 
- Public Attributes inherited from OdGiBaseVectorizer
OdGiDrawableDescm_pDrawableDesc
 
OdUInt32 m_nDrawableAttributes
 

Protected Types

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
 

Protected Member Functions

 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

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

template<OdGiContext::FadingType fadingType>
class OdGsLockFadingFlag
 
class OdGsUpdateContext
 
class OdGsDisplayContext
 
class OdGsBaseVectorizeView
 
class OdGsApplyModelOverrides
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Static Public Member Functions inherited from OdGiWorldDrawImpl
static OdGiContextdummyGiContext ()
 
- 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

Corresponding C++ library: TD_Gs

<group OdGs_Classes>

Definition at line 185 of file GsBaseVectorizer.h.

Member Enumeration Documentation

◆ BaseVectorizerFlags

Enumerator
kRenderAbort 
kViewInteractive 
kHighlightFirstPass 
kHighlightSecondPass 
kAbsoluteDeviation 
kLastBaseVectorizerFlag 

Definition at line 1061 of file GsBaseVectorizer.h.

◆ FadingFlags

Enumerator
kFfLockedLayer 
kFfXref 
kFfRefEdit 
kFfFlagsMask 
kEFfLockedLayer 
kEFfXref 
kEFfRefEdit 
kEFfFlagsMask 
kEFfFlagsOffset 
kFvLockedLayerOffset 
kFvLockedLayerMask 
kFvXrefOffset 
kFvXrefMask 
kFvRefEditOffset 
kFvRefEditMask 

Definition at line 1004 of file GsBaseVectorizer.h.

◆ MetafileTransformFlags

Enumerator
kSharedRefTransform 
kSharedRefUpdate 
kSharedRefSelect 

Definition at line 545 of file GsBaseVectorizer.h.

Constructor & Destructor Documentation

◆ OdGsBaseVectorizer()

OdGsBaseVectorizer::OdGsBaseVectorizer ( )

Default constructor for objects of the OdGsBaseVectorizer class.

◆ ~OdGsBaseVectorizer()

OdGsBaseVectorizer::~OdGsBaseVectorizer ( )

Destructor for objects of the OdGsBaseVectorizer class. Deletes the recorded history and timing, if exists.

Member Function Documentation

◆ activeLayerNode()

OdGsLayerNode * OdGsBaseVectorizer::activeLayerNode ( bool  bSync = false) const
inline

Retrieves a pointer to a currently active layer node.

Parameters
bSync[in] Flag that specifies whether to synchronize effective layer traits.

Definition at line 1182 of file GsBaseVectorizer.h.

◆ activeOverlay()

OdGsOverlayId OdGsBaseVectorizer::activeOverlay ( ) const
inline

Retrieves the active buffer overlay.

Definition at line 1194 of file GsBaseVectorizer.h.

◆ activeRenderType()

OdGsModel::RenderType OdGsBaseVectorizer::activeRenderType ( ) const
inline

Retrieves the active render type.

Definition at line 1189 of file GsBaseVectorizer.h.

◆ addDistantLight()

virtual void OdGsBaseVectorizer::addDistantLight ( const OdGiDistantLightTraitsData )
inlinevirtual

Adds a distant light source. Must be implemented in derived classes.

See also
<link tv_working_with_lights, Work with Lights>

Reimplemented in OdGsBaseMaterialVectorizer.

Definition at line 381 of file GsBaseVectorizer.h.

◆ addPointLight()

virtual void OdGsBaseVectorizer::addPointLight ( const OdGiPointLightTraitsData )
inlinevirtual

Adds a point light source. Must be implemented in derived classes.

See also
<link tv_working_with_lights, Work with Lights>

Reimplemented in OdGsBaseMaterialVectorizer.

Definition at line 367 of file GsBaseVectorizer.h.

◆ addSpotLight()

virtual void OdGsBaseVectorizer::addSpotLight ( const OdGiSpotLightTraitsData )
inlinevirtual

Adds a spot light source. Must be implemented in derived classes.

See also
<link tv_working_with_lights, Work with Lights>

Reimplemented in OdGsBaseMaterialVectorizer.

Definition at line 374 of file GsBaseVectorizer.h.

◆ addWebLight()

virtual void OdGsBaseVectorizer::addWebLight ( const OdGiWebLightTraitsData )
virtual

Adds a web light source. Must be implemented in derived classes.

See also
<link tv_working_with_lights, Work with Lights>

Reimplemented in OdGsBaseMaterialVectorizer.

◆ beginMetafile()

virtual void OdGsBaseVectorizer::beginMetafile ( OdRxObject pMetafile)
virtual

Begins vectorization to the specified GsMetafile (cache) object.

Parameters
pMetafile[in] Pointer to the GsMetafile.
Remarks
GsMetafiles are used to record vectorizations, and rapidly 'redraw' them to a display device.
See also
endMetafile newGsMetafile playMetafile

Reimplemented in OdGsBaseMaterialVectorizer.

◆ beginMetafileRecording()

virtual void OdGsBaseVectorizer::beginMetafileRecording ( OdGsGeomPortion pGeomPortion)
virtual

Begins metafile recording.

Parameters
pGeomPortion[in] Pointer to geometry portion.

◆ beginViewVectorization()

virtual void OdGsBaseVectorizer::beginViewVectorization ( )
virtual

Begins the view vectorization procedure.

Reimplemented from OdGiBaseVectorizerImpl.

Reimplemented in OdGsBaseMaterialVectorizer.

◆ checkRenderType()

void OdGsBaseVectorizer::checkRenderType ( const OdGsModel pModel)
protected

◆ checkSelection()

void OdGsBaseVectorizer::checkSelection ( )

◆ currentHighlightBranch()

const OdGsStateBranch * OdGsBaseVectorizer::currentHighlightBranch ( ) const
inline

Returns current highlighting data.

Returns
Pointer to the current highlighting branch.

Definition at line 1172 of file GsBaseVectorizer.h.

◆ currentSelectionStyle()

OdUInt32 OdGsBaseVectorizer::currentSelectionStyle ( ) const
inline

Returns the current selection style.

Returns
Current selection style index.

Definition at line 1033 of file GsBaseVectorizer.h.

◆ currentState()

const OdGsUpdateState * OdGsBaseVectorizer::currentState ( ) const
inlineprotected

Definition at line 955 of file GsBaseVectorizer.h.

◆ currentVisibilityBranch()

const OdGsStateBranch * OdGsBaseVectorizer::currentVisibilityBranch ( ) const
inline

Returns current visibility branch.

Returns
Pointer to the current visibility branch.

Definition at line 1177 of file GsBaseVectorizer.h.

◆ deviation()

virtual double OdGsBaseVectorizer::deviation ( const OdGiDeviationType  deviationType,
const OdGePoint3d pointOnCurve 
) const
virtual

Returns the recommended maximum deviation of the current vectorization, for the specified point on the curve or surface being tesselated.

Parameters
deviationType[in] Deviation type.
pointOnCurve[in] Point on the curve.
Returns
Recommended maximum deviation of the current vectorization as a double value.
Remarks
deviationType must be one of the following:

Value kOdGiMaxDevForCircle 0 kOdGiMaxDevForCurve 1 kOdGiMaxDevForBoundary 2 kOdGiMaxDevForIsoline 3 kOdGiMaxDevForFacet 4

Reimplemented from OdGiBaseVectorizerImpl.

◆ disableInfiniteGeomExtents()

bool OdGsBaseVectorizer::disableInfiniteGeomExtents ( ) const
inline

OdGsBaseVectorizer methods *

Checks whether this vectorizer has infinite geometry extents disabled.

Returns
True if infinite geometry extents are disabled, false otherwise.

Definition at line 512 of file GsBaseVectorizer.h.

◆ display()

virtual void OdGsBaseVectorizer::display ( bool  bUpdate)
protectedvirtual

Paints the display with each of the drawable objects associated with this VectorizeView object.

Parameters
update[in] If and only if true, the cache is updated before displaying the drawable.
Remarks
The display is painted for each drawable from one of the following methods in the following order.
  1. Model cache.
  2. The metafile for the drawable.
  3. The drawable itself.

◆ displayNode()

virtual void OdGsBaseVectorizer::displayNode ( OdGsNode node,
OdGsDisplayContext ctx 
)
protectedvirtual

◆ displaySubnode()

virtual void OdGsBaseVectorizer::displaySubnode ( OdGsEntityNode node,
OdGsDisplayContext ctx,
bool  bHighlighted 
)
protectedvirtual

◆ displayViewportProperties()

virtual bool OdGsBaseVectorizer::displayViewportProperties ( OdGsPropertiesDirectRenderOutput pdro = NULL,
OdUInt32  incFlags = OdGsProperties::kAll 
)
virtual

◆ displayWithoutNesting()

void OdGsBaseVectorizer::displayWithoutNesting ( OdGsEntityNode pNode,
BlockScopesCallback pBlockScopesCbk = NULL 
)
protected

Displays specified entity node subnodes without entering into nested subnode levels.

Parameters
pNode[in] Entity node to diplay.
pBlockScopesCbk[in] Optional block scopes callback interface.

◆ doCollide()

virtual void OdGsBaseVectorizer::doCollide ( OdGiPathNode const *const *  pInputList,
OdUInt32  nInputListSize,
OdGsCollisionDetectionReactor pReactor,
OdGiPathNode const *const *  pCollisionWithList = NULL,
OdUInt32  nCollisionWithListSize = 0,
const OdGsCollisionDetectionContext pCtx = NULL 
)
protectedvirtual

◆ doCollideAll()

virtual void OdGsBaseVectorizer::doCollideAll ( OdGsCollisionDetectionReactor pReactor,
const OdGsCollisionDetectionContext pCtx = NULL 
)
protectedvirtual

◆ doDraw()

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

Vectorizes the specified OdGiDrawable object.

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

Reimplemented from OdGiBaseVectorizer.

Reimplemented in OdGsBaseMaterialVectorizer.

◆ doDrawLight()

void OdGsBaseVectorizer::doDrawLight ( const OdGiDrawable pDrawable)
protected

◆ doSelect()

void OdGsBaseVectorizer::doSelect ( const OdGePoint2d aPtDc,
int  numPoints,
OdGsSelectionReactor pReactor,
OdGsView::SelectionMode  mode 
)
protected

◆ doViewExtents()

bool OdGsBaseVectorizer::doViewExtents ( OdGeBoundBlock3d extents)
protected

◆ drawViewportFrame()

virtual void OdGsBaseVectorizer::drawViewportFrame ( )
virtual

Draws the frame (border) for the viewport.

◆ effectiveLayerTraits()

virtual const OdGiLayerTraitsData & OdGsBaseVectorizer::effectiveLayerTraits ( ) const
protectedvirtual

Reimplemented from OdGiBaseVectorizer.

◆ endMetafile()

virtual void OdGsBaseVectorizer::endMetafile ( OdRxObject pMetafile)
virtual

Ends vectorization to the specified GsMetafile (cache) object.

Parameters
pMetafile[in] Pointer to the GsMetafile.
Remarks
GsMetafiles are used to record vectorizations, and rapidly 'redraw' them to a display device.
See also
beginMetafile newGsMetafile playMetafile

Reimplemented in OdGsBaseMaterialVectorizer.

◆ endMetafileRecording()

virtual void OdGsBaseVectorizer::endMetafileRecording ( )
virtual

Ends metafile recording.

◆ endViewVectorization()

virtual void OdGsBaseVectorizer::endViewVectorization ( )
virtual

Ends the view vectorization procedure.

Reimplemented from OdGiBaseVectorizerImpl.

Reimplemented in OdGsBaseMaterialVectorizer.

◆ fadingIntensity()

OdUInt32 OdGsBaseVectorizer::fadingIntensity ( ) const
inline

Returns fading percentage in range [0..100].

Definition at line 1140 of file GsBaseVectorizer.h.

◆ findHiddenSubnodeBranch()

OdGsStateBranch * OdGsBaseVectorizer::findHiddenSubnodeBranch ( )

Finds the subnode visibility branch.

Returns
Pointer to the subnode visibility branch.

◆ findHighlightedSubnodeBranch()

OdGsStateBranch * OdGsBaseVectorizer::findHighlightedSubnodeBranch ( )

Returns a pointer to a subnode branch of the top highlighted node.

Returns
Pointer to the subnode branch.

◆ forceMetafilesDependence()

virtual bool OdGsBaseVectorizer::forceMetafilesDependence ( ) const
virtual

◆ getTransformForMetafileGeometry()

virtual OdGeMatrix3d OdGsBaseVectorizer::getTransformForMetafileGeometry ( ) const
inlinevirtual

Definition at line 584 of file GsBaseVectorizer.h.

◆ gsExtentsAccum()

OdGsExtAccum & OdGsBaseVectorizer::gsExtentsAccum ( )
inline

Returns the accumulated extents when writing to the object.

Definition at line 219 of file GsBaseVectorizer.h.

◆ gsExtentsOutput()

virtual OdGiConveyorOutput & OdGsBaseVectorizer::gsExtentsOutput ( )
inlinevirtual

Definition at line 656 of file GsBaseVectorizer.h.

◆ gsLayerNode()

OdGsLayerNode * OdGsBaseVectorizer::gsLayerNode ( OdDbStub *  layerId,
OdGsBaseModel pModel 
)

Retrieves a pointer to a layer node associated with the passed data.

Parameters
layerId[in] Pointer to a persistent layer ID.
pModel[in] Pointer to a model.

◆ gsWriter() [1/2]

OdGsWriter & OdGsBaseVectorizer::gsWriter ( )
inline

Retrieves the writer associated with the vectorizer.

Definition at line 209 of file GsBaseVectorizer.h.

◆ gsWriter() [2/2]

const OdGsWriter & OdGsBaseVectorizer::gsWriter ( ) const
inline

Retrieves the writer associated with the vectorizer.

Definition at line 214 of file GsBaseVectorizer.h.

◆ handleDeviationMultiplier()

double OdGsBaseVectorizer::handleDeviationMultiplier ( const OdGiDeviationType  deviationType,
double  dDeviationValue 
) const
protected

Applies deviation multiplier for provided deviation value.

Parameters
deviationType[in] Deviation type.
dDeviationValue[in] Exist deviation value which needs to be multiplied.

◆ handleSelectionByExtents()

bool OdGsBaseVectorizer::handleSelectionByExtents ( const OdGeExtents3d extWc)

Checks whether selection can be performed by checking extents without playing content.

Parameters
extWc[in] Data extents.
Returns
True if content should be selected without playing, false otherwise.
See also
<link tv_working_with_features_selections, Work with Selections>

◆ hasPaletteOverrides()

virtual bool OdGsBaseVectorizer::hasPaletteOverrides ( ) const
virtual

Checks whether there are any palette overrides in the palette overrides stack.

Returns
True if at least one override is present in the palette overrides stack, false otherwise.

Reimplemented from OdGiBaseVectorizerImpl.

◆ hasSelectionStyle()

bool OdGsBaseVectorizer::hasSelectionStyle ( ) const
inline

Checks whether the current selection style is set.

Returns
True if the current selection style set, false otherwise.

Definition at line 1039 of file GsBaseVectorizer.h.

◆ highlight()

void OdGsBaseVectorizer::highlight ( bool  bHighlight,
OdUInt32  nSelStyle = 0 
)
inline

Sets the highlight flag for the vectorizer.

Parameters
bHighlight[in] Enables or disables highlighting.
nSelStyle[in] Selection style.
See also
<link tv_working_with_features_highlighting, Work with Highlighting>

Definition at line 1204 of file GsBaseVectorizer.h.

◆ highlightedSubentities()

const OdGsMarkerSet * OdGsBaseVectorizer::highlightedSubentities ( ) const
inline

Returns a pointer to a set of markers that represent highlighted sub-enities.

Definition at line 1162 of file GsBaseVectorizer.h.

◆ highlightingPass()

int OdGsBaseVectorizer::highlightingPass ( ) const
inline

Returns highlighting pass number in case if two-pass highlighting mode enabled by Device.

Returns
1 for first highlighting pass, 2 for second highlighting pass and 0 elsewhere.

Definition at line 1215 of file GsBaseVectorizer.h.

◆ initDeviationMultiplier()

void OdGsBaseVectorizer::initDeviationMultiplier ( )
protected

Initialize deviation muliplier from active device "Deviation" peroperty value.

Remarks
Called at beginning of beginViewVectorization method.

◆ isAnalyticLinetypingCircles()

virtual bool OdGsBaseVectorizer::isAnalyticLinetypingCircles ( ) const
virtual

Returns true if and only if analytic linetype support for circles and circular arcs is enabled in this VectorizeView object.

See also
<link AnalyticLinetypeSupport, Analytic Linetype Support>

◆ isAnalyticLinetypingComplexCurves()

virtual bool OdGsBaseVectorizer::isAnalyticLinetypingComplexCurves ( ) const
virtual

Returns true if and only if analytic linetype support for ellipses, elliptical curves, and NURBS curves is enabled in this VectorizeView object.

See also
<link AnalyticLinetypeSupport, Analytic Linetype Support>

◆ isDragging()

bool OdGsBaseVectorizer::isDragging ( ) const
virtual

Checks whether an associated device is in the dragging state.

Returns
True if an associated device is in the dragging state, false otherwise.

Reimplemented from OdGiBaseVectorizer.

◆ isFaded()

bool OdGsBaseVectorizer::isFaded ( ) const
inline

Returns internal state indicating color fading mode.

Returns
True if any type of fading is 'true' and fading value is positive, false otherwise.

Definition at line 1135 of file GsBaseVectorizer.h.

◆ isHidden()

bool OdGsBaseVectorizer::isHidden ( ) const
inline

Returns vectorizer hidden geometry state.

Returns
True if geometry should be hidden, false otherwise.

Definition at line 1220 of file GsBaseVectorizer.h.

◆ isHighlighted()

bool OdGsBaseVectorizer::isHighlighted ( ) const
inline

Checks whether this vectorizer has the kHighlighted flag set to true.

Returns
True if the kHighlighted flag set to true, false otherwise.

Definition at line 1210 of file GsBaseVectorizer.h.

◆ isMetafileEmpty()

bool OdGsBaseVectorizer::isMetafileEmpty ( ) const
inline

This method can be called right after endMetafile() to check whether the last recorded metafile was empty and optimize stored data.

Definition at line 294 of file GsBaseVectorizer.h.

◆ isSelecting()

bool OdGsBaseVectorizer::isSelecting ( ) const
inline

Checks whether this vectorizer has an associated selection procedure.

Returns
True if this vectorizer has an associated selection procedure, false otherwise.

Definition at line 1199 of file GsBaseVectorizer.h.

◆ isSharedGraphicsState()

bool OdGsBaseVectorizer::isSharedGraphicsState ( ) const
protected

◆ isSpatialIndexDisabled()

virtual bool OdGsBaseVectorizer::isSpatialIndexDisabled ( ) const
inlinevirtual

Checks whether the spatial index is disabled.

Returns
False if the spatial index should be used when displaying, otherwise all metafiles will be forced even if they are outside of the view frustum.

Definition at line 866 of file GsBaseVectorizer.h.

◆ isViewRegenerated()

virtual bool OdGsBaseVectorizer::isViewRegenerated ( ) const
virtual

Checks whether the view is regenerated.

Returns
True if view is regenerated or false if view is not regenerated or if vectorizer output is suppressed (during extents computation or selection procedure).

◆ lastMetafileSize()

OdUInt64 OdGsBaseVectorizer::lastMetafileSize ( ) const
inline

This method can be called right after endMetafile() to obtain metafile size for Update Manager filtration.

Definition at line 300 of file GsBaseVectorizer.h.

◆ loadMaterialCache()

virtual bool OdGsBaseVectorizer::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 in OdGsBaseMaterialVectorizer.

◆ loadMetafile()

virtual OdRxObjectPtr OdGsBaseVectorizer::loadMetafile ( OdGsFiler pFiler)
virtual

Loads the Metafile (cache) from OdGsFiler object.

Parameters
pFiler[in] Pointer to the OdGsFiler object.

◆ loadViewport()

virtual void OdGsBaseVectorizer::loadViewport ( )
virtual

Sets viewport's common data before display() call.

◆ metafilePlayMode()

EMetafilePlayMode OdGsBaseVectorizer::metafilePlayMode ( ) const
inline

This method returns internal state indicating metafile playing mode.

Definition at line 543 of file GsBaseVectorizer.h.

◆ metafileTransform()

const OdGeMatrix3d & OdGsBaseVectorizer::metafileTransform ( ) const
inlinevirtual

Retrieves the block insert transform, which is the model-to-world coordinate transform.

Returns
Model-to-world transform matrix.

Reimplemented from OdGiBaseVectorizerImpl.

Definition at line 1230 of file GsBaseVectorizer.h.

◆ newGsMetafile()

virtual OdRxObjectPtr OdGsBaseVectorizer::newGsMetafile ( )
virtual

Creates a new GsMetafile (cache) object.

Returns
Returns a SmartPointer to the newly created object.
Remarks
GsMetafiles are used to record vectorizations, and rapidly 'redraw' them to a display device.
See also
beginMetafile endMetafile playMetafile

◆ objectToDeviceMatrix()

virtual OdGeMatrix3d OdGsBaseVectorizer::objectToDeviceMatrix ( ) const
virtual

Retrieves the transformation matrix from object space to device space.

Reimplemented from OdGiBaseVectorizerImpl.

Reimplemented in OdGsBaseVectorizeViewJoin< OdGsBaseMaterialViewPC >, and OdGsBaseVectorizeViewJoin< OdGsBaseVectorizer >.

◆ ODRX_USING_HEAP_OPERATORS()

OdGsBaseVectorizer::ODRX_USING_HEAP_OPERATORS ( OdGiBaseVectorizer  )
protected

◆ onTraitsModified()

virtual void OdGsBaseVectorizer::onTraitsModified ( )
virtual

Called whenever traits of this vectorizer are changed.

Reimplemented from OdGiBaseVectorizerImpl.

Reimplemented in OdGsBaseMaterialVectorizer.

◆ output()

virtual OdGiConveyorOutput & OdGsBaseVectorizer::output ( )
virtual

Retrieves a reference to the output of this Vectorizer object.

Returns
reference to the output.

Reimplemented from OdGiBaseVectorizer.

◆ outputForMetafileGeometry()

virtual OdGiConveyorOutput & OdGsBaseVectorizer::outputForMetafileGeometry ( )
virtual

◆ playMetafile()

virtual void OdGsBaseVectorizer::playMetafile ( const OdRxObject pMetafile)
virtual

Plays (redraws) the specified Metafile (cache) object.

Parameters
pMetafile[in] Pointer to the GsMetafile.
Remarks
GsMetafiles are used to record vectorizations, and rapidly 'redraw' them to a display device.
See also
beginMetafile endMetafile newGsMetafile

◆ playMetafileMode()

void OdGsBaseVectorizer::playMetafileMode ( const OdRxObject pMetafile,
EMetafilePlayMode  eMode,
OdGsEntityNode node,
OdGsBaseContext *  ctx 
)

This method sets internal state flag indicating playing mode and calls playMetafile(). The flag can be accessed via isPlayingMfAsGeometry(), see below.

Parameters
pMetafile[in] Pointer to a metafile to play.
eMode[in] Metafile play mode.
node[in] Entity node.
ctx[in] Pointer to a context.

◆ playNestedMetafile()

virtual bool OdGsBaseVectorizer::playNestedMetafile ( const OdGsGeomPortion pPortion,
OdGsBaseContext *  pContext,
OdGsEntityNode node 
)
virtual

Plays (redraws) the specified Nested metafile (cache) object.

Parameters
pPortion[in] Pointer to the geometry portion.
pContext[in] Pointer to the Gs context.
node[in] Reference to the Gs node.
Returns
True if metafile was played successfully, false otherwise.
Remarks
GsMetafiles are used to record vectorization, and rapidly 'redraw' them to a display device.

◆ popClipBoundary()

void OdGsBaseVectorizer::popClipBoundary ( )
virtual

Pops a top clipping boundary from the stack. This method should be used after a successful pushClipBoundary() method call from the worldDraw or viewportDraw of a drawable object.

See also
<link gi_clipping_engine, Work with the Clipping Engine>

Reimplemented from OdGiBaseVectorizer.

◆ popMetafileTransform()

virtual void OdGsBaseVectorizer::popMetafileTransform ( OdUInt32  = 0)
virtual

Pops a transformation from the stack. This method should be used after a successful pushMetafileTransform() method call to restore previous transform state.

◆ popModelTransform()

void OdGsBaseVectorizer::popModelTransform ( )
virtual

Pops a transformation from the stack. This method should be used after a successful pushModelTransform() method call to restore previous model transform state.

Reimplemented from OdGiBaseVectorizerImpl.

◆ popPaletteOverride()

virtual void OdGsBaseVectorizer::popPaletteOverride ( )
virtual

Pops the palette override from palette overrides stack.

Reimplemented from OdGiBaseVectorizerImpl.

◆ processAllDrawablesForCollide()

void OdGsBaseVectorizer::processAllDrawablesForCollide ( const OdGeExtents3d pExtents = NULL,
OdGiPathNode const *const *  pCollisionWithList = NULL,
OdUInt32  nCollisionWithListSize = 0,
bool  bIgnoreViewExtents = false 
)
protected

◆ processDrawableForCollide()

void OdGsBaseVectorizer::processDrawableForCollide ( const OdGiPathNode pStartNode,
const OdGiDrawable pDrawable,
OdGsBaseModel *&  pCurModel,
OdGsApplyModelOverridesPtr pCurOverrides 
)
protected

◆ processMaterialNode()

virtual void OdGsBaseVectorizer::processMaterialNode ( OdDbStub *  materialId,
OdGsMaterialNode pNode 
)
virtual

Processes a material node.

Parameters
materialId[in] Persistent material identifier.
pNode[in] Pointer to a material node.

Reimplemented in OdGsBaseMaterialVectorizer.

◆ pushClipBoundary() [1/2]

void OdGsBaseVectorizer::pushClipBoundary ( OdGiClipBoundary pBoundary)
virtual

Pushes a clipping boundary onto the stack, which can possibly affect the display of subsequent primitives. Use the popClipBoundary() to remove this clipping boundary from the stack.

Parameters
pBoundary[in] Pointer to a clipping boundary.
See also
<link gi_clipping_engine, Work with the Clipping Engine>

Reimplemented from OdGiBaseVectorizer.

◆ pushClipBoundary() [2/2]

void OdGsBaseVectorizer::pushClipBoundary ( OdGiClipBoundary pBoundary,
OdGiAbstractClipBoundary pClipInfo 
)
virtual

Pushes a clipping boundary onto the stack, which can possibly affect the display of subsequent primitives. Use the popClipBoundary() to remove this clipping boundary from the stack.

Parameters
pBoundary[in] Pointer to a clipping boundary.
pClipInfo[in] Clipping details.
See also
<link gi_clipping_engine, Work with the Clipping Engine>

Reimplemented from OdGiBaseVectorizer.

◆ pushMetafileTransform()

virtual void OdGsBaseVectorizer::pushMetafileTransform ( const OdGeMatrix3d ,
OdUInt32  = 0 
)
virtual

Pushes a transformation matrix for a metafile onto the stack. The resulting transformation will be created by multiplying the specified transform matrix by the existing one. This allows you to easily adjust an entity coordinate system. Use the popMetafileTransform() to remove this transform matrix from the stack when you are finished with this transformation.

Parameters
xfm[in] Transformation matrix.
flags[in] Metafile transform flags.

◆ pushModelTransform() [1/2]

void OdGsBaseVectorizer::pushModelTransform ( const OdGeMatrix3d xfm)
virtual

OdGiGeometry Overrides *

Pushes a transformation matrix onto the stack. The resulting transformation will be created by multiplying the specified transform matrix by the existing one. This allows you to easily adjust an entity coordinate system. Use the popModelTransform() to remove this transform matrix from the stack when you are finished with this transformation.

Parameters
xfm[in] Transformation matrix.

Reimplemented from OdGiBaseVectorizerImpl.

◆ pushModelTransform() [2/2]

void OdGsBaseVectorizer::pushModelTransform ( const OdGeVector3d normal)
virtual

Pushes a transformation vector onto the stack. The resulting transformation will be created by using the arbitrary axis algorithm and the specified vector. This allows you to easily adjust an entity coordinate system. Use the popModelTransform() to remove this transform vector from the stack when you are finished with this transformation.

Parameters
normal[in] Transformation matrix.

Reimplemented from OdGiBaseVectorizerImpl.

◆ pushPaletteOverride()

virtual bool OdGsBaseVectorizer::pushPaletteOverride ( const OdGiPalette pOverride)
virtual

Pushes palette override into palette overrides stack.

Parameters
pOverride[in] New palette override.
Returns
True if palette overrides are supported by underlying vectorization pipeline.

Reimplemented from OdGiBaseVectorizerImpl.

◆ regenAbort()

virtual bool OdGsBaseVectorizer::regenAbort ( ) const
virtual

Checks whether this vectorization process should be aborted.

Returns
True if this vectorization process should be aborted, false otherwise.

Reimplemented from OdGiBaseVectorizer.

◆ renderAbort()

virtual bool OdGsBaseVectorizer::renderAbort ( )
virtual

Checks whether the render abort flag is set.

Returns
True if the render abort flag is set, false otherwise.

◆ renderTypeOnChange()

virtual void OdGsBaseVectorizer::renderTypeOnChange ( OdGsModel::RenderType  renderType)
protectedvirtual

◆ reportUpdateError()

virtual void OdGsBaseVectorizer::reportUpdateError ( OdDbStub *  ,
const OdError error 
)
inlinevirtual

Definition at line 585 of file GsBaseVectorizer.h.

◆ saveMaterialCache()

virtual bool OdGsBaseVectorizer::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 in OdGsBaseMaterialVectorizer.

◆ saveMetafile()

virtual bool OdGsBaseVectorizer::saveMetafile ( const OdRxObject pMetafile,
OdGsFiler pFiler 
)
virtual

Stores the specified Metafile (cache) into OdGsFiler object.

Parameters
pMetafile[in] Pointer to the GsMetafile.
pFiler[in] Pointer to the OdGsFiler object.

◆ secondaryOutput()

OdGiConveyorOutput & OdGsBaseVectorizer::secondaryOutput ( )

Returns the secondary output from this vectorizer object.

◆ secondaryOutputExtents() [1/2]

OdGsExtAccum * OdGsBaseVectorizer::secondaryOutputExtents ( )
inlineprotected

Definition at line 1075 of file GsBaseVectorizer.h.

◆ secondaryOutputExtents() [2/2]

const OdGsExtAccum * OdGsBaseVectorizer::secondaryOutputExtents ( ) const
inlineprotected

Definition at line 1074 of file GsBaseVectorizer.h.

◆ sectionableGeomExtentsOnly()

bool OdGsBaseVectorizer::sectionableGeomExtentsOnly ( ) const
inline

Definition at line 513 of file GsBaseVectorizer.h.

◆ selectionMarkerOnChange()

void OdGsBaseVectorizer::selectionMarkerOnChange ( OdGsMarker  nSelectionMarker)
protectedvirtual

Called when selection marker is being to be changed.

Parameters
nSelectionMarker[in] New selection marker.
Remarks
Previous selection marker accessible through selectionMarker method inside override. This method should be called for base class from override to change selection marker.

Reimplemented from OdGiBaseVectorizer.

◆ setAnalyticLinetypingCircles()

virtual void OdGsBaseVectorizer::setAnalyticLinetypingCircles ( bool  analytic)
virtual

Controls analytic linetype support for circles and circular arcs in this VectorizeView object.

Parameters
analytic[in] Analytic linetype support.
See also
<link AnalyticLinetypeSupport, Analytic Linetype Support>

◆ setAnalyticLinetypingComplexCurves()

virtual void OdGsBaseVectorizer::setAnalyticLinetypingComplexCurves ( bool  analytic)
virtual

Controls analytic linetype support for ellipses, elliptical curves, and NURBS curves in this VectorizeView object.

Parameters
analytic[in] Analytic linetype support.
See also
<link AnalyticLinetypeSupport, Analytic Linetype Support>

◆ setAttributes()

virtual OdUInt32 OdGsBaseVectorizer::setAttributes ( const OdGiDrawable pDrawable)
virtual

Sets the default drawable traits for this Vectorizer object, and sets the drawable flags for the specified OdGiDrawable object.

Parameters
pDrawable[in] Pointer to the Drawable object.

Reimplemented from OdGiBaseVectorizer.

◆ setEntityTraitsDataChanged() [1/2]

virtual void OdGsBaseVectorizer::setEntityTraitsDataChanged ( )
virtual

OdGiBaseVectorizer Overrides *

Marks as changed the EntityTraitsData data for this Vectorizer object.

Reimplemented from OdGiBaseVectorizer.

◆ setEntityTraitsDataChanged() [2/2]

virtual void OdGsBaseVectorizer::setEntityTraitsDataChanged ( int  bit,
bool  value = true 
)
virtual

Marks the specfied trait as changed (or not) the EntityTraitsData data for this Vectorizer object.

Parameters
bit[in] Bit that represents an entity traits to set.
value[in] Flag that specifies whether trait should be set to the state "changed" or "unchanged".

Reimplemented from OdGiBaseVectorizer.

◆ setHidden()

void OdGsBaseVectorizer::setHidden ( bool  bHidden)
inline

Specifies vectorizer hidden geometry state.

Parameters
bHidden[in] Defines vectorizer hidden geometry state.

Definition at line 1225 of file GsBaseVectorizer.h.

◆ setRenderAbort()

void OdGsBaseVectorizer::setRenderAbort ( bool  bSet)

Sets the render abort flag.

Parameters
bSet[in] Render abort flag value.

◆ setSectionableGeomExtentsOnly()

void OdGsBaseVectorizer::setSectionableGeomExtentsOnly ( bool  bOn)
inline

Definition at line 514 of file GsBaseVectorizer.h.

◆ setSelectionMarker()

virtual void OdGsBaseVectorizer::setSelectionMarker ( OdGsMarker  selectionMarker)
virtual

Sets the current selection marker.

Parameters
selectionMarker[in] Selection marker.

Reimplemented from OdGiBaseVectorizer.

◆ setTransformForMetafileGeometry()

virtual void OdGsBaseVectorizer::setTransformForMetafileGeometry ( const OdGeMatrix3d )
inlinevirtual

Definition at line 583 of file GsBaseVectorizer.h.

◆ setUp()

virtual void OdGsBaseVectorizer::setUp ( OdGsViewImpl view)
virtual

Sets up this vectorizer with the passed view implementation object.

Parameters
view[in] View implementation.

Reimplemented from OdGiBaseVectorizerImpl.

◆ setVisualStyle()

virtual void OdGsBaseVectorizer::setVisualStyle ( const OdGiVisualStyle visualStyle)
virtual

This method can be called on each Visual Style displaying. It may be used by an inherited device for making own changes for Visual Style support.

Parameters
visualStyle[in] Reference to the current Visual Style state.
See also
<link tv_working_with_attributes_visual_styles, Work with Visual Styles>

Reimplemented in OdGsBaseVectorizeViewJoin< OdGsBaseMaterialViewPC >, and OdGsBaseVectorizeViewJoin< OdGsBaseVectorizer >.

◆ switchLayer()

virtual OdDbStub * OdGsBaseVectorizer::switchLayer ( OdDbStub *  layerId) const
protectedvirtual

Reimplemented from OdGiBaseVectorizer.

◆ switchOverlay()

virtual void OdGsBaseVectorizer::switchOverlay ( OdGsOverlayId  overlayId)
protectedvirtual

◆ threadIndex()

OdUInt32 OdGsBaseVectorizer::threadIndex ( ) const
inline

Definition at line 1167 of file GsBaseVectorizer.h.

◆ updateExtents()

virtual void OdGsBaseVectorizer::updateExtents ( bool  bBuildCache)
protectedvirtual

Recomputes the extents for this VectorizeView object.

Parameters
buildCache[in] Builds Metafile (cache) objects if and only if true.

◆ updateExtentsInThreadInit()

void OdGsBaseVectorizer::updateExtentsInThreadInit ( OdGsMtContext &  mtContext)

◆ updateExtentsOnly()

virtual bool OdGsBaseVectorizer::updateExtentsOnly ( ) const
protectedvirtual

Reimplemented from OdGiBaseVectorizer.

◆ updateViewport()

virtual void OdGsBaseVectorizer::updateViewport ( )
virtual

Updates the viewport (loads viewport traits, updates extents(if necessary), displays associated drawables and draws viewport frame).

◆ useMetafileAsGeometry()

virtual bool OdGsBaseVectorizer::useMetafileAsGeometry ( ) const
inlinevirtual

Definition at line 581 of file GsBaseVectorizer.h.

◆ useSharedBlockReferences()

virtual bool OdGsBaseVectorizer::useSharedBlockReferences ( ) const
inlinevirtual

Definition at line 580 of file GsBaseVectorizer.h.

Friends And Related Function Documentation

◆ OdGsApplyModelOverrides

friend class OdGsApplyModelOverrides
friend

Definition at line 1087 of file GsBaseVectorizer.h.

◆ OdGsBaseVectorizeView

friend class OdGsBaseVectorizeView
friend

Definition at line 1086 of file GsBaseVectorizer.h.

◆ OdGsDisplayContext

friend class OdGsDisplayContext
friend

Definition at line 1085 of file GsBaseVectorizer.h.

◆ OdGsLockFadingFlag

template<OdGiContext::FadingType fadingType>
friend class OdGsLockFadingFlag
friend

Definition at line 1023 of file GsBaseVectorizer.h.

◆ OdGsUpdateContext

friend class OdGsUpdateContext
friend

Definition at line 1084 of file GsBaseVectorizer.h.

Member Data Documentation

◆ m_curOverlay

OdGsOverlayId OdGsBaseVectorizer::m_curOverlay
protected

Definition at line 999 of file GsBaseVectorizer.h.

◆ m_curRenderType

OdGsModel::RenderType OdGsBaseVectorizer::m_curRenderType
protected

Definition at line 998 of file GsBaseVectorizer.h.

◆ m_curState

OdGsUpdateState* OdGsBaseVectorizer::m_curState
protected

Definition at line 997 of file GsBaseVectorizer.h.

◆ m_dDeviationMultiplier

double OdGsBaseVectorizer::m_dDeviationMultiplier
protected

Definition at line 1000 of file GsBaseVectorizer.h.

◆ m_drawableFilterFunction

OdIntPtr OdGsBaseVectorizer::m_drawableFilterFunction
protected

Definition at line 1001 of file GsBaseVectorizer.h.

◆ m_dRenderAbortCondition

double OdGsBaseVectorizer::m_dRenderAbortCondition
protected

Definition at line 1071 of file GsBaseVectorizer.h.

◆ m_eMfPlayMode

EMetafilePlayMode OdGsBaseVectorizer::m_eMfPlayMode
protected

Definition at line 996 of file GsBaseVectorizer.h.

◆ m_fadingFlags

OdUInt32 OdGsBaseVectorizer::m_fadingFlags
protected

Definition at line 1022 of file GsBaseVectorizer.h.

◆ m_gsWriter

OdGsWriter OdGsBaseVectorizer::m_gsWriter
protected

Definition at line 989 of file GsBaseVectorizer.h.

◆ m_metafileTransfStack

OdArray<OdGeMatrix3d> OdGsBaseVectorizer::m_metafileTransfStack
protected

Definition at line 987 of file GsBaseVectorizer.h.

◆ m_MfPlayNode

const OdGsEntityNode* OdGsBaseVectorizer::m_MfPlayNode
protected

Definition at line 995 of file GsBaseVectorizer.h.

◆ m_MfPlayQuery

const OdSiShape* OdGsBaseVectorizer::m_MfPlayQuery
protected

Definition at line 994 of file GsBaseVectorizer.h.

◆ m_nMetafileSize

OdUInt64 OdGsBaseVectorizer::m_nMetafileSize
protected

Definition at line 988 of file GsBaseVectorizer.h.

◆ m_pCachedMaterial

OdGsMaterialNode* OdGsBaseVectorizer::m_pCachedMaterial
protected

Definition at line 1002 of file GsBaseVectorizer.h.

◆ m_pCollideProc

OdGiCollideProc* OdGsBaseVectorizer::m_pCollideProc
protected

Definition at line 991 of file GsBaseVectorizer.h.

◆ m_pCurHltBr

OdGsStateBranchPtr OdGsBaseVectorizer::m_pCurHltBr

Definition at line 983 of file GsBaseVectorizer.h.

◆ m_pCurVisibilityBr

OdGsStateBranchPtr OdGsBaseVectorizer::m_pCurVisibilityBr

Definition at line 984 of file GsBaseVectorizer.h.

◆ m_pDetachedOutput

OdGiConveyorGeometry* OdGsBaseVectorizer::m_pDetachedOutput
protected

Definition at line 992 of file GsBaseVectorizer.h.

◆ m_pDetachedSecondaryOutput

OdGiConveyorGeometry* OdGsBaseVectorizer::m_pDetachedSecondaryOutput
protected

Definition at line 993 of file GsBaseVectorizer.h.

◆ m_pSelectProc

OdGiSelectProc* OdGsBaseVectorizer::m_pSelectProc
protected

Definition at line 990 of file GsBaseVectorizer.h.

◆ m_selectionStyle

OdUInt32 OdGsBaseVectorizer::m_selectionStyle
protected

Definition at line 1025 of file GsBaseVectorizer.h.

◆ m_viewTimingProcessor

OdPerfTimerBase* OdGsBaseVectorizer::m_viewTimingProcessor
protected

Definition at line 1072 of file GsBaseVectorizer.h.


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