CFx SDK Documentation  2022 SP0
Public Member Functions | Protected Attributes | List of all members
OdGiExtCalc Class Reference

#include <GiBaseVectorizer.h>

Inheritance diagram for OdGiExtCalc:
OdGiBaseVectorizer OdGiWorldDrawImpl OdGiViewportDraw_ OdGiConveyorContext OdGiDeviation OdGiSubEntityTraitsChangedFlags OdGiDummyCommonDraw< OdGiWorldDraw_ > OdGiSubEntityTraits OdGiViewportDraw OdGiViewportGeometry OdGiWorldDraw_ OdGiDrawableTraits OdGiCommonDraw OdGiGeometry OdGiWorldDraw OdGiWorldGeometry OdRxObject OdRxObject OdRxObject OdGiCommonDraw OdGiGeometry OdRxObject OdRxObject

Public Member Functions

 OdGiExtCalc ()
 
virtual ~OdGiExtCalc ()
 
OdGiRegenType regenType () const
 
bool regenAbort () const
 
void draw (const OdGiDrawable *pDrawable)
 
void setExtents (const OdGePoint3d *newExtents)
 
void resetExtents ()
 
void getExtents (OdGeExtents3d &extents) const
 
void setContext (OdGiContext *pUserContext)
 
const OdGiSubEntityTraitsDataeffectiveTraits () const
 
void affectTraits (const OdGiSubEntityTraitsData *pSource, OdGiSubEntityTraitsData &destination) const
 
bool isSetExtentsCalled () const
 
- Public Member Functions inherited from OdGiBaseVectorizer
bool isEntityTraitsDataChanged (int bit=kSomeChanged) const
 
virtual void setEntityTraitsDataChanged ()
 
virtual void setEntityTraitsDataChanged (int bit, bool value=true)
 
void clearEntityTraitsDataChanged () const
 
bool effectivelyVisible () const
 
OdGiContextgiContext () const
 
const OdGiDrawableDesccurrentDrawableDesc () const
 
const OdGiDrawablecurrentDrawable () const
 
const OdGiViewportgiViewport () const
 
const OdGsViewgsView () const
 
const OdGiDrawableDescdrawableDesc () const
 
virtual 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
 
OdGiSubEntityTraitssubEntityTraits () const
 
double deviation (const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve) 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)
 
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 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
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 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
 

Protected Attributes

bool m_BBoxSet
 
OdGiExtAccumPtr m_pExtAccum
 
- 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
 

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 ()
 
- Public Attributes inherited from OdGiBaseVectorizer
OdGiDrawableDescm_pDrawableDesc
 
OdUInt32 m_nDrawableAttributes
 
- 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 inherited from OdGiBaseVectorizer
 ODRX_HEAP_OPERATORS ()
 
void actualizeMaterialAttributes (OdDbStub *materialId) const
 
virtual OdDbStub * switchLayer (OdDbStub *layerId) const
 
virtual const OdGiLayerTraitsDataeffectiveLayerTraits () const
 
virtual bool layerVisible (OdDbStub *layerId) const
 
void updateLayerTraits (OdGiSubEntityTraitsData &subEntityTraits) const
 
const OdGeVector3dextrusion (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint)
 
const OdGeVector3dextrusion (const OdGeVector3d &normal)
 
const OdGeVector3dextrusion (const OdGeVector3d *pNormal)
 
const OdGeVector3dextrusion (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v)
 
virtual 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 inherited from OdGiBaseVectorizer
static OdRxClassdesc ()
 
- Static Protected Attributes inherited from OdGiBaseVectorizer
static ODGI_EXPORT_STATIC const OdGiSubEntityTraitsData g_entityTraitsDataReset
 

Detailed Description

This class is an implementation of the subWorldDraw() framework to calculate the WCS extents of an OdGiDrawable object. Corresponding C++ library: TD_Gi <group OdGi_Classes>

Definition at line 781 of file GiBaseVectorizer.h.

Constructor & Destructor Documentation

◆ OdGiExtCalc()

OdGiExtCalc::OdGiExtCalc ( )

◆ ~OdGiExtCalc()

virtual OdGiExtCalc::~OdGiExtCalc ( )
virtual

Member Function Documentation

◆ affectTraits()

void OdGiExtCalc::affectTraits ( const OdGiSubEntityTraitsData pSource,
OdGiSubEntityTraitsData destination 
) const
virtual

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 from OdGiBaseVectorizer.

◆ draw()

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

Reimplemented from OdGiBaseVectorizer.

◆ effectiveTraits()

const OdGiSubEntityTraitsData& OdGiExtCalc::effectiveTraits ( ) const
virtual

Returns the EntityTraitsData in effect for this Vectorization object.

Reimplemented from OdGiBaseVectorizer.

◆ getExtents()

void OdGiExtCalc::getExtents ( OdGeExtents3d extents) const

Returns the accumulated extents for the OdGiDrawable object associated with this Vectorization object.

Parameters
extents[out] Receives the extents.

◆ isSetExtentsCalled()

bool OdGiExtCalc::isSetExtentsCalled ( ) const
inline

Definition at line 814 of file GiBaseVectorizer.h.

◆ regenAbort()

bool OdGiExtCalc::regenAbort ( ) const
virtual

Returns true if and only if regen was aborted.

Reimplemented from OdGiBaseVectorizer.

◆ regenType()

OdGiRegenType OdGiExtCalc::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

Reimplemented from OdGiBaseVectorizer.

◆ resetExtents()

void OdGiExtCalc::resetExtents ( )

Resets the accumulated extents for the OdGiDrawable object associated with this Vectorization object.

◆ setContext()

void OdGiExtCalc::setContext ( OdGiContext pUserContext)
virtual

Sets the OdGiContext instance associated with this object.

Parameters
pUserContext[in] Pointer to the user context.

Reimplemented from OdGiWorldDrawImpl.

◆ setExtents()

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

Reimplemented from OdGiBaseVectorizer.

Member Data Documentation

◆ m_BBoxSet

bool OdGiExtCalc::m_BBoxSet
protected

Definition at line 784 of file GiBaseVectorizer.h.

◆ m_pExtAccum

OdGiExtAccumPtr OdGiExtCalc::m_pExtAccum
protected

Definition at line 785 of file GiBaseVectorizer.h.


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