CFx SDK Documentation  2020SP3
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 OdGsBaseMaterialVectorizer OdGsBaseVectorizeViewJoin< OdGsBaseVectorizer > OdGsBaseMaterialViewPC OdGsBaseVectorizeViewDef OdGsBaseVectorizeViewJoinMT< OdGsBaseVectorizer > OdGsBaseVectorizeViewJoin< OdGsBaseMaterialViewPC > OdGsBaseVectorizeViewMT OdGsBaseMaterialView OdGsBaseVectorizeViewJoinMT< OdGsBaseMaterialViewPC > OdGsBaseMaterialViewMT

Public Types

enum  MetafileTransformFlags { kSharedRefTransform = (1 << 0), kSharedRefUpdate = (1 << 1), kSharedRefSelect = (1 << 2) }
 
- 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, kInternalDrawFlags = kDisableLayoutCache | kClipSetIsEmpty, kDrawPolygonFill = 0x100000, kExcludeFromViewExt = 0x200000,
  kDrawDgLsPolyWithoutBreaks = 0x400000, kPolygonProcessing = 0x800000, kDisableAutoGenerateNormals = 0x1000000, kDisableFillModeCheck = 0x2000000,
  kDrawUnderlayReference = 0x4000000, kFxNoFillOnSelect = 0x08000000, kInheritableDrawFlags
}
 
enum  ShadowFlags { kShadowsCastAndReceive = 0, kShadowsDoesNotCast = 1, kShadowsDoesNotReceive = 2, kShadowsIgnore = kShadowsDoesNotCast | kShadowsDoesNotReceive }
 
enum  SelectionFlags { kNoSelectionFlags = 0, kSelectionIgnore = 1, kHighlightingGeometry = 2, 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, kAllChanged = 0x1FFFFF, 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
 
bool disableInfiniteGeomExtents () const
 
bool sectionableGeomExtentsOnly () const
 
void setSectionableGeomExtentsOnly (bool bOn)
 
void playMetafileMode (const OdRxObject *pMetafile, EMetafilePlayMode eMode)
 
EMetafilePlayMode metafilePlayMode () const
 
virtual void pushMetafileTransform (const OdGeMatrix3d &, OdUInt32=0)
 
virtual void popMetafileTransform (OdUInt32=0)
 
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 isDragging () const
 
virtual OdGiConveyorOutputgsExtentsOutput ()
 
virtual void setAnalyticLinetypingCircles (bool analytic)
 
virtual bool isAnalyticLinetypingCircles () const
 
virtual void setAnalyticLinetypingComplexCurves (bool analytic)
 
virtual bool isAnalyticLinetypingComplexCurves () const
 
void checkSelection ()
 
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 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 OdGsMarkerArrayhighlightedSubentities () const
 
OdGsHlBranchfindHighlightedSubnodeBranch ()
 
OdUInt32 threadIndex () const
 
void highlight (bool bHighlight)
 
const OdGsHlBranchcurrentHighlightBranch () const
 
OdGsLayerNodeactiveLayerNode (bool bSync=false) const
 
OdGsModel::RenderType activeRenderType () const
 
OdGsOverlayId activeOverlay () const
 
void updateExtentsInThreadInit (OdGsMtContext &mtContext)
 
void setRenderAbort (bool bSet)
 
virtual bool renderAbort ()
 
- Public Member Functions inherited from OdGiBaseVectorizerImpl
 OdGiBaseVectorizerImpl ()
 
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 setModelSection (OdGiDrawable *pSection, bool bUseSectionGeometryMap)
 
const OdGiDrawableliveSection () const
 
OdGeMatrix3d modelToWorldTransform () const
 
OdGeMatrix3d worldToModelTransform () const
 
int lineweightToPixels (OdDb::LineWeight lineweight) const
 
double lineweightToPixels (double lineweight) const
 
bool hasLineweightOverride () const
 
bool hasLinestyleOverride () const
 
const OdGiLineweightOverridecurrentLineweightOverride () 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 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 OdUInt32 setupForEntity () const
 
virtual bool pushLineweightOverride (const OdGiLineweightOverride *pOverride)
 
virtual void popLineweightOverride ()
 
virtual const OdGiViewportgiViewport () const
 
virtual const OdGsViewgsView () const
 
virtual double annotationScale () const
 
- Public Member Functions inherited from OdGiViewport
 ODRX_DECLARE_MEMBERS (OdGiViewport)
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectx (const OdRxClass *pClass) 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
 
void clearEntityTraitsDataChanged () const
 
bool effectivelyVisible () const
 
OdGiContextgiContext () const
 
const OdGiDrawableDesccurrentDrawableDesc () const
 
const OdGiDrawablecurrentDrawable () 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
 
void setEyeToOutputTransform (const OdGeMatrix3d &xfm)
 
const OdGeMatrix3deyeToOutputTransform () const
 
void eyeToOutputTransform (OdGeMatrix3d &xfm) const
 
OdGiConveyorContextdrawContext ()
 
const OdGiConveyorContextdrawContext () const
 
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 setLineWeight (OdDb::LineWeight lineWeight)
 
void setLineTypeScale (double lineTypeScale)
 
void setThickness (double thickness)
 
void setPlotStyleName (OdDb::PlotStyleNameType plotStyleNameType, OdDbStub *pPlotStyleNameId=0)
 
void setMaterial (OdDbStub *pMaterialId)
 
void setMapper (const OdGiMapper *pMapper)
 
void setVisualStyle (const OdDbStub *pVisualStyleId)
 
void setTransparency (const OdCmTransparency &transparency)
 
void setDrawFlags (OdUInt32 drawFlags)
 
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)
 
