CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Classes | Public Types | 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 OdGsBaseVectorizeViewDef OdGsBaseMaterialViewPC OdGsBaseVectorizeViewJoin< OdGsBaseMaterialViewPC > OdGsBaseMaterialView

Classes

struct  AwareFlagsHandler
 

Public Types

enum  VectorizingFlags {
  kNotVectorizing = 0 , kVectorizing = 1 << 0 , kDisplaying = 1 << 1 , kSelecting = 1 << 2 ,
  kExtentsComp = 1 << 3
}
 
- Public Types inherited from OdGiSubEntityTraits
enum  DrawFlags {
  kNoDrawFlags = 0x0000 , kDrawBackfaces = 0x0001 , kDrawHatchGroup = 0x0002 , kDrawFrontfacesOnly = 0x0004 ,
  kDrawGradientFill = 0x0008 , kDrawSolidFill = 0x0010 , kDrawNoLineWeight = 0x0020 , kDrawNoPlotstyle = 0x0080 ,
  kDrawContourFill = 0x08000 , kDisableLayoutCache = 0x10000 , kDrawBoundaryForClipping = 0x20000 , kDrawBoundaryForClippingDrw = 0x40000 ,
  kClipSetIsEmpty = 0x80000 , kDrawPolygonFill = 0x100000 , kExcludeFromViewExt = 0x200000 , kDrawDgLsPolyWithoutBreaks = 0x400000 ,
  kPolygonProcessing = 0x800000 , kDisableAutoGenerateNormals = 0x1000000 , kDisableFillModeCheck = 0x2000000 , kDrawUnderlayReference = 0x4000000 ,
  kLineStyleScaleOverride = 0x8000000 , kDisableDisplayClipping = 0x10000000 , kRegenTypeDependent2dDraw = 0x20000000 , kInternalDrawFlags = kDisableLayoutCache | kClipSetIsEmpty | kRegenTypeDependent2dDraw ,
  kDrawGeometryForExtents = 0x04000 , kFxNoFillOnSelect = 0x40000000 , kInheritableDrawFlags
}
 
enum  LockFlags {
  kNoLockFlags = 0x00000000 , kLockColors = 0x00000001 , kLockLineWeight = 0x00000002 , kLockLineType = 0x00000004 ,
  kLockLineTypeScale = 0x00000008 , kLockLayer = 0x00000010 , kLockByBlockLayer = 0x00000020 , kKeepAuxDataAndLockFlags = 0x00000040 ,
  kInheritableLockFlags = kLockColors | kLockLineWeight | kLockLineType | kLockLineTypeScale | kLockLayer | kKeepAuxDataAndLockFlags
}
 
enum  ShadowFlags { kShadowsCastAndReceive = 0 , kShadowsDoesNotCast = 1 , kShadowsDoesNotReceive = 2 , kShadowsIgnore = kShadowsDoesNotCast | kShadowsDoesNotReceive }
 
enum  SelectionFlags {
  kNoSelectionFlags = 0 , kSelectionIgnore = 1 , kHighlightingGeometry = 2 , kHiddenInHighlight = 4 ,
  kFxSubentitySelection = 0x80
}
 
enum  SubEntityHints {
  kHint2DAttributes = 1 , kHint3DAttributes = 2 , kHintAllAttributes = kHint2DAttributes | kHint3DAttributes , kHintSnapModeOn = 4 ,
  kHintDefaultState = kHintAllAttributes
}
 
- Public Types inherited from OdGiConveyorContext
enum  ConveyorContextFlags {
  kSpatialFilterSimplPline = 1 , kSpatialFilterSimplNurbs = 2 , kSpatialFilterSimplText = 4 , kSpatialFilterSimplShape = 8 ,
  kSpatialFilterSimplAll , kEmbranchmentSimplText = 16 , kEmbranchmentSimplNurbs = 32 , kEmbranchmentSimplAll = (kEmbranchmentSimplText | kEmbranchmentSimplNurbs) ,
  kConveyorSimplAll = (kSpatialFilterSimplAll | kEmbranchmentSimplAll) , kPlineMarkers = 64 , kForceMarkersOnModified = 128 , kPolylineMarkers = 256 ,
  kPlineAllowArcProc = 512 , kTestMode = 1024 , kLineTyperAfterMetafile = 2048
}
 
- Public Types inherited from OdGiSubEntityTraitsChangedFlags
enum  ChangedTraits {
  kFirstChangedFlag = 1 , kColorChanged = kFirstChangedFlag << 0 , kLayerChanged = kFirstChangedFlag << 1 , kLineTypeChanged = kFirstChangedFlag << 2 ,
  kFillTypeChanged = kFirstChangedFlag << 3 , kLineWeightChanged = kFirstChangedFlag << 4 , kLineTypeScaleChanged = kFirstChangedFlag << 5 , kThicknessChanged = kFirstChangedFlag << 6 ,
  kPlotStyleChanged = kFirstChangedFlag << 7 , kMaterialChanged = kFirstChangedFlag << 8 , kMapperChanged = kFirstChangedFlag << 9 , kVisualStyleChanged = kFirstChangedFlag << 10 ,
  kTransparencyChanged = kFirstChangedFlag << 11 , kDrawFlagsChanged = kFirstChangedFlag << 12 , kSelectionGeomChanged = kFirstChangedFlag << 13 , kShadowFlagsChanged = kFirstChangedFlag << 14 ,
  kSectionableChanged = kFirstChangedFlag << 15 , kSelectionFlagsChanged = kFirstChangedFlag << 16 , kSecColorChanged = kFirstChangedFlag << 17 , kLSModifiersChanged = kFirstChangedFlag << 18 ,
  kFillChanged = kFirstChangedFlag << 19 , kAwareFlagChanged = kFirstChangedFlag << 20 , kLockFlagsChanged = kFirstChangedFlag << 21 , kAuxDataChanged = kFirstChangedFlag << 22 ,
  kAllChanged = 0x7FFFFF , kSomeChanged = kAllChanged
}
 

Public Member Functions

 OdGiBaseVectorizerImpl ()
 
virtual void setUp (OdGsViewImpl &view)
 
OdGsViewImplview () const
 
OdUInt32 awareFlags () const
 
OdUInt32awareFlags ()
 
void resetAwareFlags ()
 
const OdPsPlotStyleDataeffectivePlotStyle () const
 
OdGsView::RenderMode getRenderMode () const
 
void clearLinetypeCache ()
 
void setLinetypesEnabled (bool bEnable)
 
bool isLinetypesEnabled () const
 
void setSkipViewSectioning (bool bEnable)
 
bool isViewSectioningSkipped () const
 
void setModelSection (OdGiDrawable *pSection, bool bUseSectionGeometryMap)
 
const OdGiDrawableliveSection () const
 
OdGeMatrix3d modelToWorldTransform () const
 
OdGeMatrix3d worldToModelTransform () const
 
virtual OdGeMatrix3d objectToDeviceMatrix () const
 
int lineweightToPixels (OdDb::LineWeight lineweight) const
 
double lineweightToPixels (double lineweight) const
 
bool hasLineweightOverride () const
 
bool hasLinestyleOverride () const
 
bool isMultiplyLineStyleScale () const
 
const OdGiLineweightOverridecurrentLineweightOverride () const
 
ODCOLORREF paletteColor (OdUInt16 colorIndex) const
 
ODCOLORREF paletteColor (OdInt16 colorIndex) const
 
const ODCOLORREFgetPalette (int *pNumColors=NULL) const
 
bool hasPaletteOverride () const
 
virtual OdGeMatrix3d getModelToEyeTransform () const
 
virtual OdGeMatrix3d getEyeToModelTransform () const
 
virtual OdGeMatrix3d getWorldToEyeTransform () const
 
virtual OdGeMatrix3d getEyeToWorldTransform () const
 
virtual OdGeMatrix3d getWorldToModelTransform () const
 
virtual OdGeMatrix3d getModelToWorldTransform () const
 
virtual bool isPerspective () const
 
virtual bool doPerspective (OdGePoint3d &point) const
 
virtual bool doInversePerspective (OdGePoint3d &point) const
 
virtual void getNumPixelsInUnitSquare (const OdGePoint3d &point, OdGePoint2d &pixelDensity, bool includePerspective=true) const
 
virtual OdGePoint3d getCameraLocation () const
 
virtual OdGePoint3d getCameraTarget () const
 
virtual OdGeVector3d getCameraUpVector () const
 
virtual OdGeVector3d viewDir () const
 
virtual OdUInt32 viewportId () const
 
virtual OdInt16 acadWindowId () const
 
