CFx SDK Documentation  2023 SP0
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
OdGiBaseVectorizerImpl Class Reference

#include <GiBaseVectorizerImpl.h>

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

Public Member Functions

 OdGiBaseVectorizerImpl ()
 
virtual void setUp (OdGsViewImpl &view)
 
OdGsViewImplview () const
 
OdUInt32 awareFlags () const
 
OdUInt32awareFlags ()
 
void resetAwareFlags ()
 
const OdPsPlotStyleDataeffectivePlotStyle () const
 
OdGsView::RenderMode getRenderMode () const
 
void clearLinetypeCache ()
 
void setLinetypesEnabled (bool bEnable)
 
bool isLinetypesEnabled () const
 
void setModelSection (OdGiDrawable *pSection, bool bUseSectionGeometryMap)
 
const OdGiDrawableliveSection () const
 
OdGeMatrix3d modelToWorldTransform () const
 
OdGeMatrix3d worldToModelTransform () const
 
virtual OdGeMatrix3d objectToDeviceMatrix () const
 
int lineweightToPixels (OdDb::LineWeight lineweight) const
 
double lineweightToPixels (double lineweight) const
 
bool hasLineweightOverride () const
 
bool hasLinestyleOverride () const
 
const OdGiLineweightOverridecurrentLineweightOverride () const
 
virtual OdGeMatrix3d getModelToEyeTransform () const
 
virtual OdGeMatrix3d getEyeToModelTransform () const
 
virtual OdGeMatrix3d getWorldToEyeTransform () const
 
virtual OdGeMatrix3d getEyeToWorldTransform () const
 
virtual OdGeMatrix3d getWorldToModelTransform () const
 
virtual OdGeMatrix3d getModelToWorldTransform () const
 
virtual bool isPerspective () const
 
virtual bool doPerspective (OdGePoint3d &point) const
 
virtual bool doInversePerspective (OdGePoint3d &point) const
 
virtual void getNumPixelsInUnitSquare (const OdGePoint3d &point, OdGePoint2d &pixelDensity, bool includePerspective=true) const
 
virtual OdGePoint3d getCameraLocation () const
 
virtual OdGePoint3d getCameraTarget () const
 
virtual OdGeVector3d getCameraUpVector () const
 
virtual OdGeVector3d viewDir () const
 
virtual OdUInt32 viewportId () const
 
virtual OdInt16 acadWindowId () const
 
virtual void getViewportDcCorners (OdGePoint2d &lowerLeft, OdGePoint2d &upperRight) const
 
virtual bool getFrontAndBackClipValues (bool &clipFront, bool &clipBack, double &front, double &back) const
 
virtual double linetypeScaleMultiplier () const
 
virtual double linetypeGenerationCriteria () const
 
virtual bool layerVisible (OdDbStub *layerId) const
 
const OdGiContextualColorscontextualColors () const
 
virtual void pushModelTransform (const OdGeVector3d &normal)
 
virtual void pushModelTransform (const OdGeMatrix3d &xfm)
 
virtual void popModelTransform ()
 
virtual void xline (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint)
 
virtual void ray (const OdGePoint3d &basePoint, const OdGePoint3d &throughPoint)
 
virtual void shell (OdInt32 numVertices, const OdGePoint3d *vertexList, OdInt32 faceListSize, const OdInt32 *faceList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)
 
virtual void mesh (OdInt32 numRows, OdInt32 numColumns, const OdGePoint3d *vertexList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)
 
virtual void setExtents (const OdGePoint3d *newExtents)
 
virtual double deviation (const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve) const
 
virtual OdGiRegenType regenType () const
 
virtual OdUInt32 sequenceNumber () const
 
virtual bool isValidId (const OdUInt32 viewportId) const
 
virtual OdDbStub * viewportObjectId () const
 
virtual OdGiViewportviewport () const
 
virtual void setFillPlane (const OdGeVector3d *pNormal=0)
 
virtual void setFillType (OdGiFillType fillType)
 
virtual OdUInt32 setupForEntity () const
 
virtual bool pushLineweightOverride (const OdGiLineweightOverride *pOverride)
 
virtual void popLineweightOverride ()
 
virtual const OdGiViewportgiViewport () const
 
virtual const OdGsViewgsView () const
 
virtual double annotationScale () const
 
virtual void beginViewVectorization ()
 
virtual void endViewVectorization ()
 
virtual void onTraitsModified ()
 
- Public Member Functions inherited from OdGiViewport
 ODRX_DECLARE_MEMBERS (OdGiViewport)
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 
- Public Member Functions inherited from OdGiBaseVectorizer
bool isEntityTraitsDataChanged (int bit=kSomeChanged) const
 
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 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
 
void setTrueColor (const OdCmEntityColor &trueColor)
 
void setPlotStyleNameType (OdDb::PlotStyleNameType plotStyleNameType)
 
void setPlotStyleNameId (OdDbStub *plotStyleNameId)
 
void setColor (OdUInt16 color)
 
void setLayer (OdDbStub *layerId)
 
void setLineType (OdDbStub *lineTypeId)
 
void setLineWeight (OdDb::LineWeight lineWeight)
 
void setLineTypeScale (double lineTypeScale)
 
void setThickness (double thickness)
 
void setPlotStyleName (OdDb::PlotStyleNameType plotStyleNameType, OdDbStub *pPlotStyleNameId=0)
 
void 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
 
OdUInt32 numberOfIsolines () const
 
OdGiGeometryrawGeometry () const
 
bool isDragging () const
 
OdUInt32 drawContextFlags () const
 