OdGiContextcontext () const
 
OdGiSubEntityTraitssubEntityTraits () const
 
OdUInt32 numberOfIsolines () const
 
OdGiGeometryrawGeometry () const
 
OdUInt32 drawContextFlags () const
 
void setDrawContextFlags (OdUInt32 flags, bool bFlag)
 
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 nurbs (const OdGeNurbCurve3d &nurbsCurve)
 
void ellipArc (const OdGeEllipArc3d &ellipArc, const OdGePoint3d *endPointsOverrides=0, OdGiArcType arcType=kOdGiArcSimple)
 
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)
 
void rowOfDots (OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint)
 
void drawClipBoundary (OdGiClipBoundary *pBoundary, OdGiAbstractClipBoundary *pClipInfo)
 
bool isClipping () 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)
 
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)
 
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
 
bool selectionGeom () const
 
ShadowFlags shadowFlags () const
 
bool sectionable () const
 
SelectionFlags selectionFlags () const
 
OdCmEntityColor secondaryTrueColor () const
 
const OdGiDgLinetypeModifierslineStyleModifiers () const
 
const OdGiFillfill () const
 
- Public Member Functions inherited from OdGiDummyCommonDraw< OdGiWorldDraw_ >
virtual OdGiRegenType regenType () const
 
virtual bool regenAbort () const
 
virtual bool isDragging () const
 
virtual OdUInt32 numberOfIsolines () const
 
- Public Member Functions inherited from OdGiWorldDraw_
OdGiWorldGeometrygeometry () const
 
const OdGiPathNodecurrentGiPath () const
 
- Public Member Functions inherited from OdGiWorldDraw
 ODRX_DECLARE_MEMBERS (OdGiWorldDraw)
 
- Public Member Functions inherited from OdGiCommonDraw
 ODRX_DECLARE_MEMBERS (OdGiCommonDraw)
 
virtual bool displayModelerSilhouettes () const
 
- Public Member Functions inherited from OdGiWorldGeometry
 ODRX_DECLARE_MEMBERS (OdGiWorldGeometry)
 
- Public Member Functions inherited from OdGiGeometry
 ODRX_DECLARE_MEMBERS (OdGiGeometry)
 
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
 