virtual void getViewportDcCorners (OdGePoint2d &lowerLeft, OdGePoint2d &upperRight) const
 
virtual bool getFrontAndBackClipValues (bool &clipFront, bool &clipBack, double &front, double &back) const
 
virtual double linetypeScaleMultiplier () const
 
virtual double linetypeGenerationCriteria () const
 
virtual bool layerVisible (OdDbStub *layerId) const
 
const OdGiContextualColorscontextualColors () const
 
virtual OdDbStub * annotationScaleId () const
 
virtual void pushModelTransform (const OdGeVector3d &normal)
 
virtual void pushModelTransform (const OdGeMatrix3d &xfm)
 
virtual void popModelTransform ()
 
virtual void xline (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint)
 
virtual void ray (const OdGePoint3d &basePoint, const OdGePoint3d &throughPoint)
 
virtual void shell (OdInt32 numVertices, const OdGePoint3d *vertexList, OdInt32 faceListSize, const OdInt32 *faceList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)
 
virtual void mesh (OdInt32 numRows, OdInt32 numColumns, const OdGePoint3d *vertexList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)
 
virtual void setExtents (const OdGePoint3d *newExtents)
 
virtual double deviation (const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve) const
 
virtual OdGiRegenType regenType () const
 
virtual OdUInt32 sequenceNumber () const
 
virtual bool isValidId (const OdUInt32 viewportId) const
 
virtual OdDbStub * viewportObjectId () const
 
virtual OdGiViewportviewport () const
 
virtual void setFillPlane (const OdGeVector3d *pNormal=0)
 
virtual void setFillType (OdGiFillType fillType)
 
virtual OdDbStub * visualStyle () const
 
virtual OdUInt32 setupForEntity () const
 
virtual bool pushLineweightOverride (const OdGiLineweightOverride *pOverride)
 
virtual void popLineweightOverride ()
 
virtual bool pushPaletteOverride (const OdGiPalette *pOverride)
 
virtual void popPaletteOverride ()
 
virtual bool hasPaletteOverrides () const
 
virtual const OdGiViewportgiViewport () const
 
virtual const OdGsViewgsView () const
 
virtual double annotationScale () const
 
virtual void beginViewVectorization ()
 
virtual void endViewVectorization ()
 
virtual void onTraitsModified ()
 
virtual const OdGiSubEntityTraitsDataeffectiveTraits () const
 
int vectorizingFlags () const
 
void setVectorizingFlags (int flags)
 
- Public Member Functions inherited from OdGiViewport
 ODRX_DECLARE_MEMBERS (OdGiViewport)
 
virtual OdGeMatrix3d getModelToEyeTransform () const =0
 
virtual OdGeMatrix3d getEyeToModelTransform () const =0
 
virtual OdGeMatrix3d getWorldToEyeTransform () const =0
 
virtual OdGeMatrix3d getEyeToWorldTransform () const =0
 
virtual bool isPerspective () const =0
 
virtual bool doPerspective (OdGePoint3d &point) const =0
 
virtual bool doInversePerspective (OdGePoint3d &point) const =0
 
virtual void getNumPixelsInUnitSquare (const OdGePoint3d &point, OdGePoint2d &pixelDensity, bool bUsePerspective=true) const =0
 
virtual OdGePoint3d getCameraLocation () const =0
 
virtual OdGePoint3d getCameraTarget () const =0
 
virtual OdGeVector3d getCameraUpVector () const =0
 
virtual OdGeVector3d viewDir () const =0
 
virtual OdUInt32 viewportId () const =0
 
virtual OdInt16 acadWindowId () const =0
 
virtual void getViewportDcCorners (OdGePoint2d &lowerLeft, OdGePoint2d &upperRight) const =0
 
virtual bool getFrontAndBackClipValues (bool &clipFront, bool &clipBack, double &front, double &back) const =0
 
virtual double linetypeScaleMultiplier () const =0
 
virtual double linetypeGenerationCriteria () const =0
 
virtual bool layerVisible (OdDbStub *layerId) const =0
 
virtual const OdGiContextualColorscontextualColors () const
 
virtual OdDbStub * annotationScaleId () const
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 
- Public Member Functions inherited from OdGiBaseVectorizer
bool isEntityTraitsDataChanged (int bit=kSomeChanged) const
 
virtual void setEntityTraitsDataChanged ()
 
virtual void setEntityTraitsDataChanged (int bit, bool value=true)
 
void clearEntityTraitsDataChanged () const
 
bool effectivelyVisible () const
 
OdGiContextgiContext () const
 
const OdGiDrawableDesccurrentDrawableDesc () const
 
const OdGiDrawablecurrentDrawable () const
 
const OdGiViewportgiViewport () const
 
const OdGsViewgsView () const
 
const OdGiDrawableDescdrawableDesc () const
 
virtual const OdGiSubEntityTraitsDataeffectiveTraits () const
 
virtual void setEffectiveTraits (const OdGiSubEntityTraitsData &traits, const OdGeVector3d *fillNormal=NULL)
 
 OdGiBaseVectorizer ()
 
virtual ~OdGiBaseVectorizer ()
 
OdRxClassisA () const
 
OdRxObjectqueryX (const OdRxClass *pProtocolClass) const
 
virtual OdGiConveyorOutputoutput ()
 
void setEyeToOutputTransform (const OdGeMatrix3d &xfm)
 
const OdGeMatrix3deyeToOutputTransform () const
 
void eyeToOutputTransform (OdGeMatrix3d &xfm) const
 
OdGiConveyorContextdrawContext ()
 
const OdGiConveyorContextdrawContext () const
 
virtual void beginViewVectorization ()
 
virtual void endViewVectorization ()
 
void setTrueColor (const OdCmEntityColor &trueColor)
 
void setPlotStyleNameType (OdDb::PlotStyleNameType plotStyleNameType)
 
void setPlotStyleNameId (OdDbStub *plotStyleNameId)
 
void setColor (OdUInt16 color)
 
void setLayer (OdDbStub *layerId)
 
void setLineType (OdDbStub *lineTypeId)
 
void setFillType (OdGiFillType fillType)
 
void setLineWeight (OdDb::LineWeight lineWeight)
 
void setLineTypeScale (double lineTypeScale)
 
void setThickness (double thickness)
 
void setPlotStyleName (OdDb::PlotStyleNameType plotStyleNameType, OdDbStub *pPlotStyleNameId=0)
 
void setSelectionMarker (OdGsMarker selectionMarker)
 
void setMaterial (OdDbStub *pMaterialId)
 
void setMapper (const OdGiMapper *pMapper)
 
void setVisualStyle (const OdDbStub *pVisualStyleId)
 
void setTransparency (const OdCmTransparency &transparency)
 
void setDrawFlags (OdUInt32 drawFlags)
 
void setLockFlags (OdUInt32 lockFlags)
 
void setSelectionGeom (bool bSelectionFlag)
 
void setShadowFlags (ShadowFlags shadowFlags)
 
void setSectionable (bool bSectionableFlag)
 
void setSelectionFlags (SelectionFlags selectionFlags)
 
void setSecondaryTrueColor (const OdCmEntityColor &color)
 
void setLineStyleModifiers (const OdGiDgLinetypeModifiers *pLSMod)
 
void setFill (const OdGiFill *pFill)
 
void setAuxData (const OdGiAuxiliaryDataPtr &pAuxData)
 
OdGiContextcontext () const
 
bool regenAbort () const
 
OdGiSubEntityTraitssubEntityTraits () const
 
double deviation (const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve) const
 
OdGiRegenType regenType () const
 
OdUInt32 numberOfIsolines () const
 
OdGiGeometryrawGeometry () const
 
bool isDragging () const
 
OdUInt32 drawContextFlags () const
 
void setDrawContextFlags (OdUInt32 flags, bool bFlag)
 
OdUInt32 sequenceNumber () const
 
bool isValidId (const OdUInt32 viewportId) const
 
OdDbStub * viewportObjectId () const
 
OdGiViewportviewport () const
 
void circle (const OdGePoint3d &center, double radius, const OdGeVector3d &normal)
 
void circle (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint)
 
void circularArc (const OdGePoint3d &center, double radius, const OdGeVector3d &normal, const OdGeVector3d &startVector, double sweepAngle, OdGiArcType arcType=kOdGiArcSimple)
 
void circularArc (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint, OdGiArcType arcType=kOdGiArcSimple)
 
void polyline (OdInt32 numVertices, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal=0, OdGsMarker baseSubEntMarker=-1)
 
void polygon (OdInt32 numVertices, const OdGePoint3d *vertexList)
 
void polygon (OdInt32 numVertices, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal)
 