void setDrawContextFlags (OdUInt32 flags, bool bFlag)
 
void circle (const OdGePoint3d &center, double radius, const OdGeVector3d &normal)
 
void circle (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint)
 
void circularArc (const OdGePoint3d &center, double radius, const OdGeVector3d &normal, const OdGeVector3d &startVector, double sweepAngle, OdGiArcType arcType=kOdGiArcSimple)
 
void circularArc (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint, OdGiArcType arcType=kOdGiArcSimple)
 
void polyline (OdInt32 numVertices, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal=0, OdGsMarker baseSubEntMarker=-1)
 
void polygon (OdInt32 numVertices, const OdGePoint3d *vertexList)
 
void polygon (OdInt32 numVertices, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal)
 
void pline (const OdGiPolyline &polyline, OdUInt32 fromIndex=0, OdUInt32 numSegs=0)
 
void shape (const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, int shapeNumber, const OdGiTextStyle *pTextStyle)
 
void text (const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, double height, double width, double oblique, const OdString &msg)
 
void text (const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, const OdChar *msg, OdInt32 length, bool raw, const OdGiTextStyle *pTextStyle)
 
void nurbs (const OdGeNurbCurve3d &nurbsCurve)
 
void ellipArc (const OdGeEllipArc3d &ellipArc, const OdGePoint3d *endPointsOverrides=0, OdGiArcType arcType=kOdGiArcSimple)
 
void worldLine (const OdGePoint3d points[2])
 
void image (const OdGiImageBGRA32 &img, const OdGePoint3d &origin, const OdGeVector3d &uVec, const OdGeVector3d &vVec, OdGiRasterImage::TransparencyMode trpMode=OdGiRasterImage::kTransparency8Bit)
 
void edge (const OdGiEdge2dArray &edges)
 
void polypoint (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdCmEntityColor *pColors, const OdCmTransparency *pTransparency, const OdGeVector3d *pNormals, const OdGsMarker *pSubEntMarkers, OdInt32 nPointSize)
 
void rowOfDots (OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint)
 
void pushClipBoundary (OdGiClipBoundary *pBoundary)
 
void pushClipBoundary (OdGiClipBoundary *pBoundary, OdGiAbstractClipBoundary *pClipInfo)
 
void drawClipBoundary (OdGiClipBoundary *pBoundary, OdGiAbstractClipBoundary *pClipInfo)
 
void popClipBoundary ()
 
bool isClipping () const
 
bool isXrefOverride () const
 
void setXrefOverride (bool bSet)
 
void draw (const OdGiDrawable *pDrawable)
 
const OdGiPathNodecurrentGiPath () const
 
virtual OdUInt32 setAttributes (const OdGiDrawable *pDrawable)
 
OdUInt32 drawableAttributes () const
 
bool needDraw (OdUInt32 drawableFlags)
 
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)
 
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 OdGiWorldDraw_
OdGiWorldGeometrygeometry () const
 
const OdGiPathNodecurrentGiPath () const
 
- Public Member Functions inherited from OdGiWorldDraw
 ODRX_DECLARE_MEMBERS (OdGiWorldDraw)
 
- Public Member Functions inherited from OdGiCommonDraw
 ODRX_DECLARE_MEMBERS (OdGiCommonDraw)
 
virtual bool displayModelerSilhouettes () const
 
- Public Member Functions inherited from OdGiWorldGeometry
 ODRX_DECLARE_MEMBERS (OdGiWorldGeometry)
 
- Public Member Functions inherited from OdGiGeometry
 ODRX_DECLARE_MEMBERS (OdGiGeometry)
 
ODRX_SEALED_VIRTUAL void polypoint (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdCmEntityColor *pColors, const OdGeVector3d *pNormals=NULL, const OdGsMarker *pSubEntMarkers=NULL) ODRX_SEALED
 
ODRX_SEALED_VIRTUAL void polypoint (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdGeVector3d *pNormals=NULL, const OdGsMarker *pSubEntMarkers=NULL) ODRX_SEALED
 
- Public Member Functions inherited from OdGiSubEntityTraits
 ODRX_DECLARE_MEMBERS (OdGiSubEntityTraits)
 
virtual bool fillPlane (OdGeVector3d &normal)
 
virtual void addLight (const OdDbStub *lightId)
 
- Public Member Functions inherited from OdGiDrawableTraits
 ODRX_DECLARE_MEMBERS (OdGiDrawableTraits)
 
- Public Member Functions inherited from OdGiViewportDraw_
OdGiViewportGeometrygeometry () const
 
const OdGiPathNodecurrentGiPath () const
 
- Public Member Functions inherited from OdGiViewportDraw
 ODRX_DECLARE_MEMBERS (OdGiViewportDraw)
 
- Public Member Functions inherited from OdGiViewportGeometry
 ODRX_DECLARE_MEMBERS (OdGiViewportGeometry)
 
virtual void ownerDrawDc (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiSelfGdiDrawable *pDrawable, bool dcAligned=true, bool allowClipping=false)
 
- Public Member Functions inherited from OdGiConveyorContext
virtual ~OdGiConveyorContext ()
 
virtual void onTextProcessing (const OdGePoint3d &, const OdGeVector3d &, const OdGeVector3d &)
 

Protected Types