- Public Member Functions inherited from OdGiSubEntityTraits
 ODRX_DECLARE_MEMBERS (OdGiSubEntityTraits)
 
virtual bool fillPlane (OdGeVector3d &normal)
 
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)
 
- Public Member Functions inherited from OdGiViewportGeometry
 ODRX_DECLARE_MEMBERS (OdGiViewportGeometry)
 
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 void onTextProcessing (const OdGePoint3d &, const OdGeVector3d &, const OdGeVector3d &)
 

Public Attributes

OdGsHlBranchPtr m_pCurHltBr
 
- 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, kLastBaseVectorizerFlag = kViewInteractive }
 
- 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, kSuppressOutput = OdGiBaseVectorizer::kLastFlag << 8,
  kSelectionGeometry = OdGiBaseVectorizer::kLastFlag << 9, kSelectionDisabled = OdGiBaseVectorizer::kLastFlag << 10, kObjectToDeviceValid = OdGiBaseVectorizer::kLastFlag << 11, kDisableInfiniteGeomExtents = OdGiBaseVectorizer::kLastFlag << 12,
  kSectionableGeomExtentsOnly = OdGiBaseVectorizer::kLastFlag << 13, kDisableSection = OdGiBaseVectorizer::kLastFlag << 14, kSectionForegroundGeometry = OdGiBaseVectorizer::kLastFlag << 15, kInitGsState = OdGiBaseVectorizer::kLastFlag << 16,
  kSetVpLtypeScaleMult = OdGiBaseVectorizer::kLastFlag << 17, kSetVpFilterFunction = OdGiBaseVectorizer::kLastFlag << 18, kLineweightOverride = OdGiBaseVectorizer::kLastFlag << 19, kLinestyleOverride = OdGiBaseVectorizer::kLastFlag << 20,
  kLastOptionFlag = kLinestyleOverride
}
 
enum  ImplFlags { kFirstImplFlag = 1, kSectionableGeomEnabled = kFirstImplFlag << 0, kLastImplFlag = kSectionableGeomEnabled }
 
- 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 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 displayWithoutNesting (OdGsEntityNode *pNode)
 
- Protected Member Functions inherited from OdGiBaseVectorizerImpl
 ODRX_USING_HEAP_OPERATORS (OdGiBaseVectorizer)
 
bool useFillPlane () 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)
 
- Protected Member Functions inherited from OdGiBaseVectorizer
 ODRX_HEAP_OPERATORS ()
 
void actualizeMaterialAttributes (OdDbStub *materialId) 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)
 
void resetEntityTraitsData ()
 
- 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

OdUInt64 m_nMetafileSize
 
OdGsWriter m_gsWriter
 
OdGiSelectProcm_pSelectProc
 
OdGiConveyorGeometrym_pDetachedOutput
 
OdGiConveyorGeometrym_pDetachedSecondaryOutput
 
EMetafilePlayMode m_eMfPlayMode
 
OdGsUpdateState * m_curState
 
OdGsModel::RenderType m_curRenderType
 
OdGsOverlayId m_curOverlay
 
OdIntPtr m_drawableFilterFunction
 
OdUInt32 m_fadingFlags
 
double m_dRenderAbortCondition
 
OdPerfTimerBasem_viewTimingProcessor
 
- Protected Attributes inherited from OdGiBaseVectorizerImpl
OdUInt32 m_nAwareFlags
 
OdUInt32 m_implFlags
 
OdGeVector3d m_fillPlane
 
OdGiContext::PStyleType m_pstype
 
OdPsPlotStyleData m_plotStyle
 
OdUInt32 m_setAttributesHints
 
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
 
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
 
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 111 of file GsBaseVectorizer.h.

Member Enumeration Documentation

◆ BaseVectorizerFlags

Enumerator
kRenderAbort 
kViewInteractive 
kLastBaseVectorizerFlag 

Definition at line 488 of file GsBaseVectorizer.h.