void pline (const OdGiPolyline &polyline, OdUInt32 fromIndex=0, OdUInt32 numSegs=0)
 
void shape (const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, int shapeNumber, const OdGiTextStyle *pTextStyle)
 
void text (const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, double height, double width, double oblique, const OdString &msg)
 
void text (const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, const OdChar *msg, OdInt32 length, bool raw, const OdGiTextStyle *pTextStyle)
 
void xline (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint)
 
void ray (const OdGePoint3d &basePoint, const OdGePoint3d &throughPoint)
 
void nurbs (const OdGeNurbCurve3d &nurbsCurve)
 
void ellipArc (const OdGeEllipArc3d &ellipArc, const OdGePoint3d *endPointsOverrides=0, OdGiArcType arcType=kOdGiArcSimple)
 
void mesh (OdInt32 numRows, OdInt32 numColumns, const OdGePoint3d *vertexList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)
 
void shell (OdInt32 numVertices, const OdGePoint3d *vertexList, OdInt32 faceListSize, const OdInt32 *faceList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)
 
void worldLine (const OdGePoint3d points[2])
 
void image (const OdGiImageBGRA32 &img, const OdGePoint3d &origin, const OdGeVector3d &uVec, const OdGeVector3d &vVec, OdGiRasterImage::TransparencyMode trpMode=OdGiRasterImage::kTransparency8Bit)
 
void edge (const OdGiEdge2dArray &edges)
 
void polypoint (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdCmEntityColor *pColors, const OdCmTransparency *pTransparency, const OdGeVector3d *pNormals, const OdGsMarker *pSubEntMarkers, OdInt32 nPointSize)
 
virtual void polyPolygon (OdUInt32 numIndices, const OdUInt32 *pNumPositions, const OdGePoint3d *pPositions, const OdUInt32 *pNumPoints, const OdGePoint3d *pPoints, const OdCmEntityColor *pOutlineColors=NULL, const OdUInt32 *pOutlinePsLinetypes=NULL, const OdCmEntityColor *pFillColors=NULL, const OdCmTransparency *pFillTransparencies=NULL)
 
void rowOfDots (OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint)
 
void pointCloud (const OdGiPointCloud &pCloud)
 
void pushClipBoundary (OdGiClipBoundary *pBoundary)
 
void pushClipBoundary (OdGiClipBoundary *pBoundary, OdGiAbstractClipBoundary *pClipInfo)
 
void drawClipBoundary (OdGiClipBoundary *pBoundary, OdGiAbstractClipBoundary *pClipInfo)
 
void popClipBoundary ()
 
bool isClipping () const
 
void pushModelTransform (const OdGeMatrix3d &xfm)
 
void pushModelTransform (const OdGeVector3d &normal)
 
void popModelTransform ()
 
OdGeMatrix3d getModelToWorldTransform () const
 
OdGeMatrix3d getWorldToModelTransform () const
 
bool isXrefOverride () const
 
void setXrefOverride (bool bSet)
 
void draw (const OdGiDrawable *pDrawable)
 
const OdGiPathNodecurrentGiPath () const
 
virtual OdUInt32 setAttributes (const OdGiDrawable *pDrawable)
 
OdUInt32 drawableAttributes () const
 
bool needDraw (OdUInt32 drawableFlags)
 
virtual bool doDraw (OdUInt32 drawableFlags, const OdGiDrawable *pDrawable)
 
void setExtents (const OdGePoint3d *newExtents)
 
void startAttributesSegment ()
 
bool isAttributesSegmentEnabled ()
 
void rasterImageDc (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiRasterImage *pImage, const OdGePoint2d *uvBoundary, OdUInt32 numBoundPts, bool transparency=false, double brightness=50.0, double contrast=50.0, double fade=0.0)
 
void metafileDc (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiMetafile *pMetafile, bool bDcAligned=true, bool bAllowClipping=false)
 
void polylineEye (OdUInt32 numVertices, const OdGePoint3d *vertexList)
 
void polygonEye (OdUInt32 numVertices, const OdGePoint3d *vertexList)
 
void polylineDc (OdUInt32 numVertices, const OdGePoint3d *vertexList)
 
void polygonDc (OdUInt32 numVertices, const OdGePoint3d *vertexList)
 
void polylineCs (OdGiContext::CoordinatesSystem cs, OdUInt32 numVertices, const OdGePoint3d *vertexList)
 
void polygonCs (OdGiContext::CoordinatesSystem cs, OdUInt32 numVertices, const OdGePoint3d *vertexList)
 
virtual void onTraitsModified ()
 
const OdGiDeviationmodelDeviation () const
 
const OdGiDeviationworldDeviation () const
 
const OdGiDeviationeyeDeviation () const
 
const OdGiMaterialTraitsDataeffectiveMaterialTraitsData () const
 
void effectiveMaterialTraitsData (OdGiMaterialTraitsData &data) const
 
void setEffectiveMaterialTraitsData (OdDbStub *materialId, const OdGiMaterialTraitsData &data, bool bForce=false)
 
OdGsMarker selectionMarker () const
 
const OdGiSubEntityTraitsDatabyBlockTraits () const
 
void setByBlockTraits (const OdGiSubEntityTraitsData *pByBlock)
 
OdRxObjectPtr saveByBlockTraits ()
 
- Public Member Functions inherited from OdGiWorldDrawImpl
virtual void setContext (OdGiContext *pUserContext)
 
OdUInt16 color () const
 
OdCmEntityColor trueColor () const
 
OdDbStub * layer () const
 
OdDbStub * lineType () const
 
OdGiFillType fillType () const
 
OdDb::LineWeight lineWeight () const
 
double lineTypeScale () const
 
double thickness () const
 
OdDb::PlotStyleNameType plotStyleNameType () const
 
OdDbStub * plotStyleNameId () const
 
OdDbStub * material () const
 
const OdGiMappermapper () const
 
OdDbStub * visualStyle () const
 
OdCmTransparency transparency () const
 
OdUInt32 drawFlags () const
 
OdUInt32 lockFlags () const
 
bool selectionGeom () const
 
ShadowFlags shadowFlags () const
 
bool sectionable () const
 
SelectionFlags selectionFlags () const
 
OdCmEntityColor secondaryTrueColor () const
 
const OdGiDgLinetypeModifierslineStyleModifiers () const
 
const OdGiFillfill () const
 
OdGiAuxiliaryDataPtr auxData () const
 
void setTrueColor (const OdCmEntityColor &color)
 
void setPlotStyleName (OdDb::PlotStyleNameType plotStyleNameType, OdDbStub *pPlotStyleNameId=0)
 
void setColor (OdUInt16 color)
 
void setLayer (OdDbStub *layerId)
 
void setLineType (OdDbStub *lineTypeId)
 
void setFillType (OdGiFillType fillType)
 
void setLineWeight (OdDb::LineWeight lineWeight)
 
void setLineTypeScale (double lineTypeScale)
 
void setThickness (double thickness)
 
void setSelectionMarker (OdGsMarker selectionMarker)
 
void setMaterial (OdDbStub *pMaterialId)
 
void setMapper (const OdGiMapper *pMapper)
 
void setVisualStyle (const OdDbStub *visualStyleId)
 
void setTransparency (const OdCmTransparency &transparency)
 
void setDrawFlags (OdUInt32 drawFlags)
 
void setLockFlags (OdUInt32 lockFlags)
 
void setSelectionGeom (bool bSelectionFlag)
 
void setShadowFlags (ShadowFlags shadowFlags)
 
void setSectionable (bool bSectionableFlag)
 
void setSelectionFlags (SelectionFlags selectionFlags)
 
void setSecondaryTrueColor (const OdCmEntityColor &color)
 
void setLineStyleModifiers (const OdGiDgLinetypeModifiers *pLSMod)
 
void setFill (const OdGiFill *pFill)
 
void setAuxData (const OdGiAuxiliaryDataPtr &pAuxData)
 
OdGiContextcontext () const
 
OdGiSubEntityTraitssubEntityTraits () const
 
OdGiGeometryrawGeometry () const
 
OdUInt32 numberOfIsolines () const
 
virtual OdGiRegenType regenType () const
 
virtual bool regenAbort () const
 
virtual bool isDragging () const
 
virtual OdUInt32 numberOfIsolines () const
 
virtual double deviation (const OdGiDeviationType t, const OdGePoint3d &p) const
 
- Public Member Functions inherited from OdGiWorldDraw_
OdGiWorldGeometrygeometry () const
 
const OdGiPathNodecurrentGiPath () const
 
- Public Member Functions inherited from OdGiWorldDraw
 ODRX_DECLARE_MEMBERS (OdGiWorldDraw)
 