enum  Flags {
  kFillPlaneSet = OdGiBaseVectorizer::kLastFlag << 1 , kLinetypeContinuous = OdGiBaseVectorizer::kLastFlag << 2 , kModelCache = OdGiBaseVectorizer::kLastFlag << 3 , kHighlighted = OdGiBaseVectorizer::kLastFlag << 4 ,
  kDontAbortRegen = OdGiBaseVectorizer::kLastFlag << 5 , kCheckLinePattern = OdGiBaseVectorizer::kLastFlag << 6 , kBreakSelection = OdGiBaseVectorizer::kLastFlag << 7 , kSuppressOutput = OdGiBaseVectorizer::kLastFlag << 8 ,
  kSelectionGeometry = OdGiBaseVectorizer::kLastFlag << 9 , kSelectionDisabled = OdGiBaseVectorizer::kLastFlag << 10 , kObjectToDeviceValid = OdGiBaseVectorizer::kLastFlag << 11 , kDisableInfiniteGeomExtents = OdGiBaseVectorizer::kLastFlag << 12 ,
  kSectionableGeomExtentsOnly = OdGiBaseVectorizer::kLastFlag << 13 , kDisableSection = OdGiBaseVectorizer::kLastFlag << 14 , kSectionForegroundGeometry = OdGiBaseVectorizer::kLastFlag << 15 , kInitGsState = OdGiBaseVectorizer::kLastFlag << 16 ,
  kSetVpLtypeScaleMult = OdGiBaseVectorizer::kLastFlag << 17 , kSetVpFilterFunction = OdGiBaseVectorizer::kLastFlag << 18 , kLineweightOverride = OdGiBaseVectorizer::kLastFlag << 19 , kLinestyleOverride = OdGiBaseVectorizer::kLastFlag << 20 ,
  kLastOptionFlag = kLinestyleOverride
}
 
enum  ImplFlags { kFirstImplFlag = 1 , kSectionableGeomEnabled = kFirstImplFlag << 0 , kLastImplFlag = kSectionableGeomEnabled }
 
- Protected Types inherited from OdGiBaseVectorizer
enum  Flags {
  kFirstFlag = 1 , kSuppressViewportDraw = kFirstFlag << 0 , kDrawInvisibleEnts = kFirstFlag << 1 , kDrawLayerOff = kFirstFlag << 2 ,
  kDrawLayerFrozen = kFirstFlag << 3 , kIgnoreFillPlane = kFirstFlag << 4 , kSelectionMode = kFirstFlag << 5 , kAttributesSegment = kFirstFlag << 6 ,
  kXrefOverride = kFirstFlag << 7 , kLastFlag = kXrefOverride
}
 
typedef OdGiTraitsCache< OdGiMaterialTraitsData, OdGiMaterialTraitsTaker, OdGiMaterialTraits::kByBlock|OdGiMaterialTraits::kByLayerOdGiMaterialTraitsCache
 

Protected Member Functions

 ODRX_USING_HEAP_OPERATORS (OdGiBaseVectorizer)
 
bool useFillPlane () const
 
bool isOutputSuppressed () const
 
bool isEffectiveLinetypeContinuous () const
 
bool isSupportPlotStyles () const
 
virtual void affectTraits (const OdGiSubEntityTraitsData *pSource, OdGiSubEntityTraitsData &destination) const
 
double lineweightToPixelsOverride (OdDb::LineWeight lineweight, bool bAbsolute=false) const
 
int lineweightToPixelsOverrideInt (OdDb::LineWeight lineweight) const
 
double lineweightToPixelsOverride (double lineweight, bool bAbsolute=false) const
 
virtual void updateLineweightOverride (const OdGiLineweightOverride &lwdOverride)
 
- Protected Member Functions inherited from OdGiBaseVectorizer
 ODRX_HEAP_OPERATORS ()
 
void actualizeMaterialAttributes (OdDbStub *materialId) const
 
virtual OdDbStub * switchLayer (OdDbStub *layerId) const
 
virtual const OdGiLayerTraitsDataeffectiveLayerTraits () const
 
void updateLayerTraits (OdGiSubEntityTraitsData &subEntityTraits) const
 
const OdGeVector3dextrusion (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint)
 
const OdGeVector3dextrusion (const OdGeVector3d &normal)
 
const OdGeVector3dextrusion (const OdGeVector3d *pNormal)
 
const OdGeVector3dextrusion (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v)
 
void resetEntityTraitsData ()
 
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)
 

Protected Attributes

OdUInt32 m_nAwareFlags
 
OdUInt32 m_implFlags
 
OdGeVector3d m_fillPlane
 
OdGiContext::PStyleType m_pstype
 
OdPsPlotStyleData m_plotStyle
 
OdUInt32 m_setAttributesHints
 
OdGiOrthoClipperPtr m_pXlineNRayClipper
 
OdGiConveyorEntryPoint m_xlineNRayEntryPoint
 
OdGiLinetypeRedirPtr m_pLinetyper
 
OdGiConveyorEmbranchmentPtr m_pOutputBranch
 
OdRxObjectPtr m_pGsReserved
 
OdGiDrawablePtr m_liveSection
 
OdRxObjectPtr m_sectionGeometryMap
 
OdCmTransparency m_sectForegroundFace
 
OdCmTransparency m_sectForegroundEdge
 
OdGiXformPtr m_pXToLtp
 
OdGeMatrix3d m_objectToDeviceMatrix
 
- Protected Attributes inherited from OdGiBaseVectorizer
OdGiSubEntityTraitsData m_effectiveEntityTraitsData
 
OdDbStub * m_layerId
 
OdGiLayerTraitsTaker m_effectiveLayerTraits
 
OdDbStub * m_materialId
 
OdDbStub * m_byLayerMaterialId
 
OdDbStub * m_byBlockMaterialId
 
OdUInt32 m_materialAttributes
 
OdGiMaterialTraitsCache m_effectiveMaterialTraitsData
 
OdDbStub * m_effectiveMaterialId
 
