CFx SDK Documentation  2020SP3
Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
OdGiBaseVectorizer Class Reference

#include <GiBaseVectorizer.h>

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

Public Member Functions

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 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
 
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)
 
void rowOfDots (OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint)
 
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)
 
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
 
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 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 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 void setFillPlane (const OdGeVector3d *pNormal=0)
 
virtual bool fillPlane (OdGeVector3d &normal)
 
virtual bool pushLineweightOverride (const OdGiLineweightOverride *pOverride)
 
virtual void popLineweightOverride ()
 
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)
 
- 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 &)
 
virtual const OdGiLineweightOverridecurrentLineweightOverride () const
 
virtual double annotationScale () const
 

Public Attributes

OdGiDrawableDescm_pDrawableDesc
 
OdUInt32 m_nDrawableAttributes
 

Protected Types

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_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 resetEntityTraitsData ()
 
virtual void selectionMarkerOnChange (OdGsMarker nSelectionMarker)
 
- 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)
 

Static Protected Member Functions

static OdRxClassdesc ()
 

Protected Attributes

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
 

Static Protected Attributes

static ODGI_EXPORT_STATIC const OdGiSubEntityTraitsData g_entityTraitsDataReset
 

Additional Inherited Members

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

Detailed Description

This class is a base implementation of the OdGiWorldDraw and OdGiViewportDraw interfaces. Corresponding C++ library: TD_Gi

Remarks
This class takes a drawable graphics and passes it into OdGiConveyorGeometry.

It is the base class for specialized frameworks such as OdGiExtCalc. <group OdGi_Classes>

Definition at line 166 of file GiBaseVectorizer.h.

Member Typedef Documentation

◆ OdGiMaterialTraitsCache

Definition at line 190 of file GiBaseVectorizer.h.

Member Enumeration Documentation

◆ Flags

enum OdGiBaseVectorizer::Flags
protected
Enumerator
kFirstFlag 
kSuppressViewportDraw 
kDrawInvisibleEnts 
kDrawLayerOff 
kDrawLayerFrozen 
kIgnoreFillPlane 
kSelectionMode 
kAttributesSegment 
kXrefOverride 
kLastFlag 

Definition at line 323 of file GiBaseVectorizer.h.

Constructor & Destructor Documentation

◆ OdGiBaseVectorizer()

OdGiBaseVectorizer::OdGiBaseVectorizer ( )

◆ ~OdGiBaseVectorizer()

virtual OdGiBaseVectorizer::~OdGiBaseVectorizer ( )
virtual

Member Function Documentation

◆ actualizeMaterialAttributes()

void OdGiBaseVectorizer::actualizeMaterialAttributes ( OdDbStub *  materialId) const
protected

◆ affectTraits()

virtual void OdGiBaseVectorizer::affectTraits ( const OdGiSubEntityTraitsData pSource,
OdGiSubEntityTraitsData destination 
) const
protectedvirtual

Sets the specfied EntityTraitsData data from the specified EntityTraitsData.

Parameters
pSource[in] Pointer to the source SubEntityTraitsData.
destination[out] Receives the SubEntityTraitsData.
Remarks
If pSource is NULL, default SubEntityTraitsData is used.

Reimplemented in OdGiBaseVectorizerImpl, and OdGiExtCalc.

◆ beginViewVectorization()

virtual void OdGiBaseVectorizer::beginViewVectorization ( )
virtual

Begins the ViewVectorization process for this Vectorizer object.

Reimplemented in OdGsBaseVectorizer, OdGsBaseMaterialVectorizer, and OdGiBaseVectorizerImpl.

◆ byBlockTraits()

const OdGiSubEntityTraitsData* OdGiBaseVectorizer::byBlockTraits ( ) const
inline

Definition at line 771 of file GiBaseVectorizer.h.

◆ circle() [1/2]

void OdGiBaseVectorizer::circle ( const OdGePoint3d center,
double  radius,
const OdGeVector3d normal 
)
virtual

Introduces a circle to this vectorization context.

Remarks
The circle is not filled and takes on the current color.

If firstPoint, secondPoint, and thirdPoint are specified, they cannot be colinear and no two can be coincident.

Parameters
center[in] Center point.
radius[in] Radius.
normal[in] Normal.

Implements OdGiGeometry.

◆ circle() [2/2]

void OdGiBaseVectorizer::circle ( const OdGePoint3d firstPoint,
const OdGePoint3d secondPoint,
const OdGePoint3d thirdPoint 
)
virtual

Introduces a circle to this vectorization context.

Parameters
firstPoint[in] First point of a 3-point circle.
secondPoint[in] Second point of a 3-point circle.
thirdPoint[in] Third point of a 3-point circle.

Implements OdGiGeometry.

◆ circularArc() [1/2]

void OdGiBaseVectorizer::circularArc ( const OdGePoint3d center,
double  radius,
const OdGeVector3d normal,
const OdGeVector3d startVector,
double  sweepAngle,
OdGiArcType  arcType = kOdGiArcSimple 
)
virtual

Introduces a circular arc to this vectorization context.

Parameters
center[in] Center point.
radius[in] Radius.
normal[in] Normal vector.
startVector[in] Start of the arc.
sweepAngle[in] Angle that defines the arc.
arcType[in] Arc type.
Remarks
The arc takes on the current color.

If firstPoint, secondPoint, and thirdPoint are specified, they cannot be colinear and no two can be coincident.

arcType must be one of the following:

Value Description kOdGiArcSimple 0 Unfilled. kOdGiArcSector 1 Filled area bounded by the arc and its center. kOdGiArcChord 2 Filled area bounded by the arc and its end points

Remarks
All angles are expressed in radians.

Implements OdGiGeometry.

◆ circularArc() [2/2]

void OdGiBaseVectorizer::circularArc ( const OdGePoint3d firstPoint,
const OdGePoint3d secondPoint,
const OdGePoint3d thirdPoint,
OdGiArcType  arcType = kOdGiArcSimple 
)
virtual

Introduces a circular arc to this vectorization context.

Parameters
firstPoint[in] First point of a 3-point arc.
secondPoint[in] Second point of a 3-point arc.
thirdPoint[in] Third point of a 3-point arc.
arcType[in] Arc type.

Implements OdGiGeometry.

◆ clearEntityTraitsDataChanged()

void OdGiBaseVectorizer::clearEntityTraitsDataChanged ( ) const
inline

Marks as unchanged the EntityTraitsData data for this Vectorizer object.

Definition at line 239 of file GiBaseVectorizer.h.

◆ context()

OdGiContext* OdGiBaseVectorizer::context ( ) const
virtual

Returns the OdGiContext instance associated with this object.

Reimplemented from OdGiWorldDrawImpl.

◆ currentDrawable()

const OdGiDrawable* OdGiBaseVectorizer::currentDrawable ( ) const
virtual

Returns the current OdGiDrawable object for this ConveyorContext object.

Remarks
This is the object currently being vectorized by the framework.

Implements OdGiConveyorContext.

◆ currentDrawableDesc()