virtual OdGiWorldGeometrygeometry () const =0
 
- Public Member Functions inherited from OdGiCommonDraw
 ODRX_DECLARE_MEMBERS (OdGiCommonDraw)
 
virtual OdGiRegenType regenType () const =0
 
virtual bool regenAbort () const =0
 
virtual OdGiSubEntityTraitssubEntityTraits () const =0
 
virtual OdGiGeometryrawGeometry () const =0
 
virtual bool isDragging () const =0
 
virtual double deviation (const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve) const =0
 
virtual OdUInt32 numberOfIsolines () const =0
 
virtual OdGiContextcontext () const =0
 
virtual const OdGiPathNodecurrentGiPath () const
 
virtual bool displayModelerSilhouettes () const
 
- Public Member Functions inherited from OdGiWorldGeometry
 ODRX_DECLARE_MEMBERS (OdGiWorldGeometry)
 
virtual void setExtents (const OdGePoint3d *newExtents)=0
 
virtual void startAttributesSegment ()
 
- Public Member Functions inherited from OdGiGeometry
 ODRX_DECLARE_MEMBERS (OdGiGeometry)
 
virtual OdGeMatrix3d getModelToWorldTransform () const =0
 
virtual OdGeMatrix3d getWorldToModelTransform () const =0
 
virtual void pushModelTransform (const OdGeVector3d &normal)=0
 
virtual void pushModelTransform (const OdGeMatrix3d &xfm)=0
 
virtual void popModelTransform ()=0
 
virtual void circle (const OdGePoint3d &center, double radius, const OdGeVector3d &normal)=0
 
virtual void circle (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint)=0
 
virtual void circularArc (const OdGePoint3d &center, double radius, const OdGeVector3d &normal, const OdGeVector3d &startVector, double sweepAngle, OdGiArcType arcType=kOdGiArcSimple)=0
 
virtual void circularArc (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint, OdGiArcType arcType=kOdGiArcSimple)=0
 
virtual void polyline (OdInt32 numVertices, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal=0, OdGsMarker baseSubEntMarker=-1)=0
 
virtual void polygon (OdInt32 numVertices, const OdGePoint3d *vertexList)=0
 
virtual void polygon (OdInt32 numVertices, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal)
 
virtual void pline (const OdGiPolyline &polyline, OdUInt32 fromIndex=0, OdUInt32 numSegs=0)=0
 
virtual void mesh (OdInt32 numRows, OdInt32 numColumns, const OdGePoint3d *vertexList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)=0
 
virtual void shell (OdInt32 numVertices, const OdGePoint3d *vertexList, OdInt32 faceListSize, const OdInt32 *faceList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)=0
 
virtual void text (const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, double height, double width, double oblique, const OdString &msg)=0
 
virtual void text (const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, const OdChar *msg, OdInt32 length, bool raw, const OdGiTextStyle *pTextStyle)=0
 
virtual void xline (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint)=0
 
virtual void ray (const OdGePoint3d &basePoint, const OdGePoint3d &throughPoint)=0
 
virtual void nurbs (const OdGeNurbCurve3d &nurbsCurve)=0
 
virtual void ellipArc (const OdGeEllipArc3d &ellipArc, const OdGePoint3d *endPointsOverrides=0, OdGiArcType arcType=kOdGiArcSimple)=0
 
virtual void draw (const OdGiDrawable *pDrawable)=0
 
virtual void pushClipBoundary (OdGiClipBoundary *pBoundary)=0
 
virtual void popClipBoundary ()=0
 
virtual void worldLine (const OdGePoint3d points[2])=0
 
virtual void image (const OdGiImageBGRA32 &img, const OdGePoint3d &origin, const OdGeVector3d &uVec, const OdGeVector3d &vVec, OdGiRasterImage::TransparencyMode trpMode=OdGiRasterImage::kTransparency8Bit)=0
 
virtual void edge (const OdGiEdge2dArray &edges)=0
 
virtual const OdGiPathNodecurrentGiPath () const
 
virtual void pushClipBoundary (OdGiClipBoundary *pBoundary, OdGiAbstractClipBoundary *pClipInfo)
 
virtual void polypoint (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdCmEntityColor *pColors, const OdCmTransparency *pTransparency, const OdGeVector3d *pNormals=NULL, const OdGsMarker *pSubEntMarkers=NULL, OdInt32 nPointSize=0)
 
ODRX_SEALED_VIRTUAL void polypoint (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdCmEntityColor *pColors, const OdGeVector3d *pNormals=NULL, const OdGsMarker *pSubEntMarkers=NULL) ODRX_SEALED
 
ODRX_SEALED_VIRTUAL void polypoint (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdGeVector3d *pNormals=NULL, const OdGsMarker *pSubEntMarkers=NULL) ODRX_SEALED
 
virtual void polyPolygon (OdUInt32 numIndices, const OdUInt32 *pNumPositions, const OdGePoint3d *pPositions, const OdUInt32 *pNumPoints, const OdGePoint3d *pPoints, const OdCmEntityColor *pOutlineColors=NULL, const OdUInt32 *pOutlinePsLinetypes=NULL, const OdCmEntityColor *pFillColors=NULL, const OdCmTransparency *pFillTransparencies=NULL)
 
virtual void rowOfDots (OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint)
 
virtual void pointCloud (const OdGiPointCloud &pCloud)
 
virtual bool brep (const OdGiBrep &giBrep)
 
- Public Member Functions inherited from OdGiSubEntityTraits
 ODRX_DECLARE_MEMBERS (OdGiSubEntityTraits)
 
virtual void setColor (OdUInt16 color)=0
 
virtual void setTrueColor (const OdCmEntityColor &color)=0
 
virtual void setLayer (OdDbStub *layerId)=0
 
virtual void setLineType (OdDbStub *lineTypeId)=0
 
virtual void setSelectionMarker (OdGsMarker selectionMarker)=0
 
virtual void setFillType (OdGiFillType fillType)=0
 
virtual void setFillPlane (const OdGeVector3d *pNormal=0)
 
virtual void setLineWeight (OdDb::LineWeight lineWeight)=0
 
virtual void setLineTypeScale (double lineTypeScale=1.0)=0
 
virtual void setThickness (double thickness)=0
 
virtual void setPlotStyleName (OdDb::PlotStyleNameType plotStyleNameType, OdDbStub *plotStyleNameId=0)=0
 
virtual void setMaterial (OdDbStub *materialId)=0
 
virtual void setMapper (const OdGiMapper *pMapper)=0
 
virtual void setVisualStyle (const OdDbStub *visualStyleId)
 
virtual void setTransparency (const OdCmTransparency &transparency)
 
virtual void setDrawFlags (OdUInt32 drawFlags)
 
virtual void setLockFlags (OdUInt32 lockFlags)
 
virtual void setSelectionGeom (bool bSelectionFlag)
 
virtual void setShadowFlags (ShadowFlags shadowFlags)
 
virtual void setSectionable (bool bSectionableFlag)
 
virtual void setSelectionFlags (SelectionFlags selectionFlags)
 
virtual OdUInt16 color () const =0
 
virtual OdCmEntityColor trueColor () const =0
 
virtual OdDbStub * layer () const =0
 
virtual OdDbStub * lineType () const =0
 
virtual OdGiFillType fillType () const =0
 
virtual bool fillPlane (OdGeVector3d &normal)
 
virtual OdDb::LineWeight lineWeight () const =0
 
virtual double lineTypeScale () const =0
 
virtual double thickness () const =0
 
virtual OdDb::PlotStyleNameType plotStyleNameType () const =0
 
virtual OdDbStub * plotStyleNameId () const =0
 
virtual OdDbStub * material () const =0
 
virtual const OdGiMappermapper () const =0
 
virtual OdDbStub * visualStyle () const
 
virtual OdCmTransparency transparency () const
 
virtual OdUInt32 drawFlags () const
 
virtual OdUInt32 lockFlags () const
 
virtual bool selectionGeom () const
 
virtual ShadowFlags shadowFlags () const
 
virtual bool sectionable () const
 
virtual SelectionFlags selectionFlags () const
 
virtual void setSecondaryTrueColor (const OdCmEntityColor &color)
 
virtual OdCmEntityColor secondaryTrueColor () const
 
virtual void setLineStyleModifiers (const OdGiDgLinetypeModifiers *pLSMod)
 
virtual const OdGiDgLinetypeModifierslineStyleModifiers () const
 
virtual void setFill (const OdGiFill *pFill)
 
virtual const OdGiFillfill () const
 
virtual void setAuxData (const OdGiAuxiliaryDataPtr &pAuxData)
 