OdDbStub * m_effectiveLayerId
 
OdGsMarker m_nSelectionMarker
 
OdGsMarker m_nPrevSelectionMarker
 
OdGiMapper m_materialMapper
 
OdGiMapperm_pCurMaterialMapper
 
OdGiDgLinetypeModifiers m_lsModifiers
 
OdGiDgLinetypeModifiersm_pCurLSModifiers
 
OdGiFillPtr m_pFill
 
OdRxObjectPtr m_pGiReserved
 
OdUInt32 m_entityTraitsDataChanged
 
OdGiConveyorConnector m_eyeEntryPoint
 
OdGiConveyorConnector m_modelEntryPoint
 
OdGiConveyorConnectorm_pActiveEntryPoint
 
OdGiModelToViewProcPtr m_pModelToEyeProc
 
OdGiConveyorConnector m_output
 
OdUInt32 m_flags
 
OdUInt32 m_drawContextFlags
 
const OdGiSubEntityTraitsDatam_pByBlock
 
- Protected Attributes inherited from OdGiWorldDrawImpl
OdGiSubEntityTraitsData m_entityTraitsData
 
OdGiContextm_pContext
 

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 OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Static Public Member Functions inherited from OdGiWorldDrawImpl
static OdGiContextdummyGiContext ()
 
- Public Attributes inherited from OdGiBaseVectorizer
OdGiDrawableDescm_pDrawableDesc
 
OdUInt32 m_nDrawableAttributes
 
- Static Protected Member Functions inherited from OdGiBaseVectorizer
static OdRxClassdesc ()
 
- Static Protected Attributes inherited from OdGiBaseVectorizer
static ODGI_EXPORT_STATIC const OdGiSubEntityTraitsData g_entityTraitsDataReset
 

Detailed Description

Corresponding C++ library: TD_Gs

<group OdGs_Classes>

Definition at line 49 of file GiBaseVectorizerImpl.h.

Member Enumeration Documentation

◆ Flags

Enumerator
kFillPlaneSet 
kLinetypeContinuous 
kModelCache 
kHighlighted 
kDontAbortRegen 
kCheckLinePattern 
kBreakSelection 
kSuppressOutput 
kSelectionGeometry 
kSelectionDisabled 
kObjectToDeviceValid 
kDisableInfiniteGeomExtents 
kSectionableGeomExtentsOnly 
kDisableSection 
kSectionForegroundGeometry 
kInitGsState 
kSetVpLtypeScaleMult 
kSetVpFilterFunction 
kLineweightOverride 
kLinestyleOverride 
kLastOptionFlag 

Definition at line 367 of file GiBaseVectorizerImpl.h.

◆ ImplFlags

Enumerator
kFirstImplFlag 
kSectionableGeomEnabled 
kLastImplFlag 

Definition at line 393 of file GiBaseVectorizerImpl.h.

Constructor & Destructor Documentation

◆ OdGiBaseVectorizerImpl()

OdGiBaseVectorizerImpl::OdGiBaseVectorizerImpl ( )

Member Function Documentation

◆ acadWindowId()

virtual OdInt16 OdGiBaseVectorizerImpl::acadWindowId ( ) const
virtual

Returns the ID for this Viewport object..

Remarks
The value returned corresponds to the CVPORT system variable.

Implements OdGiViewport.

◆ affectTraits()

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

OdGiBaseVectorizer methods *

Reimplemented from OdGiBaseVectorizer.

◆ annotationScale()

virtual double OdGiBaseVectorizerImpl::annotationScale ( ) const
virtual

Returns current annotationScale value of conveyor context.

Reimplemented from OdGiConveyorContext.

◆ awareFlags() [1/2]

OdUInt32& OdGiBaseVectorizerImpl::awareFlags ( )
inline

Returns the Aware flags for portion of geometry that had been vectorized since last call resetAwareFlags().

Remarks
awareFlags() returns a combination of zero or more of the following:

Value Geometry_depends_on kVpID 0x00000001 viewport Id (OdGiViewport::viewportId()). kVpRegenType 0x00000002 regeneration type (OdGiCommonDraw::regenType()). kVpRenderMode 0x00000004 render mode (OdGsView::mode()). kVpWorldToEye 0x00000008 description to come... kVpPerspective 0x00000010 description to come... kVpResolution 0x00000020 description to come... kVpMaxDevForCircle 0x00000040 description to come... kVpMaxDevForCurve 0x00000080 description to come... kVpMaxDevForBoundary 0x00000100 description to come... kVpMaxDevForIsoline 0x00000200 description to come... kVpMaxDevForFacet 0x00000400 description to come... kVpCamLocation 0x00000800 description to come... kVpCamTarget 0x00001000 description to come... kVpCamUpVector 0x00002000 description to come... kVpCamViewDir 0x00004000 description to come... kVpViewport 0x00008000 description to come... kVpFrontBack 0x00010000 description to come... kVpFrozenLayers 0x00020000 description to come... kVpLtypeScaleMult 0x00040000 description to come... kEntityRegenDraw 0x00080000 description to come... kVpDisableLayoutCache 0x00100000 description to come... kVpModelTf 0x00200000 description to come... kVpExcludeFromExtMinMax 0x00400000 description to come... kSectionable 0x00800000 description to come... kVpRenderModule 0x01000000 description to come... kVpAnnoScale 0x02000000 description to come... kVpFilterFunction 0x04000000 description to come... kVpVisualStyle 0x08000000 description to come... kVpHighlightingGeom 0x10000000 description to come...

See also

resetAwareFlags