const OdGiDrawableDesc* OdGiBaseVectorizer::currentDrawableDesc ( ) const
virtual

Returns the current OdGiDrawableDesc instance for this ConveyorContext object.

Remarks
This instance contains information about the current drawable object (the object itself, rendering flags, etc.).

Implements OdGiConveyorContext.

◆ currentGiPath()

const OdGiPathNode* OdGiBaseVectorizer::currentGiPath ( ) const
virtual

Returns current drawable nesting graph.

Implements OdGiConveyorContext.

◆ desc()

static OdRxClass* OdGiBaseVectorizer::desc ( )
inlinestaticprotected

Returns the a pointer to the OdRxClass object that contains a description of this object type, for objects of known class type.

Remarks
This function is for use only when the class type of this object is known. If the class type of this object is unknown, use instead isA().

Definition at line 386 of file GiBaseVectorizer.h.

◆ deviation()

double OdGiBaseVectorizer::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.

See also
OdGiGeometrySimplifier::setDeviation
Parameters
deviationType[in] Deviation type.
pointOnCurve[in] Point on the curve.
Remarks
deviationType must be one of the following:

Value kOdGiMaxDevForCircle 0
kOdGiMaxDevForCurve 1
kOdGiMaxDevForBoundary 2
kOdGiMaxDevForIsoline 3 kOdGiMaxDevForFacet 4

Implements OdGiDeviation.

Reimplemented in OdGiBaseVectorizerImpl.

◆ doDraw()

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

◆ draw()

void OdGiBaseVectorizer::draw ( const OdGiDrawable pDrawable)
virtual

Introduces the specified object into this vectorization context.

Parameters
pDrawable[in] Pointer to the Drawable object.
Remarks
Implementations of this method are expected to do the following: Call OdGiDrawable::subSetAttributes to set attribute information for the object. Call subWorldDraw on the drawable object to vectorize it into this context. If subWorldDraw returns false, call subViewportDraw each viewport.

Implements OdGiGeometry.

Reimplemented in OdGiExtCalc.

◆ drawableAttributes()

OdUInt32 OdGiBaseVectorizer::drawableAttributes ( ) const
inline

Returns the drawable flags of the last vectorized OdGiDrawable object.

Definition at line 678 of file GiBaseVectorizer.h.

◆ drawableDesc()

const OdGiDrawableDesc* OdGiBaseVectorizer::drawableDesc ( ) const
inline

Definition at line 320 of file GiBaseVectorizer.h.

◆ drawClipBoundary()

void OdGiBaseVectorizer::drawClipBoundary ( OdGiClipBoundary pBoundary,
OdGiAbstractClipBoundary pClipInfo 
)

◆ drawContext() [1/2]

OdGiConveyorContext* OdGiBaseVectorizer::drawContext ( )
inline

Returns the OdGiConveyorContext associated with this object.

Remarks
Since OdGiConveyorContext is a parent class, this function always returns "this".

Definition at line 448 of file GiBaseVectorizer.h.

◆ drawContext() [2/2]

const OdGiConveyorContext* OdGiBaseVectorizer::drawContext ( ) const
inline

Definition at line 450 of file GiBaseVectorizer.h.

◆ drawContextFlags()

OdUInt32 OdGiBaseVectorizer::drawContextFlags ( ) const
virtual

Returns set of conveyor context flags.

Reimplemented from OdGiConveyorContext.

◆ edge()

void OdGiBaseVectorizer::edge ( const OdGiEdge2dArray edges)
virtual

Inroduces a boundary for hatch filling.

Parameters
edges[in] Array of 2d curves which represents filling boundary.

Implements OdGiGeometry.

◆ effectiveLayerTraits()

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

Reimplemented in OdGsBaseVectorizer.

◆ effectivelyVisible()

bool OdGiBaseVectorizer::effectivelyVisible ( ) const
inlinevirtual

Returns true if and only if the layer of this Vectorizer object is effectively visible.

Remarks
This function returns:
            (GETBIT(m_flags, kDrawLayerOff   ) || !traits.isLayerOff()) &&
            (GETBIT(m_flags, kDrawLayerFrozen) || !traits.isLayerFrozen())

Reimplemented from OdGiConveyorContext.

Definition at line 250 of file GiBaseVectorizer.h.

◆ effectiveMaterialTraitsData() [1/2]

const OdGiMaterialTraitsData& OdGiBaseVectorizer::effectiveMaterialTraitsData ( ) const

◆ effectiveMaterialTraitsData() [2/2]

void OdGiBaseVectorizer::effectiveMaterialTraitsData ( OdGiMaterialTraitsData data) const

◆ effectiveTraits()

virtual const OdGiSubEntityTraitsData& OdGiBaseVectorizer::effectiveTraits ( ) const
virtual

Returns the EntityTraitsData in effect for this Vectorization object.

Implements OdGiConveyorContext.

Reimplemented in OdGiExtCalc.

◆ ellipArc()

void OdGiBaseVectorizer::ellipArc ( const OdGeEllipArc3d ellipArc,
const OdGePoint3d endPointsOverrides = 0,
OdGiArcType  arcType = kOdGiArcSimple 
)
virtual

Introduces an elliptical arc into this vectorization context.

Parameters
ellipArc[in] Elliptical arc.
endPointsOverrides[in] Array of points to be used as the first and last points of the vectorized arc.
arcType[in] Arc type.
Remarks
arcType must be one of the following:

Value Description kOdGiArcSimple 0 Unfilled. kOdGiArcSector 1 Filled area bounded by the arc and its center. kOdGiArcChord 3 Filled area bounded by the arc and its end points

Implements OdGiGeometry.

◆ endViewVectorization()

virtual void OdGiBaseVectorizer::endViewVectorization ( )
virtual

Ends the ViewVectorization process for this Vectorizer object.

Reimplemented in OdGsBaseVectorizer, OdGsBaseMaterialVectorizer, and OdGiBaseVectorizerImpl.

◆ extrusion() [1/4]

const OdGeVector3d* OdGiBaseVectorizer::extrusion ( const OdGePoint3d firstPoint,
const OdGePoint3d secondPoint,
const OdGePoint3d thirdPoint 
)
protected

Returns an extrusion vector normal to the specified plane.

Parameters
firstPoint[in] First point in the plane.
secondPoint[in] Second point in the plane.
thirdPoint[in] Third point in the plane.
origin[in] Origin of the plane.
u[in] U-vector in the plane.
v[in] V-vector in the plane.
normal[in] Normal to the plane.
pNormal[in] Pointer to the normal to the plane.
Remarks
The magnitude of the extrusion vector is effectiveTraits().thickness().

◆ extrusion() [2/4]

const OdGeVector3d* OdGiBaseVectorizer::extrusion ( const OdGePoint3d origin,
const OdGeVector3d u,
const OdGeVector3d v 
)
protected

◆ extrusion() [3/4]

const OdGeVector3d* OdGiBaseVectorizer::extrusion ( const OdGeVector3d normal)
protected

◆ extrusion() [4/4]