virtual OdGiAuxiliaryDataPtr auxData () const
 
virtual bool pushLineweightOverride (const OdGiLineweightOverride *pOverride)
 
virtual void popLineweightOverride ()
 
virtual bool pushPaletteOverride (const OdGiPalette *pOverride)
 
virtual void popPaletteOverride ()
 
virtual OdUInt32 setupForEntity () const
 
virtual void addLight (const OdDbStub *lightId)
 
- Public Member Functions inherited from OdGiDrawableTraits
 ODRX_DECLARE_MEMBERS (OdGiDrawableTraits)
 
- Public Member Functions inherited from OdGiViewportDraw_
OdGiViewportGeometrygeometry () const
 
const OdGiPathNodecurrentGiPath () const
 
- Public Member Functions inherited from OdGiViewportDraw
 ODRX_DECLARE_MEMBERS (OdGiViewportDraw)
 
virtual OdGiViewportviewport () const =0
 
virtual OdGiViewportGeometrygeometry () const =0
 
virtual OdUInt32 sequenceNumber () const =0
 
virtual bool isValidId (const OdUInt32 viewportId) const =0
 
virtual OdDbStub * viewportObjectId () const =0
 
- Public Member Functions inherited from OdGiViewportGeometry
 ODRX_DECLARE_MEMBERS (OdGiViewportGeometry)
 
virtual void polylineEye (OdUInt32 numVertices, const OdGePoint3d *vertexList)=0
 
virtual void polygonEye (OdUInt32 numVertices, const OdGePoint3d *vertexList)=0
 
virtual void polylineDc (OdUInt32 numVertices, const OdGePoint3d *vertexList)=0
 
virtual void polygonDc (OdUInt32 numVertices, const OdGePoint3d *vertexList)=0
 
virtual void rasterImageDc (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiRasterImage *pImage, const OdGePoint2d *uvBoundary, OdUInt32 numBoundPts, bool transparency=false, double brightness=50.0, double contrast=50.0, double fade=0.0)=0
 
virtual void metafileDc (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiMetafile *pMetafile, bool dcAligned=true, bool allowClipping=false)=0
 
virtual void ownerDrawDc (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiSelfGdiDrawable *pDrawable, bool dcAligned=true, bool allowClipping=false)
 
- Public Member Functions inherited from OdGiConveyorContext
virtual ~OdGiConveyorContext ()
 
virtual OdGiContextgiContext () const =0
 
virtual OdGiSubEntityTraitssubEntityTraits () const =0
 
virtual const OdGiSubEntityTraitsDataeffectiveTraits () const =0
 
virtual void setEffectiveTraits (const OdGiSubEntityTraitsData &traits, const OdGeVector3d *fillNormal=NULL)=0
 
virtual bool effectivelyVisible () const
 
virtual const OdGiDrawableDesccurrentDrawableDesc () const =0
 
virtual const OdGiDrawablecurrentDrawable () const =0
 
virtual const OdGiViewportgiViewport () const =0
 
virtual const OdGsViewgsView () const =0
 
virtual void onTraitsModified ()=0
 
virtual void onTextProcessing (const OdGePoint3d &, const OdGeVector3d &, const OdGeVector3d &)
 
virtual bool regenAbort () const =0
 
virtual const OdGiPathNodecurrentGiPath () const =0
 
virtual const OdGiDeviationworldDeviation () const =0
 
virtual const OdGiDeviationmodelDeviation () const =0
 
virtual const OdGiDeviationeyeDeviation () const =0
 
virtual OdGeMatrix3d getModelToWorldTransform () const =0
 
virtual OdGeMatrix3d getWorldToModelTransform () const =0
 
virtual const OdGiLineweightOverridecurrentLineweightOverride () const
 
virtual OdUInt32 drawContextFlags () const
 
virtual double annotationScale () const
 
- Public Member Functions inherited from OdGiDeviation
virtual double deviation (const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve) const =0
 
virtual ~OdGiDeviation ()
 

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 , kSelectionGeometry = OdGiBaseVectorizer::kLastFlag << 8 ,
  kSelectionDisabled = OdGiBaseVectorizer::kLastFlag << 9 , kObjectToDeviceValid = OdGiBaseVectorizer::kLastFlag << 10 , kDisableInfiniteGeomExtents = OdGiBaseVectorizer::kLastFlag << 11 , kSectionableGeomExtentsOnly = OdGiBaseVectorizer::kLastFlag << 12 ,
  kDisableSection = OdGiBaseVectorizer::kLastFlag << 13 , kSectionForegroundGeometry = OdGiBaseVectorizer::kLastFlag << 14 , kInitGsState = OdGiBaseVectorizer::kLastFlag << 15 , kSetVpLtypeScaleMult = OdGiBaseVectorizer::kLastFlag << 16 ,
  kSetVpFilterFunction = OdGiBaseVectorizer::kLastFlag << 17 , kLineweightOverride = OdGiBaseVectorizer::kLastFlag << 18 , kLinestyleOverride = OdGiBaseVectorizer::kLastFlag << 19 , kLastOptionFlag = kLinestyleOverride
}
 
enum  ImplFlags {
  kFirstImplFlag = 1 , kSectionableGeomEnabled = kFirstImplFlag << 0 , kMultiplyLinestyleScale = kFirstImplFlag << 1 , kSkipViewSectioning = kFirstImplFlag << 2 ,
  kHiddenImplFlag = kFirstImplFlag << 3 , kLastImplFlag = kHiddenImplFlag
}
 
- Protected Types inherited from OdGiBaseVectorizer
enum  Flags {
  kFirstFlag = 1 , kSuppressViewportDraw = kFirstFlag << 0 , kDrawInvisibleEnts = kFirstFlag << 1 , kDrawLayerOff = kFirstFlag << 2 ,
  kDrawLayerFrozen = kFirstFlag << 3 , kIgnoreFillPlane = kFirstFlag << 4 , kSelectionMode = kFirstFlag << 5 , kAttributesSegment = kFirstFlag << 6 ,
  kXrefOverride = kFirstFlag << 7 , kLastFlag = kXrefOverride
}
 
typedef std::map< OdDbStub *, LayerTraitsCacheLayerTraitsCacheMap
 
typedef OdGiTraitsCache< OdGiMaterialTraitsData, OdGiMaterialTraitsTaker, OdGiMaterialTraits::kByBlock|OdGiMaterialTraits::kByLayerOdGiMaterialTraitsCache
 

Protected Member Functions

 ODRX_USING_HEAP_OPERATORS (OdGiBaseVectorizer)
 
bool useFillPlane () const
 
virtual const OdGeMatrix3dmetafileTransform () const
 
bool isOutputSuppressed () const
 
bool isEffectiveLinetypeContinuous () const
 
bool isSupportPlotStyles () const
 
virtual void affectTraits (const OdGiSubEntityTraitsData *pSource, OdGiSubEntityTraitsData &destination) const
 
double lineweightToPixelsOverride (OdDb::LineWeight lineweight, bool bAbsolute=false) const
 
int lineweightToPixelsOverrideInt (OdDb::LineWeight lineweight) const
 
double lineweightToPixelsOverride (double lineweight, bool bAbsolute=false) const
 
virtual void updateLineweightOverride (const OdGiLineweightOverride &lwdOverride)
 
virtual void updatePaletteOverride (const OdGiPalette *pPalette)
 
- Protected Member Functions inherited from OdGiBaseVectorizer
 ODRX_HEAP_OPERATORS ()
 
void actualizeMaterialAttributes (OdDbStub *materialId) const
 
virtual OdDbStub * switchLayer (OdDbStub *layerId) const
 
virtual const OdGiLayerTraitsDataeffectiveLayerTraits () const
 
virtual bool layerVisible (OdDbStub *layerId) const
 
void updateLayerTraits (OdGiSubEntityTraitsData &subEntityTraits) const
 
const OdGeVector3dextrusion (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint)
 
const OdGeVector3dextrusion (const OdGeVector3d &normal)
 
const OdGeVector3dextrusion (const OdGeVector3d *pNormal)
 
const OdGeVector3dextrusion (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v)
 
virtual void affectTraits (const OdGiSubEntityTraitsData *pSource, OdGiSubEntityTraitsData &destination) const
 
virtual double linetypeGenerationCriteria () const
 
void resetEntityTraitsDataKeepAuxData ()
 
void resetEntityTraitsData ()
 
void updateTraitsDataByBlockTraits (const OdGiSubEntityTraitsData *pBlockTraits)
 
virtual void selectionMarkerOnChange (OdGsMarker nSelectionMarker)
 
virtual bool updateExtentsOnly () const
 