Definition at line 154 of file GiBaseVectorizerImpl.h.

◆ awareFlags() [2/2]

OdUInt32 OdGiBaseVectorizerImpl::awareFlags ( ) const
inline

Returns the Aware flags for portion of geometry that had been vectorized since last call resetAwareFlags().

Remarks
awareFlags() returns a combination of zero or more of the following:

Value Geometry_depends_on kVpID 0x00000001 viewport Id (OdGiViewport::viewportId()). kVpRegenType 0x00000002 regeneration type (OdGiCommonDraw::regenType()). kVpRenderMode 0x00000004 render mode (OdGsView::mode()). kVpWorldToEye 0x00000008 description to come... kVpPerspective 0x00000010 description to come... kVpResolution 0x00000020 description to come... kVpMaxDevForCircle 0x00000040 description to come... kVpMaxDevForCurve 0x00000080 description to come... kVpMaxDevForBoundary 0x00000100 description to come... kVpMaxDevForIsoline 0x00000200 description to come... kVpMaxDevForFacet 0x00000400 description to come... kVpCamLocation 0x00000800 description to come... kVpCamTarget 0x00001000 description to come... kVpCamUpVector 0x00002000 description to come... kVpCamViewDir 0x00004000 description to come... kVpViewport 0x00008000 description to come... kVpFrontBack 0x00010000 description to come... kVpFrozenLayers 0x00020000 description to come... kVpLtypeScaleMult 0x00040000 description to come... kEntityRegenDraw 0x00080000 description to come... kVpDisableLayoutCache 0x00100000 description to come... kVpModelTf 0x00200000 description to come... kVpExcludeFromExtMinMax 0x00400000 description to come... kSectionable 0x00800000 description to come... kVpRenderModule 0x01000000 description to come... kVpAnnoScale 0x02000000 description to come... kVpFilterFunction 0x04000000 description to come... kVpVisualStyle 0x08000000 description to come... kVpHighlightingGeom 0x10000000 description to come...

See also

resetAwareFlags

Definition at line 108 of file GiBaseVectorizerImpl.h.

◆ beginViewVectorization()

virtual void OdGiBaseVectorizerImpl::beginViewVectorization ( )
virtual

OdGiBaseVectorizer methods *

Reimplemented from OdGiBaseVectorizer.

Reimplemented in OdGsBaseVectorizer, and OdGsBaseMaterialVectorizer.

◆ clearLinetypeCache()

void OdGiBaseVectorizerImpl::clearLinetypeCache ( )

◆ contextualColors()

const OdGiContextualColors* OdGiBaseVectorizerImpl::contextualColors ( ) const
virtual

Returns pointer to context-dependent colors storage.

Remarks
This pointer could be null if contextual colors doesn't specified by context.

Reimplemented from OdGiViewport.

◆ currentLineweightOverride()

const OdGiLineweightOverride * OdGiBaseVectorizerImpl::currentLineweightOverride ( ) const
inlinevirtual

Returns current lineweight override (if present).

Reimplemented from OdGiConveyorContext.

Definition at line 616 of file GiBaseVectorizerImpl.h.

◆ deviation()

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

OdGiCommonDraw methods *

Reimplemented from OdGiBaseVectorizer.

◆ doInversePerspective()

virtual bool OdGiBaseVectorizerImpl::doInversePerspective ( OdGePoint3d point) const
virtual

Applies the inverse of the current perspective transformation to the specified point.

Parameters
point[in/out] Any 3D point.
Remarks
The point is transformed from normalized device coordinates to EyeSpace coordinates

Returns true if and only if the point was transformed; i.e., a perspective transform is active, and the point was neither too close or behind the camera.

See also
Coordinate Systems

Implements OdGiViewport.

◆ doPerspective()

virtual bool OdGiBaseVectorizerImpl::doPerspective ( OdGePoint3d point) const
virtual

Applies the current perspective transformation to the specified point.

Parameters
point[in/out] Any 3D point.
Remarks
The point is transformed from EyeSpace coordinates to normalized device coordinates.

Returns true if and only if the point was transformed; i.e., a perspective transform is active, and the point was neither too close or behind the camera.

See also
Coordinate Systems

Implements OdGiViewport.

◆ effectivePlotStyle()

const OdPsPlotStyleData& OdGiBaseVectorizerImpl::effectivePlotStyle ( ) const

Returns the effective plot style for this vectorizer object.

◆ endViewVectorization()

virtual void OdGiBaseVectorizerImpl::endViewVectorization ( )
virtual

Ends the ViewVectorization process for this Vectorizer object.

Reimplemented from OdGiBaseVectorizer.

Reimplemented in OdGsBaseVectorizer, and OdGsBaseMaterialVectorizer.

◆ getCameraLocation()

virtual OdGePoint3d OdGiBaseVectorizerImpl::getCameraLocation ( ) const
virtual

Returns the WCS camera (eye) location for this Viewport object.

Implements OdGiViewport.

◆ getCameraTarget()

virtual OdGePoint3d OdGiBaseVectorizerImpl::getCameraTarget ( ) const
virtual

Returns the WCS camera target for this Viewport object.

Implements OdGiViewport.

◆ getCameraUpVector()

virtual OdGeVector3d OdGiBaseVectorizerImpl::getCameraUpVector ( ) const
virtual

Returns the WCS camera "up" vector for this Viewport object.

Implements OdGiViewport.

◆ getEyeToModelTransform()

virtual OdGeMatrix3d OdGiBaseVectorizerImpl::getEyeToModelTransform ( ) const
virtual

Returns the transformation matrix from EyeSpace to ModelSpace for this Viewport object.