const OdGeVector3d* OdGiBaseVectorizer::extrusion ( const OdGeVector3d pNormal)
inlineprotected

Definition at line 303 of file GiBaseVectorizer.h.

◆ eyeDeviation()

const OdGiDeviation& OdGiBaseVectorizer::eyeDeviation ( ) const
virtual

Returns the maximum EyeSpace (ECS) deviation for this VectorizeView object.

Implements OdGiConveyorContext.

◆ eyeToOutputTransform() [1/2]

const OdGeMatrix3d& OdGiBaseVectorizer::eyeToOutputTransform ( ) const

Returns the Eye to Output transformation matrix for this Vectorizer object.

◆ eyeToOutputTransform() [2/2]

void OdGiBaseVectorizer::eyeToOutputTransform ( OdGeMatrix3d xfm) const

Returns the Eye to Output transformation matrix for this Vectorizer object.

Parameters
xfm[in] Receives the transformation matrix.

◆ getModelToWorldTransform()

OdGeMatrix3d OdGiBaseVectorizer::getModelToWorldTransform ( ) const
virtual

Returns the model-to-world coordinate transform matrix for the entity being vectorized.

Remarks
This is the inverse of the matrix returned by getWorldToModelTransform().

If an entity is in one or more blocks, this matrix can be used to determine the WCS coordinates of the entity.

Implements OdGiConveyorContext.

Reimplemented in OdGiBaseVectorizerImpl.

◆ getWorldToModelTransform()

OdGeMatrix3d OdGiBaseVectorizer::getWorldToModelTransform ( ) const
virtual

Returns the world-to-model coordinate transform matrix for the entity being vectorized.

Remarks
This is the inverse of the matrix returned by getModelToWorldTransform().

Implements OdGiConveyorContext.

Reimplemented in OdGiBaseVectorizerImpl.

◆ giContext()

OdGiContext& OdGiBaseVectorizer::giContext ( ) const
virtual

Returns the OdGiContext object associated with this ConveyorContext object.

Implements OdGiConveyorContext.

◆ giViewport()

const OdGiViewport* OdGiBaseVectorizer::giViewport ( ) const
virtual

Returns the OdGiViewport associated with this ConveyorContext object.

Implements OdGiConveyorContext.

Reimplemented in OdGiBaseVectorizerImpl.

◆ gsView()

const OdGsView* OdGiBaseVectorizer::gsView ( ) const
virtual

Returns the OdGsView associated with this ConveyorContext object.

Implements OdGiConveyorContext.

Reimplemented in OdGiBaseVectorizerImpl.

◆ image()

void OdGiBaseVectorizer::image ( const OdGiImageBGRA32 img,
const OdGePoint3d origin,
const OdGeVector3d uVec,
const OdGeVector3d vVec,
OdGiRasterImage::TransparencyMode  trpMode = OdGiRasterImage::kTransparency8Bit 
)
virtual

Inroduces a image in BGRA format into this vectorization context.

Parameters
img[in] Image in BGRA format.
origin[in] Image position in WCS.
uVec[in] Image width and X-axis orientation.
vVec[in] Image height and Y-axis orientation.
trpMode[in] Image transparency processing mode.

Implements OdGiGeometry.

◆ isA()

OdRxClass* OdGiBaseVectorizer::isA ( ) const
virtual

Returns the a pointer to the OdRxClass object that contains a description of this object type, for objects of unknown class type.

Remarks
This function may be used only when the class type of this object is unknown. If the class type of this object is known, use instead desc().

Reimplemented from OdRxObject.

◆ isAttributesSegmentEnabled()

bool OdGiBaseVectorizer::isAttributesSegmentEnabled ( )

◆ isClipping()

bool OdGiBaseVectorizer::isClipping ( ) const

◆ isDragging()

bool OdGiBaseVectorizer::isDragging ( ) const
virtual

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

Remarks

Implements OdGiCommonDraw.

Reimplemented in OdGsBaseVectorizer.

◆ isEntityTraitsDataChanged()

bool OdGiBaseVectorizer::isEntityTraitsDataChanged ( int  bit = kSomeChanged) const
inline

Returns true if and only if the EntityTraitsData for this Vectorizer object have been changed.

Definition at line 225 of file GiBaseVectorizer.h.

◆ isValidId()

bool OdGiBaseVectorizer::isValidId ( const OdUInt32  viewportId) const
virtual
Remarks
The default implementation of this function always returns false.

Implements OdGiViewportDraw.

Reimplemented in OdGiBaseVectorizerImpl.

◆ isXrefOverride()

bool OdGiBaseVectorizer::isXrefOverride ( ) const
inline

Definition at line 658 of file GiBaseVectorizer.h.

◆ layerVisible()

virtual bool OdGiBaseVectorizer::layerVisible ( OdDbStub *  layerId) const
protectedvirtual

Reimplemented in OdGiBaseVectorizerImpl.

◆ linetypeGenerationCriteria()

virtual double OdGiBaseVectorizer::linetypeGenerationCriteria ( ) const
protectedvirtual

Returns the dash length below which linetypes are not generated by this Vectorizer object.

Reimplemented in OdGiBaseVectorizerImpl.

◆ mesh()

void OdGiBaseVectorizer::mesh ( OdInt32  numRows,
OdInt32  numColumns,
const OdGePoint3d vertexList,
const OdGiEdgeData pEdgeData = 0,
const OdGiFaceData pFaceData = 0,
const OdGiVertexData pVertexData = 0 
)
virtual

Introduces a mesh into this vectorization context.

Parameters
numRows[in] Number of rows.
numColumns[in] Number of columns.
vertexList[in] Array of vertices.
pEdgeData[in] Pointer to additional edge data.
pFaceData[in] Pointer to additional face data.
pVertexData[in] Pointer to additional vertex data.
Remarks
A mesh is a surface defined by a grid of vertices, and corresponds to a Polygon Mesh. By default, a mesh takes on the current color. Color, linetype, and and other properties can be controlled supplying the appropriate data for the pEdgeData, pFaceData, and pVertexData arguments.
vertexList must have numRows × numColumns elements. The arrays in *pEdgeData must be NULL or contain (numRows - 1) × numColumns + numRows × (numColumns -1) elements. The arrays in *pFaceData must be NULL or contain (numRows - 1) × (numColumns - 1) elements. The arrays in *pVertexData must be NULL or contain numRows × numColumns elements.

Implements OdGiGeometry.

Reimplemented in OdGiBaseVectorizerImpl.

◆ metafileDc()

void OdGiBaseVectorizer::metafileDc ( const OdGePoint3d origin,
const OdGeVector3d u,
const OdGeVector3d v,
const OdGiMetafile pMetafile,
bool  dcAligned = true,
bool  allowClipping = false 
)
virtual

Draws the specified Windows Metafile.

Parameters
origin[in] Metafile origin.
u[in] Metafile width vector.
v[in] Metafile height vector.
pMetafile[in] Pointer to the Metafile object.
dcAligned[in] reserved.
baAllowClipping[in] reserved.
Remarks
All coordinates are in Model coordinates.