- Protected Member Functions inherited from OdGiWorldDrawImpl
 ODRX_USING_HEAP_OPERATORS (OdGiDummyCommonDraw< OdGiWorldDraw_ >)
 
 OdGiWorldDrawImpl ()
 
- Protected Member Functions inherited from OdGiWorldDraw_
 ODRX_USING_HEAP_OPERATORS (OdGiWorldDraw)
 
- Protected Member Functions inherited from OdGiViewportDraw_
 ODRX_USING_HEAP_OPERATORS (OdGiViewportDraw)
 

Protected Attributes

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

Additional Inherited Members

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

Member Enumeration Documentation

◆ Flags

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

Definition at line 1034 of file GiBaseVectorizerImpl.h.

◆ ImplFlags

Enumerator
kFirstImplFlag 
kSectionableGeomEnabled 
kMultiplyLinestyleScale 
kSkipViewSectioning 
kHiddenImplFlag 

Geometry hidden flag

kLastImplFlag 

Definition at line 1059 of file GiBaseVectorizerImpl.h.

◆ VectorizingFlags

begin/endVectorization() needs an argument indicating a mode, but introducing such argument causes changes in all derived classes. Hence it is done by means of m_vectorizingFlags, it is set before begin/endVectorization() is called.

Enumerator
kNotVectorizing 
kVectorizing 
kDisplaying 
kSelecting 
kExtentsComp 

Definition at line 824 of file GiBaseVectorizerImpl.h.

Constructor & Destructor Documentation

◆ OdGiBaseVectorizerImpl()

OdGiBaseVectorizerImpl::OdGiBaseVectorizerImpl ( )

Default constructor for the OdGiBaseVectorizerImpl class.

Member Function Documentation

◆ acadWindowId()

virtual OdInt16 OdGiBaseVectorizerImpl::acadWindowId ( ) const
virtual

Returns the ID for this vectorizer window.

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

Affects effective sub-entity traits.

Parameters
pSource[in] Source sub-entity traits data.
destination[in] Destination sub-entity traits data.

Reimplemented from OdGiBaseVectorizer.

◆ annotationScale()

virtual double OdGiBaseVectorizerImpl::annotationScale ( ) const
virtual

Retrieves current annotationScale value of conveyor context.

Reimplemented from OdGiConveyorContext.

◆ annotationScaleId()

virtual OdDbStub * OdGiBaseVectorizerImpl::annotationScaleId ( ) const
virtual

Returns annotation scale id for the current view.

Remarks
This id could be null if database does not support annotation scales.

Reimplemented from OdGiViewport.

◆ 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 162 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 116 of file GiBaseVectorizerImpl.h.

◆ beginViewVectorization()

virtual void OdGiBaseVectorizerImpl::beginViewVectorization ( )
virtual

OdGiBaseVectorizer methods

Begins the ViewVectorization process for this Vectorizer object.

Reimplemented from OdGiBaseVectorizer.

Reimplemented in OdGsBaseMaterialVectorizer, and OdGsBaseVectorizer.

◆ clearLinetypeCache()

void OdGiBaseVectorizerImpl::clearLinetypeCache ( )

Clears cache that is used for linetypes.

◆ 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

Retrieves pointer to current lineweight override.

Reimplemented from OdGiConveyorContext.

Definition at line 1296 of file GiBaseVectorizerImpl.h.

◆ deviation()

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

OdGiCommonDraw methods

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.
Returns
recommended maximum deviation of the current vectorization as double value.
Remarks
deviationType must be one of the following:

Value kOdGiMaxDevForCircle 0
kOdGiMaxDevForCurve 1
kOdGiMaxDevForBoundary 2
kOdGiMaxDevForIsoline 3 kOdGiMaxDevForFacet 4

Reimplemented from OdGiBaseVectorizer.

Reimplemented in OdGsBaseVectorizer.

◆ 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 the point was transformed; i.e., a perspective transform is active, and the point was neither too close or behind the camera.

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 the point was transformed; i.e., a perspective transform is active, and the point was neither too close or behind the camera.

Implements OdGiViewport.

◆ effectivePlotStyle()

const OdPsPlotStyleData & OdGiBaseVectorizerImpl::effectivePlotStyle ( ) const

Returns the effective plot style for this vectorizer object.

◆ effectiveTraits()

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

Retrieves the EntityTraitsData in effect for this Vectorization object.

Returns
entity traits that are in effect for this vectorizer.

Reimplemented from OdGiBaseVectorizer.

◆ endViewVectorization()

virtual void OdGiBaseVectorizerImpl::endViewVectorization ( )
virtual

Ends the ViewVectorization process for this Vectorizer object.

Reimplemented from OdGiBaseVectorizer.

Reimplemented in OdGsBaseMaterialVectorizer, and OdGsBaseVectorizer.

◆ getCameraLocation()

virtual OdGePoint3d OdGiBaseVectorizerImpl::getCameraLocation ( ) const
virtual

Returns the WCS camera (eye) location for this vectorizer.

Implements OdGiViewport.

◆ getCameraTarget()

virtual OdGePoint3d OdGiBaseVectorizerImpl::getCameraTarget ( ) const
virtual

Returns the WCS camera target for this vectorizer.

Implements OdGiViewport.

◆ getCameraUpVector()

virtual OdGeVector3d OdGiBaseVectorizerImpl::getCameraUpVector ( ) const
virtual

Returns the WCS camera "up" vector for this vectorizer.

Implements OdGiViewport.

◆ getEyeToModelTransform()

virtual OdGeMatrix3d OdGiBaseVectorizerImpl::getEyeToModelTransform ( ) const
virtual

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

Implements OdGiViewport.

◆ getEyeToWorldTransform()

virtual OdGeMatrix3d OdGiBaseVectorizerImpl::getEyeToWorldTransform ( ) const
virtual

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

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

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.
Returns
true only if both front clipping and back clipping is enabled, false otherwise.
Remarks
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

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

Implements OdGiViewport.

◆ getModelToWorldTransform()

virtual OdGeMatrix3d OdGiBaseVectorizerImpl::getModelToWorldTransform ( ) const
virtual

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

Reimplemented from OdGiBaseVectorizer.

◆ getNumPixelsInUnitSquare()

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

Returns the display pixel density at the specified point for this vectorizer.

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.

◆ getPalette()

const ODCOLORREF * OdGiBaseVectorizerImpl::getPalette ( int *  pNumColors = NULL) const

Returns the logical palette of this object.

Parameters
pNumColors[out] Returns number of colors inside logical palette.

◆ getRenderMode()

OdGsView::RenderMode OdGiBaseVectorizerImpl::getRenderMode ( ) const

Returns the render mode for this object.

Returns
OdGsView::RenderMode value which can be one of the following:

Value Description kBoundingBox -1 Bounding box. For internal use only. k2DOptimized 0 Standard display. Optimized for 2D. kWireframe 1 Standard display. Uses 3D pipeline. kHiddenLine 2 Wireframe display. Hidden lines removed. kFlatShaded 3 Faceted display. One color per face. kGouraudShaded 4 Smooth shaded display. Colors interpolated between vertices. kFlatShadedWithWireframe 5 Faceted display with wireframe overlay. kGouraudShadedWithWireframe 6 Smooth shaded display with wireframe overlay.

See also
<exref target="https://docs.opendesign.com/tv/tv_working_with_base_classes_view_functionality.html#7">Managing Render Modes</exref>

◆ getViewportDcCorners()

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

Returns lower-left and upper-right corners of this vectorizer 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.

Implements OdGiViewport.

◆ getWorldToEyeTransform()

virtual OdGeMatrix3d OdGiBaseVectorizerImpl::getWorldToEyeTransform ( ) const
virtual

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

Implements OdGiViewport.

◆ getWorldToModelTransform()

virtual OdGeMatrix3d OdGiBaseVectorizerImpl::getWorldToModelTransform ( ) const
virtual

Retrieves model-to-world coordinate transform which is inverse of the retrieved matrix from the getModelToWorldTransform() method. The retrieved matrix can transform an entity's world coordinate representation back into the original model coordinates.

Reimplemented from OdGiBaseVectorizer.

◆ giViewport()

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

OdGiConveyorContext methods

Retrieves gi viewport associated with this vectorizer.

Reimplemented from OdGiBaseVectorizer.

◆ gsView()

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

Retrieves gs view associated with this object.

See also
<link tv_working_with_base_classes_view.html, Work with Visualize Graphical Views>

Reimplemented from OdGiBaseVectorizer.

◆ hasLinestyleOverride()

bool OdGiBaseVectorizerImpl::hasLinestyleOverride ( ) const
inline