See also
Coordinate Systems

Implements OdGiViewport.

◆ getEyeToWorldTransform()

virtual OdGeMatrix3d OdGiBaseVectorizerImpl::getEyeToWorldTransform ( ) const
virtual

Returns the transformation matrix from EyeSpace to WCS for this Viewport object.

See also
Coordinate Systems

Implements OdGiViewport.

◆ getFrontAndBackClipValues()

virtual bool OdGiBaseVectorizerImpl::getFrontAndBackClipValues ( bool &  clipFront,
bool &  clipBack,
double &  front,
double &  back 
) const
virtual

Returns the front and back clipping parameters for this Viewport object.

Parameters
clipFront[out] Receives true if and only if front clipping is enabled.
clipBack[out] Receives true if and only if back clipping is enabled.
front[out] Receives the front clipping distance.
back[out] Receives the back clipping distance.
Remarks
Returns clipFront || clipBack.

front and back are the eye coordinate Z values.

Clipping planes are perpendicular to the view direction.

If the front clipping plane is enabled, geometry in front of it is not displayed.

If the back clipping plane is enabled, geometry in back of it is not displayed.

Implements OdGiViewport.

◆ getModelToEyeTransform()

virtual OdGeMatrix3d OdGiBaseVectorizerImpl::getModelToEyeTransform ( ) const
virtual

OdGiViewport methods *

Implements OdGiViewport.

◆ getModelToWorldTransform()

virtual OdGeMatrix3d OdGiBaseVectorizerImpl::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.

Reimplemented from OdGiBaseVectorizer.

◆ getNumPixelsInUnitSquare()

virtual void OdGiBaseVectorizerImpl::getNumPixelsInUnitSquare ( const OdGePoint3d point,
OdGePoint2d pixelDensity,
bool  bUsePerspective = true 
) const
virtual

Returns the display pixel density at the specified point for this Viewport object.

Parameters
point[in] WCS center of the unit square.
pixelDensity[out] Receives the pixel density.
bUsePerspective[in] Enable perspective inclusion into pixel density calculation.
Remarks
Pixel density is measured in pixels per WCS unit.

This function can be used to determine if the geometry generated for an object will be smaller than the size of a pixel.

Implements OdGiViewport.

◆ getRenderMode()

OdGsView::RenderMode OdGiBaseVectorizerImpl::getRenderMode ( ) const

◆ getViewportDcCorners()

virtual void OdGiBaseVectorizerImpl::getViewportDcCorners ( OdGePoint2d lowerLeft,
OdGePoint2d upperRight 
) const
virtual

Returns lower-left and upper-right corners of this Viewport object in normalized device Coordinates.

Parameters
lowerLeft[out] Receives the lower-left corner.
upperRight[out] Receives the upper-right.
Remarks
This information lets position items that are fixed in size and/or position with respect to a Viewport.
See also
Coordinate Systems

Implements OdGiViewport.

◆ getWorldToEyeTransform()

virtual OdGeMatrix3d OdGiBaseVectorizerImpl::getWorldToEyeTransform ( ) const
virtual

Returns the transformation matrix from WCS to EyeSpace for this Viewport object.

See also
Coordinate Systems

Implements OdGiViewport.

◆ getWorldToModelTransform()

virtual OdGeMatrix3d OdGiBaseVectorizerImpl::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().

Reimplemented from OdGiBaseVectorizer.

◆ giViewport()

virtual const OdGiViewport* OdGiBaseVectorizerImpl::giViewport ( ) const
virtual

OdGiConveyorContext methods *

Reimplemented from OdGiBaseVectorizer.

◆ gsView()

virtual const OdGsView* OdGiBaseVectorizerImpl::gsView ( ) const
virtual

Returns the OdGsView associated with this ConveyorContext object.

Reimplemented from OdGiBaseVectorizer.

◆ hasLinestyleOverride()

bool OdGiBaseVectorizerImpl::hasLinestyleOverride ( ) const
inline

Definition at line 628 of file GiBaseVectorizerImpl.h.

◆ hasLineweightOverride()

bool OdGiBaseVectorizerImpl::hasLineweightOverride ( ) const
inline

Definition at line 623 of file GiBaseVectorizerImpl.h.

◆ isEffectiveLinetypeContinuous()

bool OdGiBaseVectorizerImpl::isEffectiveLinetypeContinuous ( ) const
protected

Returns true if and this if the effective linetype generation is continuous for vectorizer object.

◆ isLinetypesEnabled()

bool OdGiBaseVectorizerImpl::isLinetypesEnabled ( ) const
inline

Definition at line 587 of file GiBaseVectorizerImpl.h.

◆ isOutputSuppressed()

bool OdGiBaseVectorizerImpl::isOutputSuppressed ( ) const
inlineprotected

Definition at line 576 of file GiBaseVectorizerImpl.h.

◆ isPerspective()

virtual bool OdGiBaseVectorizerImpl::isPerspective ( ) const
virtual

Returns true if and only if perspective mode is on for this Viewport.

Implements OdGiViewport.

◆ isSupportPlotStyles()

bool OdGiBaseVectorizerImpl::isSupportPlotStyles ( ) const
inlineprotected

Definition at line 592 of file GiBaseVectorizerImpl.h.

◆ isValidId()

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

Reimplemented from OdGiBaseVectorizer.

◆ layerVisible()

virtual bool OdGiBaseVectorizerImpl::layerVisible ( OdDbStub *  layerId) const
virtual

Reimplemented from OdGiBaseVectorizer.

◆ linetypeGenerationCriteria()