Implements OdGiViewportGeometry.

◆ modelDeviation()

const OdGiDeviation& OdGiBaseVectorizer::modelDeviation ( ) const
virtual

Returns the maximum ModelSpace (UCS) deviation for this VectorizeView object.

Implements OdGiConveyorContext.

◆ needDraw()

bool OdGiBaseVectorizer::needDraw ( OdUInt32  drawableFlags)

Returnes true if and only the Drawable object associated with this Vectorizer is visible.

Parameters
drawableFlags[in] Drawable flags.
Remarks
Called by draw().

◆ numberOfIsolines()

OdUInt32 OdGiBaseVectorizer::numberOfIsolines ( ) const
virtual

Returns the number of isolines to be drawn on surfaces during this vectorization.

Reimplemented from OdGiWorldDrawImpl.

◆ nurbs()

void OdGiBaseVectorizer::nurbs ( const OdGeNurbCurve3d nurbsCurve)
virtual

Introduces a NURBS curve into this vectorization context.

Remarks
The curve takes on the current color.
Parameters
nurbsCurve[in] NURBS curve data.

Implements OdGiGeometry.

◆ ODRX_HEAP_OPERATORS()

OdGiBaseVectorizer::ODRX_HEAP_OPERATORS ( )
protected

◆ onTraitsModified()

virtual void OdGiBaseVectorizer::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).

Implements OdGiConveyorContext.

Reimplemented in OdGsBaseVectorizer, OdGsBaseMaterialVectorizer, and OdGiBaseVectorizerImpl.

◆ output()

virtual OdGiConveyorOutput& OdGiBaseVectorizer::output ( )
virtual

Returns a reference to the output of this Vectorizer object.

Reimplemented in OdGsBaseVectorizer.

◆ pline()

void OdGiBaseVectorizer::pline ( const OdGiPolyline polyline,
OdUInt32  fromIndex = 0,
OdUInt32  numSegs = 0 
)
virtual

Introduces a lightweight polyline into this vectorization context.

Remarks
The polyline may contain varying segment widths, straight segments and arc segments.

The polyline takes on the current color.

All points must be coplanar.

Parameters
polyline[in] Polyline.
fromIndex[in] Index of the first segment to be processed.
numSegs[in] Number of segments to be processed (0 indicates all segments).

Implements OdGiGeometry.

◆ polygon() [1/2]

void OdGiBaseVectorizer::polygon ( OdInt32  numVertices,
const OdGePoint3d vertexList 
)
virtual

Introduces a polygon to this vectorization context.

Remarks
The polygon is filled and takes on the current color. Use polyline() to render unfilled areas.

The polygon is rendered as a series of lines connecting the first point in vertexList to the second, the second to the third, etc. All points must be coplanar.

Parameters
numVertices[in] Number of vertices.
vertexList[in] Array of vertices.

Implements OdGiGeometry.

◆ polygon() [2/2]

void OdGiBaseVectorizer::polygon ( OdInt32  numVertices,
const OdGePoint3d vertexList,
const OdGeVector3d pNormal 
)
virtual

Introduces a polygon (with a normal) to this vectorization context.

Remarks
The polygon is filled and takes on the current color. Use polyline() to render unfilled areas.

The polygon is rendered as a series of lines connecting the first point in vertexList to the second, the second to the third, etc. All points must be coplanar.

Parameters
numVertices[in] Number of vertices.
vertexList[in] Array of vertices.
pNormal[in] Pointer to the normal vector.

Reimplemented from OdGiGeometry.

◆ polygonDc()

void OdGiBaseVectorizer::polygonDc ( OdUInt32  numVertices,
const OdGePoint3d vertexList 
)
virtual

Draws a filled polygon, with coordinates specified in normalized device Coordinates.

Parameters
numVertices[in] Number of vertices in the polygon.
vertexList[in] Vertices of the polygon.
See also
Coordinate Systems

Implements OdGiViewportGeometry.

◆ polygonEye()

void OdGiBaseVectorizer::polygonEye ( OdUInt32  numVertices,
const OdGePoint3d vertexList 
)
virtual

Draws a filled polygon, with coordinates specified in Eye Coordinates.

Parameters
numVertices[in] Number of vertices in the polygon.
vertexList[in] Vertices of the polygon.
See also
Coordinate Systems

Implements OdGiViewportGeometry.

◆ polyline()

void OdGiBaseVectorizer::polyline ( OdInt32  numVertices,
const OdGePoint3d vertexList,
const OdGeVector3d pNormal = 0,
OdGsMarker  baseSubEntMarker = -1 
)
virtual

Introduces a polyline to this vectorization context.

Remarks
The polyline is unfilled and takes on the current color and thickness. Use polygon() to render filled areas.

The polyline is rendered as a series of lines connecting the first point in vertexList to the second, the second to the third, etc. All points must be coplanar.

Use polygon() to render closed areas.

Parameters
numVertices[in] Number of vertices.
vertexList[in] Array of vertices.
pNormal[in] Pointer to the normal vector.
baseSubEntMarker[in] Not used.

Implements OdGiGeometry.

◆ polylineDc()

void OdGiBaseVectorizer::polylineDc ( OdUInt32  numVertices,
const OdGePoint3d vertexList 
)
virtual

Draws a polyline, with coordinates specified in normalized device Coordinates.

Parameters
numVertices[in] Number of vertices in the polyline.
vertexList[in] Vertices of the polyline.
Remarks
This polyline is drawn with a continuous linetype.
See also
Coordinate Systems

Implements OdGiViewportGeometry.

◆ polylineEye()

void OdGiBaseVectorizer::polylineEye ( OdUInt32  numVertices,
const OdGePoint3d vertexList 
)
virtual

Draws a polyline, with coordinates specified in Eye Coordinates.

Parameters
numVertices[in] Number of vertices.
vertexList[in] Array of vertices.
Remarks
This polyline is drawn with a continuous linetype.
See also
Coordinate Systems

Implements OdGiViewportGeometry.

◆ polypoint()

void OdGiBaseVectorizer::polypoint ( OdInt32  numPoints,
const OdGePoint3d vertexList,
const OdCmEntityColor pColors,
const OdCmTransparency pTransparency,
const OdGeVector3d pNormals,
const OdGsMarker pSubEntMarkers,
OdInt32  nPointSize 
)
virtual

Introduces an array of points to this vectorization context.

Parameters
numPoints[in] Number of point in array.
vertexList[in] Array of points.
pColors[in] Array of colors.
pTransparency[in] Array of transparencies.
pNormals[in] Optional array of normal vectors.
pSubEntMarkers[in] Optional array of subentity markers.
nPointSize[in] Size of points in pixels.
Remarks
The points takes on the current color if pColors array doesn't specified.

Lengths of pColors, pTransparency, pNormals and pSubEntMarkers arrays if them set must be equal to numPoints.

Reimplemented from OdGiGeometry.

◆ popClipBoundary()

void OdGiBaseVectorizer::popClipBoundary ( )
virtual

Removes the top clip boundary from the clip stack.