◆ FadingFlags

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

Definition at line 456 of file GsBaseVectorizer.h.

◆ MetafileTransformFlags

Enumerator
kSharedRefTransform 
kSharedRefUpdate 
kSharedRefSelect 

Definition at line 269 of file GsBaseVectorizer.h.

Constructor & Destructor Documentation

◆ OdGsBaseVectorizer()

OdGsBaseVectorizer::OdGsBaseVectorizer ( )

◆ ~OdGsBaseVectorizer()

OdGsBaseVectorizer::~OdGsBaseVectorizer ( )

Member Function Documentation

◆ activeLayerNode()

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

Definition at line 563 of file GsBaseVectorizer.h.

◆ activeOverlay()

OdGsOverlayId OdGsBaseVectorizer::activeOverlay ( ) const
inline

Definition at line 575 of file GsBaseVectorizer.h.

◆ activeRenderType()

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

Definition at line 570 of file GsBaseVectorizer.h.

◆ addDistantLight()

virtual void OdGsBaseVectorizer::addDistantLight ( const OdGiDistantLightTraitsData )
inlinevirtual

Definition at line 229 of file GsBaseVectorizer.h.

◆ addPointLight()

virtual void OdGsBaseVectorizer::addPointLight ( const OdGiPointLightTraitsData )
inlinevirtual

Definition at line 227 of file GsBaseVectorizer.h.

◆ addSpotLight()

virtual void OdGsBaseVectorizer::addSpotLight ( const OdGiSpotLightTraitsData )
inlinevirtual

Definition at line 228 of file GsBaseVectorizer.h.

◆ addWebLight()

virtual void OdGsBaseVectorizer::addWebLight ( const OdGiWebLightTraitsData )
virtual

◆ 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.

◆ beginViewVectorization()

virtual void OdGsBaseVectorizer::beginViewVectorization ( )
virtual

OdGiBaseVectorizer methods *

Reimplemented from OdGiBaseVectorizerImpl.

Reimplemented in OdGsBaseMaterialVectorizer.

◆ checkRenderType()

void OdGsBaseVectorizer::checkRenderType ( const OdGsModel pModel)
protected

◆ checkSelection()

void OdGsBaseVectorizer::checkSelection ( )

◆ currentHighlightBranch()

const OdGsHlBranch * OdGsBaseVectorizer::currentHighlightBranch ( ) const
inline

Returns current highlighting data.

Definition at line 558 of file GsBaseVectorizer.h.

◆ disableInfiniteGeomExtents()

bool OdGsBaseVectorizer::disableInfiniteGeomExtents ( ) const
inline

OdGsBaseVectorizer methods *

Definition at line 254 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.

◆ displayViewportProperties()

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

◆ displayWithoutNesting()

void OdGsBaseVectorizer::displayWithoutNesting ( OdGsEntityNode pNode)
protected

◆ 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.
Remarks
Called by draw() after subSetAttributes().

Returns pDrawable->subWorldDraw(this). If pDrawable->subWorldDraw returns false, and kSuppressViewportDraw is not set, this function evokes pDrawable->subViewportDraw(this).

Reimplemented from OdGiBaseVectorizer.

Reimplemented in OdGsBaseMaterialVectorizer.

◆ 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 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.

◆ endViewVectorization()

virtual void OdGsBaseVectorizer::endViewVectorization ( )
virtual

Ends the ViewVectorization process for this Vectorizer object.

Reimplemented from OdGiBaseVectorizerImpl.

Reimplemented in OdGsBaseMaterialVectorizer.

◆ fadingIntensity()

OdUInt32 OdGsBaseVectorizer::fadingIntensity ( ) const
inline

Definition at line 536 of file GsBaseVectorizer.h.

◆ findHighlightedSubnodeBranch()

OdGsHlBranch* OdGsBaseVectorizer::findHighlightedSubnodeBranch ( )

◆ forceMetafilesDependence()