virtual double OdGiBaseVectorizerImpl::linetypeGenerationCriteria ( ) const
virtual

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

Reimplemented from OdGiBaseVectorizer.

◆ linetypeScaleMultiplier()

virtual double OdGiBaseVectorizerImpl::linetypeScaleMultiplier ( ) const
virtual

Returns a multiplier that is used to scale all linetypes in this Viewport object.

Implements OdGiViewport.

◆ lineweightToPixels() [1/2]

double OdGiBaseVectorizerImpl::lineweightToPixels ( double  lineweight) const
inline

Returns the number of pixels corresponding to the specified lineweight for this view object.

Parameters
lineweight[in] Lineweight.

Definition at line 604 of file GiBaseVectorizerImpl.h.

◆ lineweightToPixels() [2/2]

int OdGiBaseVectorizerImpl::lineweightToPixels ( OdDb::LineWeight  lineweight) const
inline

Returns the number of pixels corresponding to the specified lineweight for this view object.

Parameters
lineweight[in] Lineweight.

Definition at line 597 of file GiBaseVectorizerImpl.h.

◆ lineweightToPixelsOverride() [1/2]

double OdGiBaseVectorizerImpl::lineweightToPixelsOverride ( double  lineweight,
bool  bAbsolute = false 
) const
protected

◆ lineweightToPixelsOverride() [2/2]

double OdGiBaseVectorizerImpl::lineweightToPixelsOverride ( OdDb::LineWeight  lineweight,
bool  bAbsolute = false 
) const
inlineprotected

Definition at line 611 of file GiBaseVectorizerImpl.h.

◆ lineweightToPixelsOverrideInt()

int OdGiBaseVectorizerImpl::lineweightToPixelsOverrideInt ( OdDb::LineWeight  lineweight) const
protected

◆ liveSection()

const OdGiDrawable* OdGiBaseVectorizerImpl::liveSection ( ) const
inline

Definition at line 189 of file GiBaseVectorizerImpl.h.

◆ mesh()

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

Reimplemented from OdGiBaseVectorizer.

◆ modelToWorldTransform()

OdGeMatrix3d OdGiBaseVectorizerImpl::modelToWorldTransform ( ) const

◆ objectToDeviceMatrix()

virtual OdGeMatrix3d OdGiBaseVectorizerImpl::objectToDeviceMatrix ( ) const
virtual

◆ ODRX_USING_HEAP_OPERATORS()

OdGiBaseVectorizerImpl::ODRX_USING_HEAP_OPERATORS ( OdGiBaseVectorizer  )
protected

◆ onTraitsModified()

virtual void OdGiBaseVectorizerImpl::onTraitsModified ( )
virtual

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

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

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

Reimplemented from OdGiBaseVectorizer.

Reimplemented in OdGsBaseVectorizer, and OdGsBaseMaterialVectorizer.

◆ popLineweightOverride()

virtual void OdGiBaseVectorizerImpl::popLineweightOverride ( )
virtual

Pop lineweight scale and style override from lineweight overrides stack.

Reimplemented from OdGiSubEntityTraits.

◆ popModelTransform()

virtual void OdGiBaseVectorizerImpl::popModelTransform ( )
virtual

Removes the top transformation off the current transformation stack.

Reimplemented from OdGiBaseVectorizer.

Reimplemented in OdGsBaseVectorizer.

◆ pushLineweightOverride()

virtual bool OdGiBaseVectorizerImpl::pushLineweightOverride ( const OdGiLineweightOverride pOverride)
virtual

Push lineweight scale and style override into lineweight overrides stack.

Parameters
pOverride[in] New lineweight override.
Returns
Returns true in case if lineweight overrides supported by underlying vectorization pipeline.

Reimplemented from OdGiSubEntityTraits.

◆ pushModelTransform() [1/2]

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

Reimplemented from OdGiBaseVectorizer.

Reimplemented in OdGsBaseVectorizer.

◆ pushModelTransform() [2/2]

virtual void OdGiBaseVectorizerImpl::pushModelTransform ( const OdGeVector3d normal)
virtual

OdGiGeometry methods *

Reimplemented from OdGiBaseVectorizer.

Reimplemented in OdGsBaseVectorizer.

◆ ray()

virtual void OdGiBaseVectorizerImpl::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

Reimplemented from OdGiBaseVectorizer.

◆ regenType()

virtual OdGiRegenType OdGiBaseVectorizerImpl::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.

◆ resetAwareFlags()

void OdGiBaseVectorizerImpl::resetAwareFlags ( )
inline

Resets the Aware flags.

See also
awareFlags

Definition at line 162 of file GiBaseVectorizerImpl.h.

◆ sequenceNumber()

virtual OdUInt32 OdGiBaseVectorizerImpl::sequenceNumber ( ) const
virtual

OdGiViewportDraw methods *

Reimplemented from OdGiBaseVectorizer.

◆ setExtents()

virtual void OdGiBaseVectorizerImpl::setExtents ( const OdGePoint3d newExtents)
virtual

OdGiWorldGeometry methods *

Reimplemented from OdGiBaseVectorizer.

◆ setFillPlane()

virtual void OdGiBaseVectorizerImpl::setFillPlane ( const OdGeVector3d pNormal = 0)
virtual

OdGiSubEntityTraits methods *

Reimplemented from OdGiSubEntityTraits.

◆ setFillType()

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

◆ setLinetypesEnabled()

void OdGiBaseVectorizerImpl::setLinetypesEnabled ( bool  bEnable)
inline

Definition at line 581 of file GiBaseVectorizerImpl.h.

◆ setModelSection()