Implements OdGiGeometry.

Reimplemented in OdGsBaseVectorizer.

◆ popModelTransform()

void OdGiBaseVectorizer::popModelTransform ( )
virtual

Removes the top transformation off the current transformation stack.

Implements OdGiGeometry.

Reimplemented in OdGsBaseVectorizer, and OdGiBaseVectorizerImpl.

◆ pushClipBoundary() [1/2]

void OdGiBaseVectorizer::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.

Implements OdGiGeometry.

Reimplemented in OdGsBaseVectorizer.

◆ pushClipBoundary() [2/2]

void OdGiBaseVectorizer::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 OdGiGeometry.

Reimplemented in OdGsBaseVectorizer.

◆ pushModelTransform() [1/2]

void OdGiBaseVectorizer::pushModelTransform ( const OdGeMatrix3d xfm)
virtual

Specifies a model transformation matrix for the current transformation stack.

Remarks
The specified transformation is concatenated to the current model transformation (which is initially the identity transform). The resulting model transformation is subsequently applied to all geometry introduced into this vectorization context, until popModelTransform() is called.
Parameters
xfm[in] Transformation matrix.

Implements OdGiGeometry.

Reimplemented in OdGsBaseVectorizer, and OdGiBaseVectorizerImpl.

◆ pushModelTransform() [2/2]

void OdGiBaseVectorizer::pushModelTransform ( const OdGeVector3d normal)
virtual

Specifies a model transformation matrix for the current transformation stack.

Remarks
When a vector is specified, the transformation is created using the arbitrary axis algorithm on the vector.

The specified transformation is concatenated to the current model transformation (which is initially the identity transform). The resulting model transformation is subsequently applied to all geometry introduced into this vectorization context, until popModelTransform() is called.

Parameters
normal[in] Normal vector.

Implements OdGiGeometry.

Reimplemented in OdGsBaseVectorizer, and OdGiBaseVectorizerImpl.

◆ queryX()

OdRxObject* OdGiBaseVectorizer::queryX ( const OdRxClass pProtocolClass) const
virtual

Returns the Protocol Extension object for this object.

Remarks
Returns NULL if no protocol extension class exists.

Reimplemented from OdRxObject.

◆ rasterImageDc()

void OdGiBaseVectorizer::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 
)
virtual

Draws the specified raster image.

Parameters
origin[in] Image origin.
u[in] Image width vector.
v[in] Image height vector.
pImage[in] Pointer to the image object.
uvBoundary[in] Array of image boundary points (may not be null).
numBoundPts[in] Number of boundary points.
transparency[in] True if and only if image transparency is on.
brightness[in] Image brightness [0 .. 100].
contrast[in] Image contrast [0 .. 100].
fade[in] Image fade value [0 .. 100].
Remarks
All coordinates are in Model coordinates.

Implements OdGiViewportGeometry.

◆ rawGeometry()

OdGiGeometry& OdGiBaseVectorizer::rawGeometry ( ) const
virtual

Provides access to this object's "drawing interface."

Remarks
The "drawing interface" is a set of geometry functions used during the vectorization process.

Reimplemented from OdGiWorldDrawImpl.

◆ ray()

void OdGiBaseVectorizer::ray ( const OdGePoint3d basePoint,
const OdGePoint3d throughPoint 
)
virtual

Introduces a Ray into this vectorization context.

Remarks
A Ray is a semi-infinite line that starts at the basePoint, and passes through the throughPoint.

The ray takes on the current color.

Parameters
basePoint[in] Base point.
throughPoint[in] Through point

Implements OdGiGeometry.

Reimplemented in OdGiBaseVectorizerImpl.

◆ regenAbort()

bool OdGiBaseVectorizer::regenAbort ( ) const
virtual

Returns true if and only if regen was aborted.

Implements OdGiConveyorContext.

Reimplemented in OdGsBaseVectorizer, and OdGiExtCalc.

◆ regenType()

OdGiRegenType OdGiBaseVectorizer::regenType ( ) const
virtual

Returns the regeneration type of the current vectorization process.

Remarks
regenType() returns one of the following:

Value eOdGiRegenTypeInvalid 0 kOdGiStandardDisplay 2 kOdGiHideOrShadeCommand 3 kOdGiRenderCommand 4 kOdGiForExplode 5 kOdGiSaveWorldDrawForProxy 6 kOdGiForExtents 7

Implements OdGiCommonDraw.

Reimplemented in OdGiBaseVectorizerImpl, and OdGiExtCalc.

◆ resetEntityTraitsData()

void OdGiBaseVectorizer::resetEntityTraitsData ( )
inlineprotected

Definition at line 818 of file GiBaseVectorizer.h.

◆ rowOfDots()

void OdGiBaseVectorizer::rowOfDots ( OdInt32  numPoints,
const OdGePoint3d startPoint,
const OdGeVector3d dirToNextPoint 
)
virtual

Introduces a row of points to this vectorization context.

Parameters
numPoints[in] Number of points to draw.
startPoint[in] First point to draw.
dirToNextPoint[in] Offset and direction between next points.
Remarks
The points takes on the current color.

Reimplemented from OdGiGeometry.

◆ saveByBlockTraits()

OdRxObjectPtr OdGiBaseVectorizer::saveByBlockTraits ( )

◆ selectionMarker()

OdGsMarker OdGiBaseVectorizer::selectionMarker ( ) const

Returns current selection marker state.

◆ selectionMarkerOnChange()

virtual void OdGiBaseVectorizer::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 in OdGsBaseVectorizer.

◆ sequenceNumber()

OdUInt32 OdGiBaseVectorizer::sequenceNumber ( ) const
virtual
Remarks
The default implementation of this function always returns 0.

Implements OdGiViewportDraw.

Reimplemented in OdGiBaseVectorizerImpl.

◆ setAttributes()

virtual OdUInt32 OdGiBaseVectorizer::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.

◆ setByBlockTraits()

void OdGiBaseVectorizer::setByBlockTraits ( const OdGiSubEntityTraitsData pByBlock)
inline

Definition at line 772 of file GiBaseVectorizer.h.

◆ setColor()

void OdGiBaseVectorizer::setColor ( OdUInt16  color)
virtual

Sets the current color index (ACI).

Parameters
color[in] Color index.
Remarks
color must be one of the following:

Value Description kACIbyBlock 0 ByBlock. kACIforeground 7 Foreground color. kACIbyLayer 256 ByLayer. kACIRed 1 Red. kACIYellow 2 Yellow. kACIGreen 3 Green. kACICyan 4 Cyan. kACIBlue 5 Blue. kACIMagenta 6 Magenta. .. 8-255 Defined by AcadPalette.h

Reimplemented from OdGiWorldDrawImpl.

◆ setDrawContextFlags()

void OdGiBaseVectorizer::setDrawContextFlags ( OdUInt32  flags,
bool  bFlag 
)

◆ setDrawFlags()

void OdGiBaseVectorizer::setDrawFlags ( OdUInt32  drawFlags)
virtual

Sets the drawing flags.