virtual bool OdGsBaseVectorizer::forceMetafilesDependence ( ) const
virtual

◆ getTransformForMetafileGeometry()

virtual OdGeMatrix3d OdGsBaseVectorizer::getTransformForMetafileGeometry ( ) const
inlinevirtual

Definition at line 282 of file GsBaseVectorizer.h.

◆ gsExtentsAccum()

OdGsExtAccum& OdGsBaseVectorizer::gsExtentsAccum ( )
inline

Definition at line 127 of file GsBaseVectorizer.h.

◆ gsExtentsOutput()

virtual OdGiConveyorOutput& OdGsBaseVectorizer::gsExtentsOutput ( )
inlinevirtual

Definition at line 306 of file GsBaseVectorizer.h.

◆ gsLayerNode()

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

◆ gsWriter() [1/2]

OdGsWriter& OdGsBaseVectorizer::gsWriter ( )
inline

OdGsBaseVectorizer methods *

Definition at line 125 of file GsBaseVectorizer.h.

◆ gsWriter() [2/2]

const OdGsWriter& OdGsBaseVectorizer::gsWriter ( ) const
inline

Definition at line 126 of file GsBaseVectorizer.h.

◆ highlight()

void OdGsBaseVectorizer::highlight ( bool  bHighlight)

◆ highlightedSubentities()

const OdGsMarkerArray * OdGsBaseVectorizer::highlightedSubentities ( ) const
inline

Definition at line 548 of file GsBaseVectorizer.h.

◆ 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
Analytic Linetyping

◆ 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
Analytic Linetyping

◆ isDragging()

bool OdGsBaseVectorizer::isDragging ( ) const
virtual

Returns true if this vectorization process is the result of a "drag" operation.

Remarks

Reimplemented from OdGiBaseVectorizer.

◆ isFaded()

bool OdGsBaseVectorizer::isFaded ( ) const
inline

This method returns internal state indicating color fading mode.

Definition at line 531 of file GsBaseVectorizer.h.

◆ isHighlighted()

bool OdGsBaseVectorizer::isHighlighted ( ) const
inline

Definition at line 585 of file GsBaseVectorizer.h.

◆ isMetafileEmpty()

bool OdGsBaseVectorizer::isMetafileEmpty ( ) const
inline

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

Definition at line 195 of file GsBaseVectorizer.h.

◆ isSelecting()

bool OdGsBaseVectorizer::isSelecting ( ) const
inline

Definition at line 580 of file GsBaseVectorizer.h.

◆ isViewRegenerated()

virtual bool OdGsBaseVectorizer::isViewRegenerated ( ) const
virtual

◆ 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 201 of file GsBaseVectorizer.h.

◆ loadMaterialCache()

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

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 267 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.

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

Reimplemented from OdGiBaseVectorizerImpl.

◆ ODRX_USING_HEAP_OPERATORS()

OdGsBaseVectorizer::ODRX_USING_HEAP_OPERATORS ( OdGiBaseVectorizer  )
protected

◆ onTraitsModified()

virtual void OdGsBaseVectorizer::onTraitsModified ( )
virtual

Notification function called by the vectorization framework whenever the rendering attributes have changed.

Remarks
This function is called before sending any geometry through the geometry conveyor.

This function provides a hook for setting rendering attributes for the final geometry handler (e.g. Win GDI device).

Reimplemented from OdGiBaseVectorizerImpl.

Reimplemented in OdGsBaseMaterialVectorizer.

◆ output()

virtual OdGiConveyorOutput& OdGsBaseVectorizer::output ( )
virtual

Returns a reference to the output of this Vectorizer object.

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 
)

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

◆ popClipBoundary()

void OdGsBaseVectorizer::popClipBoundary ( )
virtual

Removes the top clip boundary from the clip stack.

Reimplemented from OdGiBaseVectorizer.

◆ popMetafileTransform()

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

Definition at line 276 of file GsBaseVectorizer.h.