void OdGiBaseVectorizerImpl::setModelSection ( OdGiDrawable pSection,
bool  bUseSectionGeometryMap 
)

◆ setUp()

virtual void OdGiBaseVectorizerImpl::setUp ( OdGsViewImpl view)
virtual

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

Reimplemented in OdGsBaseVectorizer.

◆ setupForEntity()

virtual OdUInt32 OdGiBaseVectorizerImpl::setupForEntity ( ) const
virtual

Returns the set of SubEntityHints flags which can be used to provide more flexible tuning of subSetAttributes traits processing.

Reimplemented from OdGiSubEntityTraits.

◆ shell()

virtual void OdGiBaseVectorizerImpl::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

Reimplemented from OdGiBaseVectorizer.

◆ updateLineweightOverride()

virtual void OdGiBaseVectorizerImpl::updateLineweightOverride ( const OdGiLineweightOverride lwdOverride)
protectedvirtual

◆ useFillPlane()

bool OdGiBaseVectorizerImpl::useFillPlane ( ) const
protected

Returns true if and only if this VectorizeView object is configured to use a fill plane.

◆ view()

OdGsViewImpl& OdGiBaseVectorizerImpl::view ( ) const
inline

Definition at line 63 of file GiBaseVectorizerImpl.h.

◆ viewDir()

virtual OdGeVector3d OdGiBaseVectorizerImpl::viewDir ( ) const
virtual

Returns the vector from the camera target to the camera location.

Implements OdGiViewport.

◆ viewport()

virtual OdGiViewport& OdGiBaseVectorizerImpl::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.

Reimplemented from OdGiBaseVectorizer.

◆ viewportId()

virtual OdUInt32 OdGiBaseVectorizerImpl::viewportId ( ) const
virtual

Returns the OdGi Viewport ID for this Viewport object.

Remarks
The value returned has no relationshp to the CVPORT system variable.

Implements OdGiViewport.

◆ viewportObjectId()

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

Reimplemented from OdGiBaseVectorizer.

◆ worldToModelTransform()

OdGeMatrix3d OdGiBaseVectorizerImpl::worldToModelTransform ( ) const

◆ xline()

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

Reimplemented from OdGiBaseVectorizer.

Member Data Documentation

◆ m_fillPlane

OdGeVector3d OdGiBaseVectorizerImpl::m_fillPlane
protected

Definition at line 339 of file GiBaseVectorizerImpl.h.

◆ m_implFlags

OdUInt32 OdGiBaseVectorizerImpl::m_implFlags
protected

Definition at line 338 of file GiBaseVectorizerImpl.h.

◆ m_liveSection

OdGiDrawablePtr OdGiBaseVectorizerImpl::m_liveSection
protected

Definition at line 348 of file GiBaseVectorizerImpl.h.

◆ m_nAwareFlags

OdUInt32 OdGiBaseVectorizerImpl::m_nAwareFlags
mutableprotected

Definition at line 337 of file GiBaseVectorizerImpl.h.

◆ m_objectToDeviceMatrix

OdGeMatrix3d OdGiBaseVectorizerImpl::m_objectToDeviceMatrix
mutableprotected

Definition at line 365 of file GiBaseVectorizerImpl.h.

◆ m_pGsReserved

OdRxObjectPtr OdGiBaseVectorizerImpl::m_pGsReserved
protected

Definition at line 347 of file GiBaseVectorizerImpl.h.

◆ m_pLinetyper

OdGiLinetypeRedirPtr OdGiBaseVectorizerImpl::m_pLinetyper
protected

Definition at line 345 of file GiBaseVectorizerImpl.h.

◆ m_plotStyle

OdPsPlotStyleData OdGiBaseVectorizerImpl::m_plotStyle
mutableprotected

Definition at line 341 of file GiBaseVectorizerImpl.h.

◆ m_pOutputBranch

OdGiConveyorEmbranchmentPtr OdGiBaseVectorizerImpl::m_pOutputBranch
protected

Definition at line 346 of file GiBaseVectorizerImpl.h.

◆ m_pstype

OdGiContext::PStyleType OdGiBaseVectorizerImpl::m_pstype
protected

Definition at line 340 of file GiBaseVectorizerImpl.h.

◆ m_pXlineNRayClipper

OdGiOrthoClipperPtr OdGiBaseVectorizerImpl::m_pXlineNRayClipper
protected

Definition at line 343 of file GiBaseVectorizerImpl.h.

◆ m_pXToLtp

OdGiXformPtr OdGiBaseVectorizerImpl::m_pXToLtp
protected

Definition at line 353 of file GiBaseVectorizerImpl.h.

◆ m_sectForegroundEdge

OdCmTransparency OdGiBaseVectorizerImpl::m_sectForegroundEdge
protected

Definition at line 351 of file GiBaseVectorizerImpl.h.

◆ m_sectForegroundFace

OdCmTransparency OdGiBaseVectorizerImpl::m_sectForegroundFace
protected

Definition at line 350 of file GiBaseVectorizerImpl.h.

◆ m_sectionGeometryMap

OdRxObjectPtr OdGiBaseVectorizerImpl::m_sectionGeometryMap
protected

Definition at line 349 of file GiBaseVectorizerImpl.h.

◆ m_setAttributesHints

OdUInt32 OdGiBaseVectorizerImpl::m_setAttributesHints
protected

Definition at line 342 of file GiBaseVectorizerImpl.h.

◆ m_xlineNRayEntryPoint

OdGiConveyorEntryPoint OdGiBaseVectorizerImpl::m_xlineNRayEntryPoint
protected

Definition at line 344 of file GiBaseVectorizerImpl.h.


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