Checks whether this object has line style override.

Returns
true if line style override, false otherwise.

Definition at line 1308 of file GiBaseVectorizerImpl.h.

◆ hasLineweightOverride()

bool OdGiBaseVectorizerImpl::hasLineweightOverride ( ) const
inline

Checks whether this object has lineweight override.

Returns
true if lineweight override, false otherwise.
See also
<link tv_working_with_attributes_lineweights, Work with Lineweights>

Definition at line 1303 of file GiBaseVectorizerImpl.h.

◆ hasPaletteOverride()

bool OdGiBaseVectorizerImpl::hasPaletteOverride ( ) const
inline

Checks whether this object has palette override.

Returns
true if palette override is enabled, false otherwise.

Definition at line 347 of file GiBaseVectorizerImpl.h.

◆ hasPaletteOverrides()

virtual bool OdGiBaseVectorizerImpl::hasPaletteOverrides ( ) const
virtual

Checks whether this vectorizer has non-empty palette overrides stack.

Returns
true if this vectorizer has palette overrides, false otherwise.

Reimplemented in OdGsBaseVectorizer.

◆ isEffectiveLinetypeContinuous()

bool OdGiBaseVectorizerImpl::isEffectiveLinetypeContinuous ( ) const
protected

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

◆ isLinetypesEnabled()

bool OdGiBaseVectorizerImpl::isLinetypesEnabled ( ) const
inline

Checks whether linetypes are enabled.

Returns
true if linetypes are enabled, false otherwise.

Definition at line 1257 of file GiBaseVectorizerImpl.h.

◆ isMultiplyLineStyleScale()

bool OdGiBaseVectorizerImpl::isMultiplyLineStyleScale ( ) const
inline

Checks whether line style scale multiplier is enabled.

Returns
true if line style scale multiplier is enabled, false otherwise.

Definition at line 1313 of file GiBaseVectorizerImpl.h.

◆ isOutputSuppressed()

bool OdGiBaseVectorizerImpl::isOutputSuppressed ( ) const
inlineprotected

Returns true in case if vectorizer execute vectorization process, which is not related to graphics rendering: Extents computation or selection process.

Definition at line 1246 of file GiBaseVectorizerImpl.h.

◆ isPerspective()

virtual bool OdGiBaseVectorizerImpl::isPerspective ( ) const
virtual

Checks whether perspective mode is turned on for this vectorizer.

Returns
true if perspective mode is on for this vectorizer, false otherwise.

Implements OdGiViewport.

◆ isSupportPlotStyles()

bool OdGiBaseVectorizerImpl::isSupportPlotStyles ( ) const
inlineprotected

Returns true in case if Plot Styles support enabled for this Vectorizer object.

Definition at line 1272 of file GiBaseVectorizerImpl.h.

◆ isValidId()

virtual bool OdGiBaseVectorizerImpl::isValidId ( const OdUInt32  viewportId) const
virtual

Checks whether the specified Viewport ID is a valid Viewport ID.

Parameters
viewportId[in] Viewport ID.
Returns
true if the specified Viewport ID is a valid Viewport ID, false otherwise.
Remarks
viewportId is typically obtained from viewport().viewportId().

Reimplemented from OdGiBaseVectorizer.

◆ isViewSectioningSkipped()

bool OdGiBaseVectorizerImpl::isViewSectioningSkipped ( ) const
inline

Checks whether view sectioning is skipped.

Returns
true if view sectioning is skipped, false otherwise.

Definition at line 1267 of file GiBaseVectorizerImpl.h.

◆ layerVisible()

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

Checks whether the specified layer is not frozen either globally or in the associated Viewport of this vectorizer.

Parameters
layerId[in] Object ID of OdLayerTableRecord.
Returns
true the specified layer is not frozen either globally or in the associated Viewport of this vectorizer, false otherwise.

Reimplemented from OdGiBaseVectorizer.

◆ linetypeGenerationCriteria()

virtual double OdGiBaseVectorizerImpl::linetypeGenerationCriteria ( ) const
virtual

Returns the WCS value below which linetype generation is not used.

Remarks
If the WCS length an entire linetype pattern is less than the returned value, then the linetype will be rendered as continuous.

Reimplemented from OdGiBaseVectorizer.

◆ linetypeScaleMultiplier()

virtual double OdGiBaseVectorizerImpl::linetypeScaleMultiplier ( ) const
virtual

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

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 1284 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 1277 of file GiBaseVectorizerImpl.h.

◆ lineweightToPixelsOverride() [1/2]

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

Returns lineweight, multiplied by active lineweight to pixels override.

Parameters
lineweight[in] Input lineweight as floating point value.
bAbsolute[in] If set as true, will multiply onto scale override, or onto pixel scale elsewhere.

◆ lineweightToPixelsOverride() [2/2]

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

Returns lineweight, multiplied by active lineweight to pixels override.

Parameters
lineweight[in] Input lineweight value in millimeters.
bAbsolute[in] If set as true, will multiply onto scale override, or onto pixel scale elsewhere.

Definition at line 1291 of file GiBaseVectorizerImpl.h.

◆ lineweightToPixelsOverrideInt()

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

Returns lineweight, multiplied by active lineweight to pixels override and converted into integer value.

Parameters
lineweight[in] Input lineweight value in millimeters.

◆ liveSection()

const OdGiDrawable * OdGiBaseVectorizerImpl::liveSection ( ) const
inline

Retrieves the live section.

Definition at line 257 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.
See also
<link tv_geometry_meshes.html, Work with Meshes>

Reimplemented from OdGiBaseVectorizer.

◆ metafileTransform()

virtual const OdGeMatrix3d & OdGiBaseVectorizerImpl::metafileTransform ( ) const
inlineprotectedvirtual

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

Returns
Model-to-world transform matrix.

Reimplemented in OdGsBaseVectorizer.

Definition at line 857 of file GiBaseVectorizerImpl.h.

◆ modelToWorldTransform()

OdGeMatrix3d OdGiBaseVectorizerImpl::modelToWorldTransform ( ) const

Retrieves the transformation matrix from model space to world space.

◆ objectToDeviceMatrix()

virtual OdGeMatrix3d OdGiBaseVectorizerImpl::objectToDeviceMatrix ( ) const
virtual

Returns the matrix that transforms coordinates from model space to screen space for this Viewport object.

See also
Coordinate Systems.

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

◆ ODRX_USING_HEAP_OPERATORS()

OdGiBaseVectorizerImpl::ODRX_USING_HEAP_OPERATORS ( OdGiBaseVectorizer  )
protected

◆ onTraitsModified()

virtual void OdGiBaseVectorizerImpl::onTraitsModified ( )
virtual

This method can be called whenever entity traits are changed.

Reimplemented from OdGiBaseVectorizer.

Reimplemented in OdGsBaseMaterialVectorizer, and OdGsBaseVectorizer.

◆ paletteColor() [1/2]

ODCOLORREF OdGiBaseVectorizerImpl::paletteColor ( OdInt16  colorIndex) const
inline

Retrieves palette color at the specified index.

Parameters
colorIndex[in] Color index.

Definition at line 332 of file GiBaseVectorizerImpl.h.

◆ paletteColor() [2/2]

ODCOLORREF OdGiBaseVectorizerImpl::paletteColor ( OdUInt16  colorIndex) const

Retrieves palette color at the specified index.

Parameters
colorIndex[in] Index in the palette.

◆ popLineweightOverride()

virtual void OdGiBaseVectorizerImpl::popLineweightOverride ( )
virtual

Pops lineweight scale and style override from lineweight overrides stack.

Reimplemented from OdGiSubEntityTraits.

◆ popModelTransform()

virtual void OdGiBaseVectorizerImpl::popModelTransform ( )
virtual

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

Reimplemented from OdGiBaseVectorizer.

Reimplemented in OdGsBaseVectorizer.

◆ popPaletteOverride()

virtual void OdGiBaseVectorizerImpl::popPaletteOverride ( )
virtual

Pop palette override from palette overrides stack.

Reimplemented from OdGiSubEntityTraits.

Reimplemented in OdGsBaseVectorizer.

◆ pushLineweightOverride()

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

Pushes lineweight scale and style override into lineweight overrides stack.

Parameters
pOverride[in] New lineweight override.
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

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

Parameters
xfm[in] Transformation matrix.

Reimplemented from OdGiBaseVectorizer.

Reimplemented in OdGsBaseVectorizer.

◆ pushModelTransform() [2/2]

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

OdGiGeometry methods

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

Parameters
normal[in] Transformation matrix.

Reimplemented from OdGiBaseVectorizer.