◆ popModelTransform()

void OdGsBaseVectorizer::popModelTransform ( )
virtual

Removes the top transformation off the current transformation stack.

Reimplemented from OdGiBaseVectorizerImpl.

◆ processMaterialNode()

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

Reimplemented in OdGsBaseMaterialVectorizer.

◆ pushClipBoundary() [1/2]

void OdGsBaseVectorizer::pushClipBoundary ( OdGiClipBoundary pBoundary)
virtual

Specifies a clip boundary for the current clip stack.

Parameters
pBoundary[in] Pointer to the boundary.
Remarks
Subsequent objects are clipped until popClipBoundary() is called.

Reimplemented from OdGiBaseVectorizer.

◆ pushClipBoundary() [2/2]

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

Specifies a clip boundary with additional clipping information for the current clip stack.

Parameters
pBoundary[in] Pointer to the boundary.
pClipInfo[in] Additional clipping information.
Remarks
Subsequent objects are clipped until popClipBoundary() is called.

Reimplemented from OdGiBaseVectorizer.

◆ pushMetafileTransform()

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

Definition at line 275 of file GsBaseVectorizer.h.

◆ pushModelTransform() [1/2]

void OdGsBaseVectorizer::pushModelTransform ( const OdGeMatrix3d xfm)
virtual

OdGiGeometry Overrides *

Reimplemented from OdGiBaseVectorizerImpl.

◆ pushModelTransform() [2/2]

void OdGsBaseVectorizer::pushModelTransform ( const OdGeVector3d normal)
virtual

OdGiGeometry methods *

Reimplemented from OdGiBaseVectorizerImpl.

◆ regenAbort()

virtual bool OdGsBaseVectorizer::regenAbort ( ) const
virtual

Returns true if and only if regen was aborted.

Reimplemented from OdGiBaseVectorizer.

◆ renderAbort()

virtual bool OdGsBaseVectorizer::renderAbort ( )
virtual

Returns Render Abort flag value

◆ renderTypeOnChange()

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

◆ reportUpdateError()

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

Definition at line 283 of file GsBaseVectorizer.h.

◆ saveMaterialCache()

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

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.

◆ sectionableGeomExtentsOnly()

bool OdGsBaseVectorizer::sectionableGeomExtentsOnly ( ) const
inline

Definition at line 255 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
Analytic Linetyping

◆ 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
Analytic Linetyping

◆ setEntityTraitsDataChanged() [1/2]

virtual void OdGsBaseVectorizer::setEntityTraitsDataChanged ( )
virtual

OdGiBaseVectorizer Overrides *

Reimplemented from OdGiBaseVectorizer.

◆ setEntityTraitsDataChanged() [2/2]

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

Marks as changed the EntityTraitsData data for this Vectorizer object.

Reimplemented from OdGiBaseVectorizer.

◆ setRenderAbort()

void OdGsBaseVectorizer::setRenderAbort ( bool  bSet)

Sets Render Abort flag

Parameters
bSet[in] Render Abort flag value

◆ setSectionableGeomExtentsOnly()

void OdGsBaseVectorizer::setSectionableGeomExtentsOnly ( bool  bOn)
inline

Definition at line 256 of file GsBaseVectorizer.h.

◆ setSelectionMarker()

virtual void OdGsBaseVectorizer::setSelectionMarker ( OdGsMarker  selectionMarker)
virtual

Sets the current selection marker.

Parameters
marker[in] Selection marker.

Reimplemented from OdGiBaseVectorizer.

◆ setTransformForMetafileGeometry()

virtual void OdGsBaseVectorizer::setTransformForMetafileGeometry ( const OdGeMatrix3d )
inlinevirtual

Definition at line 281 of file GsBaseVectorizer.h.

◆ setUp()

virtual void OdGsBaseVectorizer::setUp ( OdGsViewImpl view)
virtual

This method is to be called when setting up the vectorizer to work on the given view.

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 inherited device for make own changes for Visual Style support.