Parameters
drawFlags[in] Input bitmask with DrawFlags.

Reimplemented from OdGiWorldDrawImpl.

◆ setEffectiveMaterialTraitsData()

void OdGiBaseVectorizer::setEffectiveMaterialTraitsData ( OdDbStub *  materialId,
const OdGiMaterialTraitsData data,
bool  bForce = false 
)

◆ setEffectiveTraits()

virtual void OdGiBaseVectorizer::setEffectiveTraits ( const OdGiSubEntityTraitsData traits,
const OdGeVector3d fillNormal = NULL 
)
virtual

Sets the traits currently in effect for this ConveyorContext object.

Parameters
traits[in] New traits data which will be used for effective traits substitution.
fillNormal[in] Optional fill normal.

Implements OdGiConveyorContext.

◆ setEntityTraitsDataChanged() [1/2]

virtual void OdGiBaseVectorizer::setEntityTraitsDataChanged ( )
inlinevirtual

Marks as changed the EntityTraitsData data for this Vectorizer object.

Reimplemented in OdGsBaseVectorizer.

Definition at line 230 of file GiBaseVectorizer.h.

◆ setEntityTraitsDataChanged() [2/2]

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

Marks as changed the EntityTraitsData data for this Vectorizer object.

Reimplemented in OdGsBaseVectorizer.

Definition at line 234 of file GiBaseVectorizer.h.

◆ setExtents()

void OdGiBaseVectorizer::setExtents ( const OdGePoint3d newExtents)
virtual

Sets the extents of the current object.

Parameters
newExtents[in] Array[2] of WCS points.
Remarks
Generation of model coordinate geometry automatically calculates the extents. You may override this calculation with this function.

Implements OdGiWorldGeometry.

Reimplemented in OdGiBaseVectorizerImpl, and OdGiExtCalc.

◆ setEyeToOutputTransform()

void OdGiBaseVectorizer::setEyeToOutputTransform ( const OdGeMatrix3d xfm)

Sets the Eye to Output transformation matrix for this Vectorizer object.

Parameters
xfm[in] Transformation matrix.

◆ setFill()

void OdGiBaseVectorizer::setFill ( const OdGiFill pFill)
virtual

Sets boundary filling.

Parameters
pFill[in] Boundary filling parameters.

Reimplemented from OdGiWorldDrawImpl.

◆ setFillType()

void OdGiBaseVectorizer::setFillType ( OdGiFillType  fillType)
virtual

Sets the current fill type.

Parameters
fillType[in] Fill type.
Remarks
fillType must be one of the following:

Value Description kOdGiFillAlways 1 Fill closed graphic primitives. kOdGiFillNever 2 Don't fill closed graphic primitives.

Closed graphic primitives consist of the following: arcs with (OdGiArcType == kOdGiArcSector) || (OdGiArcType == kOdGiArcChord) circles meshes polygons shells

Reimplemented from OdGiWorldDrawImpl.

Reimplemented in OdGiBaseVectorizerImpl.

◆ setLayer()

void OdGiBaseVectorizer::setLayer ( OdDbStub *  layerId)
virtual

Sets the current layer.

Parameters
layerId[in] Object ID of the LayerTableRecord.

Reimplemented from OdGiWorldDrawImpl.

◆ setLineStyleModifiers()

void OdGiBaseVectorizer::setLineStyleModifiers ( const OdGiDgLinetypeModifiers pLSMod)
virtual

Sets Dgn Line Style modifiers.

Parameters
pLSMod[in] Pointer to structure with Dgn Line Style modifiers.

Reimplemented from OdGiWorldDrawImpl.

◆ setLineType()

void OdGiBaseVectorizer::setLineType ( OdDbStub *  lineTypeId)
virtual

Sets the current linetype.

Parameters
lineTypeId[in] Object ID of the LinetypeTableRecord.

Reimplemented from OdGiWorldDrawImpl.

◆ setLineTypeScale()

void OdGiBaseVectorizer::setLineTypeScale ( double  lineTypeScale)
virtual

Sets the current linetype scale.

Parameters
lineTypeScale[in] Linetype scale factor.

Reimplemented from OdGiWorldDrawImpl.

◆ setLineWeight()

void OdGiBaseVectorizer::setLineWeight ( OdDb::LineWeight  lineWeight)
virtual

Sets the current lineweight.

Parameters
lineWeight[in] Lineweight.

Reimplemented from OdGiWorldDrawImpl.

◆ setMapper()

void OdGiBaseVectorizer::setMapper ( const OdGiMapper pMapper)
virtual

Sets the current material mapper.

Parameters
pMapper[in] Pointer to the GI mapper object.

Reimplemented from OdGiWorldDrawImpl.

◆ setMaterial()

void OdGiBaseVectorizer::setMaterial ( OdDbStub *  materialId)
virtual

Sets the current material.

Parameters
materialId[in] Object ID of the material.

Reimplemented from OdGiWorldDrawImpl.

◆ setPlotStyleName()

void OdGiBaseVectorizer::setPlotStyleName ( OdDb::PlotStyleNameType  plotStyleNameType,
OdDbStub *  plotStyleNameId = 0 
)
virtual

Sets the current PlotStyleName.

Parameters
plotStyleNameType[in] Plot Style Name Type.
plotStyleNameId[in] Object ID of the Plot Style Name.
Remarks
plotStyleNameId is used only when plotStyleNameType == kPlotStyleNameById.

plotStyleNameType must be one of the following:

Value
kPlotStyleNameByLayer 0 kPlotStyleNameByBlock 1 kPlotStyleNameIsDictDefault 2 kPlotStyleNameById 3

Reimplemented from OdGiWorldDrawImpl.

◆ setPlotStyleNameId()

void OdGiBaseVectorizer::setPlotStyleNameId ( OdDbStub *  plotStyleNameId)

Sets the PlotStyleName for this Vectorizer object.

Parameters
plotStyleNameId[in] Pointer to the Object ID of the plot style name.

◆ setPlotStyleNameType()

void OdGiBaseVectorizer::setPlotStyleNameType ( OdDb::PlotStyleNameType  plotStyleNameType)

Sets the Plot Style Name Type for this Vectorizer object.

Parameters
plotStyleNameType[in] Plot Style Name Type.
Remarks
plotStyleNameType must be one of the following:

Value
OdDb::kPlotStyleNameByLayer 0 OdDb::kPlotStyleNameByBlock 1 OdDb::kPlotStyleNameIsDictDefault 2 OdDb::kPlotStyleNameById 3

◆ setSecondaryTrueColor()

void OdGiBaseVectorizer::setSecondaryTrueColor ( const OdCmEntityColor color)
virtual

Sets the current secondary color from an OdCmEntityColor instance.

Parameters
color[in] OdCmEntityColor object.

Reimplemented from OdGiWorldDrawImpl.

◆ setSectionable()

void OdGiBaseVectorizer::setSectionable ( bool  bSectionableFlag)
virtual

Sets sectionable flag.

Parameters
bSectionableFlag[in] New sectionable flag.

Reimplemented from OdGiWorldDrawImpl.