Reimplemented in OdGsBaseVectorizer.

◆ pushPaletteOverride()

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

Push palette override into palette overrides stack.

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

Reimplemented from OdGiSubEntityTraits.

Reimplemented in OdGsBaseVectorizer.

◆ ray()

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

Introduces a ray into this vectorization context.

Parameters
basePoint[in] Base point.
throughPoint[in] Through point
See also
<link tv_geometry_lines.html, Work with Lines>

Reimplemented from OdGiBaseVectorizer.

◆ regenType()

virtual OdGiRegenType OdGiBaseVectorizerImpl::regenType ( ) const
virtual

Retrieves the regeneration type of the current vectorization process.

Returns
one of the following regeneration types:

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 170 of file GiBaseVectorizerImpl.h.

◆ sequenceNumber()

virtual OdUInt32 OdGiBaseVectorizerImpl::sequenceNumber ( ) const
virtual

OdGiViewportDraw methods

Returns the number of viewports that have been deleted from the current database during this editing session.

Reimplemented from OdGiBaseVectorizer.

◆ setExtents()

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

OdGiWorldGeometry methods

Sets geometrical extents for this vectorizer.

Parameters
newExtents[in] New geometrical extents to set.

Reimplemented from OdGiBaseVectorizer.

◆ setFillPlane()

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

OdGiSubEntityTraits methods

Sets the current fill plane.

Parameters
pNormal[in] Pointer to the normal to the plane.

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.

Reimplemented from OdGiBaseVectorizer.

◆ setLinetypesEnabled()

void OdGiBaseVectorizerImpl::setLinetypesEnabled ( bool  bEnable)
inline

Enables or disables linetypes.

Parameters
bEnable[in] Flag to enable or disable linetypes.

Definition at line 1251 of file GiBaseVectorizerImpl.h.

◆ setModelSection()

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

Sets a model section.

Parameters
pSection[in] Pointer to the section to set.
bUseSectionGeometryMap[in] Flag that specifies whether to use geometry map.

◆ setSkipViewSectioning()

void OdGiBaseVectorizerImpl::setSkipViewSectioning ( bool  bEnable)
inline

Specifies whether to skip view sectioning.

Parameters
bEnable[in] Flag that specifies whether to skip view sectioning.

Definition at line 1262 of file GiBaseVectorizerImpl.h.

◆ 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

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

Returns
SubEntityHints flags as the OdUInt32 value.

Reimplemented from OdGiSubEntityTraits.

◆ setVectorizingFlags()

void OdGiBaseVectorizerImpl::setVectorizingFlags ( int  flags)
inline

Sets vectorization flags.

Parameters
flags[in] New palette override.

Definition at line 843 of file GiBaseVectorizerImpl.h.

◆ 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 faceList.
faceList[in] Array of numbers that define the faces.
pEdgeData[in] Pointer to additional edge data.
pFaceData[in] Pointer to additional face data.
pVertexData[in] Pointer to additional vertex data.
See also
<link tv_geometry_shells.html, Work with Shells>

Reimplemented from OdGiBaseVectorizer.

◆ updateLineweightOverride()

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

Updates internal flags, related to current lineweights override state.

Parameters
lwdOverride[in] Current lineweights override state.

◆ updatePaletteOverride()

virtual void OdGiBaseVectorizerImpl::updatePaletteOverride ( const OdGiPalette pPalette)
protectedvirtual

Updates internal data, related to current palette override state. Default implementation does nothing.

Parameters
pPalette[in] Current palette override state.

◆ useFillPlane()

bool OdGiBaseVectorizerImpl::useFillPlane ( ) const
protected

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

◆ vectorizingFlags()

int OdGiBaseVectorizerImpl::vectorizingFlags ( ) const
inline

Returns a set of vectorization flags.

Definition at line 836 of file GiBaseVectorizerImpl.h.

◆ view()

OdGsViewImpl & OdGiBaseVectorizerImpl::view ( ) const
inline

Returns view associated with this vectorizer.

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

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

Implements OdGiViewport.

◆ viewportObjectId()

virtual OdDbStub * OdGiBaseVectorizerImpl::viewportObjectId ( ) const
virtual

Returns the Object ID of the OdDbViewport object associated with this object.

Reimplemented from OdGiBaseVectorizer.

◆ visualStyle()

virtual OdDbStub * OdGiBaseVectorizerImpl::visualStyle ( ) const
virtual

Retrieves an identifier of the visual style.

Returns
Pointer to the OdDbStub that represents a visual style identifier.
See also
<link tv_working_with_attributes_visual_styles.html, Work with Visual Styles>

Reimplemented from OdGiWorldDrawImpl.

◆ worldToModelTransform()

OdGeMatrix3d OdGiBaseVectorizerImpl::worldToModelTransform ( ) const

Retrieves the transformation matrix from world space to model space.

◆ xline()

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

Introduces an xline into this vectorization context.

Parameters
firstPoint[in] First point.
secondPoint[in] Second point.
See also
<link tv_geometry_lines.html, Work with Lines>

Reimplemented from OdGiBaseVectorizer.

Member Data Documentation

◆ m_awareFlags

struct OdGiBaseVectorizerImpl::AwareFlagsHandler OdGiBaseVectorizerImpl::m_awareFlags
protected

◆ m_fillPlane

OdGeVector3d OdGiBaseVectorizerImpl::m_fillPlane
protected

Definition at line 1004 of file GiBaseVectorizerImpl.h.

◆ m_implFlags

OdUInt32 OdGiBaseVectorizerImpl::m_implFlags
protected

Definition at line 1003 of file GiBaseVectorizerImpl.h.

◆ m_liveSection

OdGiDrawablePtr OdGiBaseVectorizerImpl::m_liveSection
protected

Definition at line 1014 of file GiBaseVectorizerImpl.h.

◆ m_objectToDeviceMatrix

OdGeMatrix3d OdGiBaseVectorizerImpl::m_objectToDeviceMatrix
mutableprotected

Definition at line 1032 of file GiBaseVectorizerImpl.h.

◆ m_pGsReserved

OdRxObjectPtr OdGiBaseVectorizerImpl::m_pGsReserved
protected

Definition at line 1013 of file GiBaseVectorizerImpl.h.

◆ m_pLinetyper

OdGiLinetypeRedirPtr OdGiBaseVectorizerImpl::m_pLinetyper
protected

Definition at line 1011 of file GiBaseVectorizerImpl.h.

◆ m_plotStyle

OdPsPlotStyleData OdGiBaseVectorizerImpl::m_plotStyle
mutableprotected

Definition at line 1006 of file GiBaseVectorizerImpl.h.

◆ m_pOutputBranch

OdGiConveyorEmbranchmentPtr OdGiBaseVectorizerImpl::m_pOutputBranch
protected

Definition at line 1012 of file GiBaseVectorizerImpl.h.

◆ m_pstype

OdGiContext::PStyleType OdGiBaseVectorizerImpl::m_pstype
protected

Definition at line 1005 of file GiBaseVectorizerImpl.h.

◆ m_pXlineNRayClipper

OdGiOrthoClipperPtr OdGiBaseVectorizerImpl::m_pXlineNRayClipper
protected

Definition at line 1009 of file GiBaseVectorizerImpl.h.

◆ m_pXToLtp

OdGiXformPtr OdGiBaseVectorizerImpl::m_pXToLtp
protected

Definition at line 1019 of file GiBaseVectorizerImpl.h.

◆ m_sectForegroundEdge

OdCmTransparency OdGiBaseVectorizerImpl::m_sectForegroundEdge
protected

Definition at line 1017 of file GiBaseVectorizerImpl.h.

◆ m_sectForegroundFace

OdCmTransparency OdGiBaseVectorizerImpl::m_sectForegroundFace
protected

Definition at line 1016 of file GiBaseVectorizerImpl.h.

◆ m_sectionGeometryMap

OdRxObjectPtr OdGiBaseVectorizerImpl::m_sectionGeometryMap
protected

Definition at line 1015 of file GiBaseVectorizerImpl.h.

◆ m_setAttributesHints

OdUInt32 OdGiBaseVectorizerImpl::m_setAttributesHints
protected

Definition at line 1007 of file GiBaseVectorizerImpl.h.

◆ m_vectorizingFlags

int OdGiBaseVectorizerImpl::m_vectorizingFlags
protected

Definition at line 1008 of file GiBaseVectorizerImpl.h.

◆ m_xlineNRayEntryPoint

OdGiConveyorEntryPoint OdGiBaseVectorizerImpl::m_xlineNRayEntryPoint
protected

Definition at line 1010 of file GiBaseVectorizerImpl.h.


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