Parameters
visualStyle[in] Reference onto current Visual Style state.

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

◆ 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 553 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)

◆ updateViewport()

virtual void OdGsBaseVectorizer::updateViewport ( )
virtual

◆ useMetafileAsGeometry()

virtual bool OdGsBaseVectorizer::useMetafileAsGeometry ( ) const
inlinevirtual

Definition at line 279 of file GsBaseVectorizer.h.

◆ useSharedBlockReferences()

virtual bool OdGsBaseVectorizer::useSharedBlockReferences ( ) const
inlinevirtual

Definition at line 278 of file GsBaseVectorizer.h.

Friends And Related Function Documentation

◆ OdGsApplyModelOverrides

friend class OdGsApplyModelOverrides
friend

Definition at line 509 of file GsBaseVectorizer.h.

◆ OdGsBaseVectorizeView

friend class OdGsBaseVectorizeView
friend

Definition at line 508 of file GsBaseVectorizer.h.

◆ OdGsDisplayContext

friend class OdGsDisplayContext
friend

Definition at line 507 of file GsBaseVectorizer.h.

◆ OdGsLockFadingFlag

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

Definition at line 475 of file GsBaseVectorizer.h.

◆ OdGsUpdateContext

friend class OdGsUpdateContext
friend

Definition at line 506 of file GsBaseVectorizer.h.

Member Data Documentation

◆ m_curOverlay

OdGsOverlayId OdGsBaseVectorizer::m_curOverlay
protected

Definition at line 453 of file GsBaseVectorizer.h.

◆ m_curRenderType

OdGsModel::RenderType OdGsBaseVectorizer::m_curRenderType
protected

Definition at line 452 of file GsBaseVectorizer.h.

◆ m_curState

OdGsUpdateState* OdGsBaseVectorizer::m_curState
protected

Definition at line 451 of file GsBaseVectorizer.h.

◆ m_drawableFilterFunction

OdIntPtr OdGsBaseVectorizer::m_drawableFilterFunction
protected

Definition at line 454 of file GsBaseVectorizer.h.

◆ m_dRenderAbortCondition

double OdGsBaseVectorizer::m_dRenderAbortCondition
protected

Definition at line 494 of file GsBaseVectorizer.h.

◆ m_eMfPlayMode

EMetafilePlayMode OdGsBaseVectorizer::m_eMfPlayMode
protected

Definition at line 450 of file GsBaseVectorizer.h.

◆ m_fadingFlags

OdUInt32 OdGsBaseVectorizer::m_fadingFlags
protected

Definition at line 474 of file GsBaseVectorizer.h.

◆ m_gsWriter

OdGsWriter OdGsBaseVectorizer::m_gsWriter
protected

Definition at line 446 of file GsBaseVectorizer.h.

◆ m_nMetafileSize

OdUInt64 OdGsBaseVectorizer::m_nMetafileSize
protected

Definition at line 445 of file GsBaseVectorizer.h.

◆ m_pCurHltBr

OdGsHlBranchPtr OdGsBaseVectorizer::m_pCurHltBr

Definition at line 443 of file GsBaseVectorizer.h.

◆ m_pDetachedOutput

OdGiConveyorGeometry* OdGsBaseVectorizer::m_pDetachedOutput
protected

Definition at line 448 of file GsBaseVectorizer.h.

◆ m_pDetachedSecondaryOutput

OdGiConveyorGeometry* OdGsBaseVectorizer::m_pDetachedSecondaryOutput
protected

Definition at line 449 of file GsBaseVectorizer.h.

◆ m_pSelectProc

OdGiSelectProc* OdGsBaseVectorizer::m_pSelectProc
protected

Definition at line 447 of file GsBaseVectorizer.h.

◆ m_viewTimingProcessor

OdPerfTimerBase* OdGsBaseVectorizer::m_viewTimingProcessor
protected

Definition at line 495 of file GsBaseVectorizer.h.


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