◆ setSelectionFlags()

void OdGiBaseVectorizer::setSelectionFlags ( SelectionFlags  selectionFlags)
virtual

Sets the selection flags.

Parameters
selectionFlags[in] Input SelectionFlags.

Reimplemented from OdGiWorldDrawImpl.

◆ setSelectionGeom()

void OdGiBaseVectorizer::setSelectionGeom ( bool  bSelectionFlag)
virtual

Sets selection geometry flag.

Parameters
bSelectionFlag[in] New selection geometry flag.

Reimplemented from OdGiWorldDrawImpl.

◆ setSelectionMarker()

void OdGiBaseVectorizer::setSelectionMarker ( OdGsMarker  selectionMarker)
virtual

Sets the current selection marker.

Parameters
marker[in] Selection marker.

Reimplemented from OdGiWorldDrawImpl.

Reimplemented in OdGsBaseVectorizer.

◆ setShadowFlags()

void OdGiBaseVectorizer::setShadowFlags ( ShadowFlags  shadowFlags)
virtual

Sets the shadow flags.

Parameters
shadowFlags[in] Input ShadowFlags.

Reimplemented from OdGiWorldDrawImpl.

◆ setThickness()

void OdGiBaseVectorizer::setThickness ( double  thickness)
virtual

Sets the current thickness.

Parameters
thickness[in] Thickness.

Reimplemented from OdGiWorldDrawImpl.

◆ setTransparency()

void OdGiBaseVectorizer::setTransparency ( const OdCmTransparency transparency)
virtual

Sets the current transparency.

Parameters
transparency[in] OdCmTransparency object.

Reimplemented from OdGiWorldDrawImpl.

◆ setTrueColor()

void OdGiBaseVectorizer::setTrueColor ( const OdCmEntityColor color)
virtual

Sets the current color from an OdCmEntityColor instance.

Parameters
color[in] OdCmEntityColor object.

Reimplemented from OdGiWorldDrawImpl.

◆ setVisualStyle()

void OdGiBaseVectorizer::setVisualStyle ( const OdDbStub *  visualStyleId)
virtual

Sets the current visual style.

Parameters
visualStyleId[in] Object ID of the visual style.

Reimplemented from OdGiWorldDrawImpl.

◆ setXrefOverride()

void OdGiBaseVectorizer::setXrefOverride ( bool  bSet)
inline

Definition at line 659 of file GiBaseVectorizer.h.

◆ shape()

void OdGiBaseVectorizer::shape ( const OdGePoint3d position,
const OdGeVector3d normal,
const OdGeVector3d direction,
int  shapeNumber,
const OdGiTextStyle pTextStyle 
)

Introduces a shape into this vectorization context.

Parameters
position[in] Position of the shape.
shapeNumber[in] Shape number.
pTextStyle[in] Pointer to the TextStyle for the shape.
direction[in] Baseline direction for the shape.
normal[in] Normal vector.

◆ shell()

void OdGiBaseVectorizer::shell ( OdInt32  numVertices,
const OdGePoint3d vertexList,
OdInt32  faceListSize,
const OdInt32 faceList,
const OdGiEdgeData pEdgeData = 0,
const OdGiFaceData pFaceData = 0,
const OdGiVertexData pVertexData = 0 
)
virtual

Introduces a shell into this vectorization context.

Parameters
numVertices[in] Number of vertices.
vertexList[in] Array of vertices.
faceListSize[in] Number of entries in facesList.
faceList[in] Array of integers defining faces.
pEdgeData[in] Pointer to additional edge data.
pFaceData[in] Pointer to additional face data.
pVertexData[in] Pointer to additional vertex data.
Remarks
A shell is a set of faces that can contain holes, and corresponds to a Polyface mesh.

By default, a mesh takes on the current color. Color, linetype, and and other properties can be controlled supplying the appropriate data for the pEdgeData, pFaceData, and pVertexData arguments.

Remarks
The arrays in *pEdgeData must be NULL or contain the same number of elements as there are edges. The arrays in *pFaceData must be NULL or contain the same number of elements as there are faces. The arrays in *pVertexData must be NULL or contain numVertices elements.
See also
Faces

Implements OdGiGeometry.

Reimplemented in OdGiBaseVectorizerImpl.

◆ startAttributesSegment()

void OdGiBaseVectorizer::startAttributesSegment ( )
virtual

Starts segment of OdDbAttributes for block.

Remarks
If this drawable is a block and has OdDbAttributes it must call this method exactly once before sending the attributes to draw(). Once this is called the object may draw only attributes and no more primitives The attributes must be the last objects vectorized.

Reimplemented from OdGiWorldGeometry.

◆ subEntityTraits()

OdGiSubEntityTraits& OdGiBaseVectorizer::subEntityTraits ( ) const
virtual

Provides access to this object's subentity traits.

Remarks
This allows the modification of the vectorization attributes such as color, linetype, etc.

Reimplemented from OdGiWorldDrawImpl.

◆ switchLayer()

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

Reimplemented in OdGsBaseVectorizer.

◆ text() [1/2]

void OdGiBaseVectorizer::text ( const OdGePoint3d position,
const OdGeVector3d normal,
const OdGeVector3d direction,
const OdChar msg,
OdInt32  length,
bool  raw,
const OdGiTextStyle pTextStyle 
)
virtual

Introduces text into this vectorization context.

Parameters
position[in] Position of the text string.
normal[in] Normal vector of the text.
direction[in] Baseline direction of the text.
msg[in] Text string.
length[in] Number of characters in msg (not including the optional null character).
raw[in] If and only if true, escape sequences, such as %P, will not be converted to special characters.
pTextStyle[in] Pointer to the TextStyle for the text.

Implements OdGiGeometry.

◆ text() [2/2]

void OdGiBaseVectorizer::text ( const OdGePoint3d position,
const OdGeVector3d normal,
const OdGeVector3d direction,
double  height,
double  width,
double  oblique,
const OdString msg 
)
virtual

Introduces text into this vectorization context.

Parameters
position[in] Position of the text string.
normal[in] Normal vector of the text.
direction[in] Baseline direction of the text.
height[in] Height of the text.
width[in] Width factor of the text.
oblique[in] Oblique angle.
msg[in] Text string.
Remarks
The text takes on the current color.

If numBytes is not specified, msg must be null terminated.

Remarks
All angles are expressed in radians.

As currently implemented, this function ignores width and oblique. They will be fully implemented in a future release.

Implements OdGiGeometry.

◆ updateLayerTraits()

void OdGiBaseVectorizer::updateLayerTraits ( OdGiSubEntityTraitsData subEntityTraits) const
protected

Updates the layer traits for this Vectorizer object from the specified subentity traits.

Parameters
subEntityTraits[in] Subentity traits.

◆ viewport()

OdGiViewport& OdGiBaseVectorizer::viewport ( ) const
virtual

Returns a reference to the OdGiViewport object associated with this object.

Remarks
The OdGiViewport contains information specific to the viewport being drawn.

Implements OdGiViewportDraw.

Reimplemented in OdGiBaseVectorizerImpl.

◆ viewportObjectId()

OdDbStub* OdGiBaseVectorizer::viewportObjectId ( ) const
virtual
Remarks
The default implementation of this function always returns 0.

Implements OdGiViewportDraw.

Reimplemented in OdGiBaseVectorizerImpl.

◆ worldDeviation()

const OdGiDeviation& OdGiBaseVectorizer::worldDeviation ( ) const
virtual

Returns the maximum world (WCS) deviation for this VectorizeView object.

Implements OdGiConveyorContext.

◆ worldLine()

void OdGiBaseVectorizer::worldLine ( const OdGePoint3d  points[2])
virtual

Introduces a line into this vectorization context.

Parameters
points[in] Array of WCS start and end points.
  \remarks
The current model transformation is not applied to the line.

Implements OdGiGeometry.

◆ xline()

void OdGiBaseVectorizer::xline ( const OdGePoint3d firstPoint,
const OdGePoint3d secondPoint 
)
virtual

Introduces an Xline into this vectorization context.

Remarks
Xlines are infinite lines passing through two points.

The xline takes on the current color.

Parameters
firstPoint[in] First point.
secondPoint[in] Second point.

Implements OdGiGeometry.

Reimplemented in OdGiBaseVectorizerImpl.

Member Data Documentation

◆ g_entityTraitsDataReset

ODGI_EXPORT_STATIC const OdGiSubEntityTraitsData OdGiBaseVectorizer::g_entityTraitsDataReset
staticprotected

Definition at line 177 of file GiBaseVectorizer.h.

◆ m_byBlockMaterialId

OdDbStub* OdGiBaseVectorizer::m_byBlockMaterialId
mutableprotected

Definition at line 193 of file GiBaseVectorizer.h.

◆ m_byLayerMaterialId

OdDbStub* OdGiBaseVectorizer::m_byLayerMaterialId
mutableprotected

Definition at line 192 of file GiBaseVectorizer.h.

◆ m_drawContextFlags

OdUInt32 OdGiBaseVectorizer::m_drawContextFlags
protected

Definition at line 339 of file GiBaseVectorizer.h.

◆ m_effectiveEntityTraitsData

OdGiSubEntityTraitsData OdGiBaseVectorizer::m_effectiveEntityTraitsData
mutableprotected

Definition at line 175 of file GiBaseVectorizer.h.

◆ m_effectiveLayerId

OdDbStub* OdGiBaseVectorizer::m_effectiveLayerId
mutableprotected

Definition at line 201 of file GiBaseVectorizer.h.

◆ m_effectiveLayerTraits

OdGiLayerTraitsTaker OdGiBaseVectorizer::m_effectiveLayerTraits
mutableprotected

Definition at line 180 of file GiBaseVectorizer.h.

◆ m_effectiveMaterialId

OdDbStub* OdGiBaseVectorizer::m_effectiveMaterialId
mutableprotected

Definition at line 196 of file GiBaseVectorizer.h.

◆ m_effectiveMaterialTraitsData

OdGiMaterialTraitsCache OdGiBaseVectorizer::m_effectiveMaterialTraitsData
mutableprotected

Definition at line 195 of file GiBaseVectorizer.h.

◆ m_entityTraitsDataChanged

OdUInt32 OdGiBaseVectorizer::m_entityTraitsDataChanged
mutableprotected

Definition at line 284 of file GiBaseVectorizer.h.

◆ m_eyeEntryPoint

OdGiConveyorConnector OdGiBaseVectorizer::m_eyeEntryPoint
protected

Definition at line 285 of file GiBaseVectorizer.h.

◆ m_flags

OdUInt32 OdGiBaseVectorizer::m_flags
mutableprotected

Definition at line 338 of file GiBaseVectorizer.h.

◆ m_layerId

OdDbStub* OdGiBaseVectorizer::m_layerId
mutableprotected

Definition at line 179 of file GiBaseVectorizer.h.

◆ m_lsModifiers

OdGiDgLinetypeModifiers OdGiBaseVectorizer::m_lsModifiers
protected

Definition at line 209 of file GiBaseVectorizer.h.

◆ m_materialAttributes

OdUInt32 OdGiBaseVectorizer::m_materialAttributes
mutableprotected

Definition at line 194 of file GiBaseVectorizer.h.

◆ m_materialId

OdDbStub* OdGiBaseVectorizer::m_materialId
mutableprotected

Definition at line 191 of file GiBaseVectorizer.h.

◆ m_materialMapper

OdGiMapper OdGiBaseVectorizer::m_materialMapper
protected

Definition at line 206 of file GiBaseVectorizer.h.

◆ m_modelEntryPoint

OdGiConveyorConnector OdGiBaseVectorizer::m_modelEntryPoint
protected

Definition at line 311 of file GiBaseVectorizer.h.

◆ m_nDrawableAttributes

OdUInt32 OdGiBaseVectorizer::m_nDrawableAttributes

Definition at line 319 of file GiBaseVectorizer.h.

◆ m_nPrevSelectionMarker

OdGsMarker OdGiBaseVectorizer::m_nPrevSelectionMarker
protected

Definition at line 204 of file GiBaseVectorizer.h.

◆ m_nSelectionMarker

OdGsMarker OdGiBaseVectorizer::m_nSelectionMarker
protected

Definition at line 203 of file GiBaseVectorizer.h.

◆ m_output

OdGiConveyorConnector OdGiBaseVectorizer::m_output
protected

Definition at line 315 of file GiBaseVectorizer.h.

◆ m_pActiveEntryPoint

OdGiConveyorConnector* OdGiBaseVectorizer::m_pActiveEntryPoint
protected

Definition at line 312 of file GiBaseVectorizer.h.

◆ m_pByBlock

const OdGiSubEntityTraitsData* OdGiBaseVectorizer::m_pByBlock
protected

Definition at line 341 of file GiBaseVectorizer.h.

◆ m_pCurLSModifiers

OdGiDgLinetypeModifiers* OdGiBaseVectorizer::m_pCurLSModifiers
protected

Definition at line 210 of file GiBaseVectorizer.h.

◆ m_pCurMaterialMapper

OdGiMapper* OdGiBaseVectorizer::m_pCurMaterialMapper
protected

Definition at line 207 of file GiBaseVectorizer.h.

◆ m_pDrawableDesc

OdGiDrawableDesc* OdGiBaseVectorizer::m_pDrawableDesc

Definition at line 318 of file GiBaseVectorizer.h.

◆ m_pFill

OdGiFillPtr OdGiBaseVectorizer::m_pFill
protected

Definition at line 212 of file GiBaseVectorizer.h.

◆ m_pGiReserved

OdRxObjectPtr OdGiBaseVectorizer::m_pGiReserved
protected

Definition at line 283 of file GiBaseVectorizer.h.

◆ m_pModelToEyeProc

OdGiModelToViewProcPtr OdGiBaseVectorizer::m_pModelToEyeProc
protected

Definition at line 314 of file GiBaseVectorizer.h.


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