|
CFx SDK Documentation 2026 SP0
|
#include <GiBaseVectorizer.h>
Classes | |
| struct | LayerTraitsCache |
Public Attributes | |
| OdGiDrawableDesc * | m_pDrawableDesc |
| OdUInt32 | m_nDrawableAttributes |
Protected Types | |
| enum | Flags { kFirstFlag = 1 , kSuppressViewportDraw = kFirstFlag << 0 , kDrawInvisibleEnts = kFirstFlag << 1 , kDrawLayerOff = kFirstFlag << 2 , kDrawLayerFrozen = kFirstFlag << 3 , kIgnoreFillPlane = kFirstFlag << 4 , kSelectionMode = kFirstFlag << 5 , kAttributesSegment = kFirstFlag << 6 , kXrefOverride = kFirstFlag << 7 , kPlotLayerNonPlottable = kFirstFlag << 8 , kLastFlag = kPlotLayerNonPlottable } |
| typedef std::map< OdDbStub *, LayerTraitsCache > | LayerTraitsCacheMap |
| typedef OdGiTraitsCache< OdGiMaterialTraitsData, OdGiMaterialTraitsTaker, OdGiMaterialTraits::kByBlock|OdGiMaterialTraits::kByLayer > | OdGiMaterialTraitsCache |
Static Protected Member Functions | |
| static OdRxClass * | desc () |
Static Protected Attributes | |
| static ODGI_EXPORT_STATIC const OdGiSubEntityTraitsData | g_entityTraitsDataReset |
Additional Inherited Members | |
Public Types inherited from OdGiSubEntityTraits | |
| enum | DrawFlags { kNoDrawFlags = 0x0000 , kDrawBackfaces = 0x0001 , kDrawHatchGroup = 0x0002 , kDrawFrontfacesOnly = 0x0004 , kDrawGradientFill = 0x0008 , kDrawSolidFill = 0x0010 , kDrawNoLineWeight = 0x0020 , kDrawNoPlotstyle = 0x0080 , kDrawContourFill = 0x08000 , kDisableLayoutCache = 0x10000 , kDrawBoundaryForClipping = 0x20000 , kDrawBoundaryForClippingDrw = 0x40000 , kClipSetIsEmpty = 0x80000 , 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 } |
Static Public Member Functions inherited from OdGiWorldDrawImpl | |
| static OdGiContext * | dummyGiContext () |
Static Public Member Functions inherited from OdRxObject | |
| static OdRxObjectPtr | cast (const OdRxObject *pointer) |
| static OdRxClass * | desc () |
| static void | rxInit () |
| static void | rxUninit () |
This class is a base implementation of the OdGiWorldDraw and OdGiViewportDraw interfaces. Corresponding C++ library: TD_Gi
It is the base class for specialized frameworks such as OdGiExtCalc. <group OdGi_Classes>
Definition at line 634 of file GiBaseVectorizer.h.
|
protected |
Definition at line 653 of file GiBaseVectorizer.h.
|
protected |
Definition at line 656 of file GiBaseVectorizer.h.
|
protected |
| Enumerator | |
|---|---|
| kFirstFlag | |
| kSuppressViewportDraw | |
| kDrawInvisibleEnts | |
| kDrawLayerOff | |
| kDrawLayerFrozen | |
| kIgnoreFillPlane | |
| kSelectionMode | |
| kAttributesSegment | |
| kXrefOverride | |
| kPlotLayerNonPlottable | |
| kLastFlag | |
Definition at line 846 of file GiBaseVectorizer.h.
| OdGiBaseVectorizer::OdGiBaseVectorizer | ( | ) |
Default constructor for the OdGiBaseVectorizer class. Initializes data members in the member initializer list:
member Value
m_layerId 0
m_materialId NULL
m_byLayerMaterialId NULL
m_byBlockMaterialId NULL
m_materialAttributes OdGiMaterialTraitsCache::kCacheByMask m_effectiveMaterialTraitsData 0 m_effectiveMaterialId 0 m_effectiveLayerId 5 m_nSelectionMarker kNullSubentIndex m_nPrevSelectionMarker kNullSubentIndex m_pDrawableDesc 0 m_nDrawableAttributes 0 m_flags kSuppressViewportDraw m_drawContextFlags 0 m_pByBlock 0 m_bResetEntityTraitsData* true
Additionally some other data members are set in the constructor body.
|
virtual |
Destructor for the OdGiBaseVectorizer class.
|
protected |
|
protectedvirtual |
Sets the specfied EntityTraitsData data from the specified EntityTraitsData.
| pSource | [in] Pointer to the source SubEntityTraitsData. |
| destination | [out] Receives the SubEntityTraitsData. |
Reimplemented in OdGiBaseVectorizerImpl, and OdGiExtCalc.
|
virtual |
Begins the ViewVectorization process for this Vectorizer object.
Reimplemented in CFxRVTMaterialView, OdGiBaseVectorizerImpl, OdGsBaseMaterialVectorizer, and OdGsBaseVectorizer.
|
inline |
Retrieves traits that are defined by the owning block.
Definition at line 2171 of file GiBaseVectorizer.h.
|
virtual |
Introduces a circle into this vectorization context.
| center | [in] Center point. |
| radius | [in] Radius. |
| normal | [in] Normal vector. |
Implements OdGiGeometry.
|
virtual |
Introduces a circle into this vectorization context.
| firstPoint | [in] First point. |
| secondPoint | [in] Second point. |
| thirdPoint | [in] Third point. |
Implements OdGiGeometry.
|
virtual |
Introduces a circular arc into this vectorization context.
| center | [in] Center point. |
| radius | [in] Radius. |
| normal | [in] Normal to a plane on which a circular arc lies. |
| startVector | [in] Defines the start of this arc. |
| sweepAngle | [in] Angle that defines the arc. |
| arcType | [in] Arc type. |
Value Description kOdGiArcSimple 0 Unfilled. kOdGiArcSector 1 Filled area bounded by the arc and its center. kOdGiArcChord 2 Filled area bounded by the arc and its end points
Implements OdGiGeometry.
|
virtual |
Introduces a circular arc into this vectorization context.
| firstPoint | [in] First point. |
| secondPoint | [in] Second point. |
| thirdPoint | [in] Third point. |
| arcType | [in] Arc type. |
Value Description kOdGiArcSimple 0 Unfilled. kOdGiArcSector 1 Filled area bounded by the arc and its center. kOdGiArcChord 2 Filled area bounded by the arc and its end points
Implements OdGiGeometry.
|
inline |
Marks as unchanged the EntityTraitsData data for this Vectorizer object.
Definition at line 715 of file GiBaseVectorizer.h.
|
virtual |
Retrieves context associated with this object.
Implements OdGiCommonDraw.
|
virtual |
Retrieves current drawable object.
Implements OdGiConveyorContext.
|
virtual |
Retrieves description for a drawable associated with this object.
Implements OdGiConveyorContext.
|
virtual |
Retrieves the current drawable nesting graph.
Reimplemented from OdGiCommonDraw.
|
inlinestaticprotected |
Retrieves the a pointer to the OdRxClass object that contains a description of this object type, for objects of known class type.
Definition at line 922 of file GiBaseVectorizer.h.
|
virtual |
Retrieves the recommended maximum deviation of the current vectorization for the specified point on a curve.
| deviationType | [in] Deviation type. |
| pointOnCurve | [in] Point on a curve. |
Value kOdGiMaxDevForCircle 0
kOdGiMaxDevForCurve 1
kOdGiMaxDevForBoundary 2
kOdGiMaxDevForIsoline 3 kOdGiMaxDevForFacet 4
Reimplemented from OdGiDummyCommonDraw< OdGiWorldDraw_ >.
Reimplemented in OdGiBaseVectorizerImpl, and OdGsBaseVectorizer.
|
virtual |
Vectorizes the specified OdGiDrawable object.
| drawableFlags | [in] Drawable flags. |
| pDrawable | [in] Pointer to the Drawable object. |
Returns pDrawable->subWorldDraw(this). If pDrawable->subWorldDraw returns false, and kSuppressViewportDraw is not set, this function evokes pDrawable->subViewportDraw(this).
Reimplemented in OdGsBaseMaterialVectorizer, and OdGsBaseVectorizer.
|
virtual |
Draws the specified drawable.
| pDrawable | [in] pointer to the drawable to draw. |
Implements OdGiGeometry.
Reimplemented in OdGiExtCalc.
|
inline |
Retrieves the drawable flags of the last vectorized OdGiDrawable object.
Definition at line 1947 of file GiBaseVectorizer.h.
|
inline |
Retrieves drawable description.
Definition at line 843 of file GiBaseVectorizer.h.
| void OdGiBaseVectorizer::drawClipBoundary | ( | OdGiClipBoundary * | pBoundary, |
| OdGiAbstractClipBoundary * | pClipInfo ) |
Draws the specified clipping boundary.
| pBoundary | [in] Pointer to a clipping boundary. |
| pClipInfo | [in] Clipping details. |
|
inline |
Retrieves the OdGiConveyorContext associated with this object.
Definition at line 1036 of file GiBaseVectorizer.h.
|
inline |
Retrieves the OdGiConveyorContext associated with this object.
Definition at line 1047 of file GiBaseVectorizer.h.
|
virtual |
Retrieves draw context flags of this vectorizer.
Reimplemented from OdGiConveyorContext.
|
virtual |
Introduces a hatch boundary into this vectorization context.
| edges | [in] Array of 2d points that define a boundary. |
Implements OdGiGeometry.
|
protectedvirtual |
Reimplemented in OdGsBaseVectorizer.
|
inlinevirtual |
Checks whether the layer of this Vectorizer object is effectively visible.
(GETBIT(m_flags, kDrawLayerOff ) || !traits.isLayerOff()) &&
(GETBIT(m_flags, kDrawLayerFrozen) || !traits.isLayerFrozen())
Reimplemented from OdGiConveyorContext.
Definition at line 726 of file GiBaseVectorizer.h.
| const OdGiMaterialTraitsData & OdGiBaseVectorizer::effectiveMaterialTraitsData | ( | ) | const |
Retrieves the material traits data from the effective entity traits. If no material is assigned before the call, then default material is created and assigned to the entity inside the method.
| void OdGiBaseVectorizer::effectiveMaterialTraitsData | ( | OdGiMaterialTraitsData & | data | ) | const |
Retrieves the material traits data from the effective entity traits. If no material is assigned before the call, then default material is created and assigned to the entity inside the method.
| data | [out] Receives material traits data. |
|
virtual |
Retrieves the EntityTraitsData in effect for this Vectorization object.
Implements OdGiConveyorContext.
Reimplemented in OdGiBaseVectorizerImpl, and OdGiExtCalc.
|
virtual |
Introduces an elliptical arc into this vectorization context.
| ellipArc | [in] Elliptical arc. |
| endPointOverrides | [in] Array of points to be used as the first and last points of the vectorized arc. |
| arcType | [in] Arc type. |
Value Description kOdGiArcSimple 0 Unfilled. kOdGiArcSector 1 Filled area bounded by the arc and its center. kOdGiArcChord 2 Filled area bounded by the arc and its end points
Implements OdGiGeometry.
|
virtual |
Ends the ViewVectorization process for this Vectorizer object.
Reimplemented in OdGiBaseVectorizerImpl, OdGsBaseMaterialVectorizer, and OdGsBaseVectorizer.
|
protected |
Retrieves an extrusion vector normal to the specified plane.
| firstPoint | [in] First point in the plane. |
| secondPoint | [in] Second point in the plane. |
| thirdPoint | [in] Third point in the plane. |
| origin | [in] Origin of the plane. |
| u | [in] U-vector in the plane. |
| v | [in] V-vector in the plane. |
| normal | [in] Normal to the plane. |
| pNormal | [in] Pointer to the normal to the plane. |
|
protected |
|
protected |
|
inlineprotected |
Definition at line 817 of file GiBaseVectorizer.h.
|
virtual |
Retrieves the maximum EyeSpace (ECS) deviation for this VectorizeView object.
Implements OdGiConveyorContext.
| const OdGeMatrix3d & OdGiBaseVectorizer::eyeToOutputTransform | ( | ) | const |
Retrieves the Eye to Output transformation matrix for this Vectorizer object.
| void OdGiBaseVectorizer::eyeToOutputTransform | ( | OdGeMatrix3d & | xfm | ) | const |
Retrieves the Eye to Output transformation matrix for this Vectorizer object.
| xfm | [out] Receives the transformation matrix. |
|
virtual |
Retrieves the block insert transform, which is the model-to-world coordinate transform.
Implements OdGiGeometry.
Reimplemented in OdGiBaseVectorizerImpl.
|
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.
Implements OdGiGeometry.
Reimplemented in OdGiBaseVectorizerImpl.
|
virtual |
Retrieves context associated with this object.
Implements OdGiConveyorContext.
|
virtual |
Retrieves gi viewport associated with this object.
Implements OdGiConveyorContext.
Reimplemented in OdGiBaseVectorizerImpl.
|
virtual |
Retrieves gs view associated with this object.
Implements OdGiConveyorContext.
Reimplemented in OdGiBaseVectorizerImpl.
|
virtual |
Introduces a raster image into this vectorization context.
| img | [in] Reference to a raster image. |
| origin | [in] Lower-left corner of an image. |
| uVec | [in] Image width vector. |
| vVec | [in] Image height vector. |
| trpMode | [in] Image transparency mode. |
Implements OdGiGeometry.
|
virtual |
Retrieves the a pointer to the OdRxClass object that contains a description of this object type, for objects of unknown class type.
Reimplemented from OdRxObject.
| bool OdGiBaseVectorizer::isAttributesSegmentEnabled | ( | ) |
Checks whether this vectorizer has the OdGiBaseVectorizer::kAttributesSegment flag set to true.
| bool OdGiBaseVectorizer::isClipping | ( | ) | const |
Checks whether the vectorizer is currently clipping, i.e. clipping stage chain is not empty.
|
virtual |
Checks whether this vectorization process is the result of a "drag" operation.
Reimplemented from OdGiDummyCommonDraw< OdGiWorldDraw_ >.
Reimplemented in OdGsBaseVectorizer.
|
inline |
Checks whether EntityTraitsData for this Vectorizer object have been changed.
| bit | [in] Bit that represents an entity traits to check. |
Definition at line 698 of file GiBaseVectorizer.h.
|
virtual |
Checks whether the specified identifier of a viewport is valid. The default implementation of this function always returns 0.
| viewportId | [in] Identifier of a viewport to check. |
Implements OdGiViewportDraw.
Reimplemented in OdGiBaseVectorizerImpl.
|
inline |
Definition at line 1916 of file GiBaseVectorizer.h.
|
protectedvirtual |
Reimplemented in OdGiBaseVectorizerImpl.
|
protectedvirtual |
Retrieves the dash length below which linetypes are not generated by this Vectorizer object.
Reimplemented in OdGiBaseVectorizerImpl.
|
virtual |
Introduces a mesh into this vectorization context.
| 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. |
Implements OdGiGeometry.
Reimplemented in OdGiBaseVectorizerImpl.
|
virtual |
Introduces a metafile into this vectorization context in device coordinate system.
| origin | [in] Origin of a metafile content. |
| u | [in] Metafile content u-parameter. |
| v | [in] Metafile content v-parameter. |
| pMetafile | [in] Pointer to a metafile. |
| bDcAligned | [in] Flag that specifies whether metafile content should be aligned to device coordinate system. |
| bAllowClipping | [in] Flag that specifies whether clipping should be allowed for a metafile. |
Implements OdGiViewportGeometry.
|
virtual |
Retrieves the maximum ModelSpace (UCS) deviation for this VectorizeView object.
Implements OdGiConveyorContext.
| bool OdGiBaseVectorizer::needDraw | ( | OdUInt32 | drawableFlags | ) |
Returnes true if and only the Drawable object associated with this Vectorizer is visible.
| drawableFlags | [in] Drawable flags. |
|
virtual |
Retrieves count of isolines that are used to represent an entity.
Reimplemented from OdGiDummyCommonDraw< OdGiWorldDraw_ >.
|
virtual |
Introduces nurbs into this vectorization context.
| nurbsCurve | [in] NURBS curve data. |
Implements OdGiGeometry.
|
protected |
|
virtual |
This method can be called whenever entity traits are changed. Default implementation does nothing.
Implements OdGiConveyorContext.
Reimplemented in OdGiBaseVectorizerImpl, OdGsBaseMaterialVectorizer, and OdGsBaseVectorizer.
|
virtual |
Retrieves a reference to the output of this Vectorizer object.
Reimplemented in OdGsBaseVectorizer.
|
virtual |
Introduces a pline into this vectorization context.
| polyline | [in] Polyline data to be processed. |
| fromIndex | [in] Index of the first segment to be processed. |
| numSegs | [in] Number of segments to be processed. |
Implements OdGiGeometry.
|
virtual |
Introduces a Point Clound object into this vectorization context.
| pCloud | [in] Point Cloud object. |
Reimplemented from OdGiGeometry.
|
virtual |
Introduces a polygon into this vectorization context.
| numPoints | [in] Number of points. |
| vertexList | [in] Pointer to an array of vertices. |
Implements OdGiGeometry.
|
virtual |
Introduces a polygon into this vectorization context.
| numPoints | [in] Number of points. |
| vertexList | [in] Pointer to an array of vertices. |
| pNormal | [in] Pointer to the normal vector. |
Reimplemented from OdGiGeometry.
| void OdGiBaseVectorizer::polygonCs | ( | OdGiContext::CoordinatesSystem | cs, |
| OdUInt32 | numVertices, | ||
| const OdGePoint3d * | vertexList ) |
Introduces a new polygon in selected coordinates system.
| cs | [in] Coordinates system. |
| numVertices | [in] Number of vertices. |
| vertexList | [in] Pointer to an array of vertices. |
|
virtual |
Introduces a new polygon but in device coordinate system.
| numVertices | [in] Number of vertices. |
| vertexList | [in] Pointer to an array of vertices. |
Implements OdGiViewportGeometry.
|
virtual |
Introduces a new polygon but in eye coordinate system.
| numVertices | [in] Number of vertices. |
| vertexList | [in] Pointer to an array of vertices. |
Implements OdGiViewportGeometry.
|
virtual |
Introduces a polyline into this vectorization context.
| numPoints | [in] Number of points. |
| vertexList | [in] Pointer to an array of vertices. |
| pNormal | [in] Pointer to the normal vector. |
| baseSubEntMarker | [in] Base sub-entity marker. |
Implements OdGiGeometry.
| void OdGiBaseVectorizer::polylineCs | ( | OdGiContext::CoordinatesSystem | cs, |
| OdUInt32 | numVertices, | ||
| const OdGePoint3d * | vertexList ) |
Introduces a new polyline in selected coordinates system.
| cs | [in] Coordinates system. |
| numVertices | [in] Number of vertices. |
| vertexList | [in] Pointer to an array of vertices. |
|
virtual |
Introduces a new polyline but in device coordinate system.
| numVertices | [in] Number of vertices. |
| vertexList | [in] Pointer to an array of vertices. |
Implements OdGiViewportGeometry.
|
virtual |
Introduces a new polyline but in eye coordinate system.
| numVertices | [in] Number of vertices. |
| vertexList | [in] Pointer to an array of vertices. |
Implements OdGiViewportGeometry.
|
virtual |
Introduces an array of points into this vectorization context.
| numPoints | [in] Number of points. |
| vertexList | [in] Pointer to an array of vertices. |
| pColors | [in] Pointer to point colors. |
| pTransparency | [in] Pointer to point transparency. |
| pNormals | [in] Array of normal vectors. |
| pSubEntMarkers | [in] Array of sub-entity markers. |
| nPointSize | [in] Points size. |
Reimplemented from OdGiGeometry.
|
virtual |
Introduces set of polygons to this vectorization context.
| numIndices | [in] Number of polgon indices. |
| pNumPositions | [in] Number of positions per polygon. |
| pPositions | [in] Array of polygon offsets for all polygon invocations. |
| pNumPoint | [in] Number of points per polygon. |
| pPoints | [in] Array of polygon points. |
| pOutlineColors | [in] Colors of polygon outlines. |
| pOutlinePsLinetypes | [in] Linetypes of polygon outlines (see OdPs::LineType enumeration). |
| pFillColors | [in] Polygon fill colors. |
| pFillTransparencies | [in] Polygon fill transparencies. |
Reimplemented from OdGiGeometry.
|
virtual |
Pops a top clipping boundary from the stack. This method should be used after a successful pushClipBoundary() method call from the worldDraw or viewportDraw of a drawable object.
Implements OdGiGeometry.
Reimplemented in OdGsBaseVectorizer.
|
virtual |
Pops a transformation from the stack. This method should be used after a successful pushModelTransform() method call to restore previous model transform state.
Implements OdGiGeometry.
Reimplemented in OdGiBaseVectorizerImpl, and OdGsBaseVectorizer.
|
virtual |
Pushes a clipping boundary onto the stack, which can possibly affect the display of subsequent primitives. Use the popClipBoundary() to remove this clipping boundary from the stack.
| pBoundary | [in] Pointer to a clipping boundary. |
Implements OdGiGeometry.
Reimplemented in OdGsBaseVectorizer.
|
virtual |
Pushes a clipping boundary onto the stack, which can possibly affect the display of subsequent primitives. Use the popClipBoundary() to remove this clipping boundary from the stack.
| pBoundary | [in] Pointer to a clipping boundary. |
| pClipInfo | [in] Clipping details. |
Reimplemented from OdGiGeometry.
Reimplemented in OdGsBaseVectorizer.
|
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.
| xfm | [in] Transformation matrix. |
Implements OdGiGeometry.
Reimplemented in OdGiBaseVectorizerImpl, and OdGsBaseVectorizer.
|
virtual |
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.
| normal | [in] Transformation matrix. |
Implements OdGiGeometry.
Reimplemented in OdGiBaseVectorizerImpl, and OdGsBaseVectorizer.
|
virtual |
Retrieves the Protocol Extension object for this object.
Reimplemented from OdRxObject.
|
virtual |
Introduces a raster image into this vectorization context in device coordinate system.
| origin | [in] Image origin. |
| u | [in] Image width vector. |
| v | [in] Image height vector. |
| pImage | [in] pointer to a raster image. |
| uvBoundary | [in] pointer to an array of boundary points. |
| numBoundPts | [in] number of boundary points. |
| transparency | [in] Flag that specifies image transparency. |
| brightness | [in] Brightness of an image in range of [0..100]. |
| contrast | [in] Contrast of an image in range of [0..100]. |
| fade | [in] Fade of an image in range of [0..100]. |
Implements OdGiViewportGeometry.
|
virtual |
Retrieves raw geometry associated with this object.
Implements OdGiCommonDraw.
|
virtual |
Introduces a ray into this vectorization context.
| basePoint | [in] Base point. |
| throughPoint | [in] Through point |
Implements OdGiGeometry.
Reimplemented in OdGiBaseVectorizerImpl.
|
virtual |
Checks whether this vectorization process should be aborted.
Reimplemented from OdGiDummyCommonDraw< OdGiWorldDraw_ >.
Reimplemented in OdGiExtCalc, and OdGsBaseVectorizer.
|
virtual |
Returns the regeneration type of the current vectorization process.
Value eOdGiRegenTypeInvalid 0 kOdGiStandardDisplay 2 kOdGiHideOrShadeCommand 3 kOdGiRenderCommand 4 kOdGiForExplode 5 kOdGiSaveWorldDrawForProxy 6 kOdGiForExtents 7
Reimplemented from OdGiDummyCommonDraw< OdGiWorldDraw_ >.
Reimplemented in OdGiBaseVectorizerImpl, and OdGiExtCalc.
|
inlineprotected |
Resets all entity traits.
Definition at line 2303 of file GiBaseVectorizer.h.
|
inlineprotected |
Resets entity traits but keeps auxiliary data.
Definition at line 2286 of file GiBaseVectorizer.h.
|
virtual |
Introduces a row of points into this vectorization context.
| numPoints | [in] Number of points. |
| startPoint | [in] First point to draw. |
| dirToNextPoint | [in] Offset to next point. |
Reimplemented from OdGiGeometry.
| OdRxObjectPtr OdGiBaseVectorizer::saveByBlockTraits | ( | ) |
Saves the traits that are defined by the owning block.
| OdGsMarker OdGiBaseVectorizer::selectionMarker | ( | ) | const |
Retrieves current selection marker state.
|
protectedvirtual |
Called when selection marker is being to be changed.
| nSelectionMarker | [in] New selection marker. |
Reimplemented in OdGsBaseVectorizer.
|
virtual |
Retrieves sequence number. The default implementation of this function always returns 0.
Implements OdGiViewportDraw.
Reimplemented in OdGiBaseVectorizerImpl.
|
virtual |
Sets the default drawable traits for this Vectorizer object, and sets the drawable flags for the specified OdGiDrawable object.
| pDrawable | [in] Pointer to the Drawable object. |
Reimplemented in OdGsBaseVectorizer.
|
virtual |
Sets pointer to auxiliary data context.
| pAuxData | [in] pointer to auxiliary data context. |
Reimplemented from OdGiSubEntityTraits.
|
inline |
Sets the traits that are defined by the owning block.
| pByBlock | [in] Pointer to the traits defined by the owning block. |
Definition at line 2178 of file GiBaseVectorizer.h.
Sets the current color index (ACI).
| color | [in] Color index. |
Value Description kACIbyBlock 0 ByBlock. kACIforeground 7 Foreground color. kACIbyLayer 256 ByLayer. kACIRed 1 Red. kACIYellow 2 Yellow. kACIGreen 3 Green. kACICyan 4 Cyan. kACIBlue 5 Blue. kACIMagenta 6 Magenta. .. 8-255 Defined by AcadPalette.h
Implements OdGiSubEntityTraits.
Sets draw context flags for this vectorizer.
| flags | [in] Draw context flags. |
| bFlag | [in] Enables or disables specified flags. |
Sets the drawing flags.
| drawFlags | [in] Input bitmask with DrawFlags. |
Reimplemented from OdGiSubEntityTraits.
| void OdGiBaseVectorizer::setEffectiveMaterialTraitsData | ( | OdDbStub * | materialId, |
| const OdGiMaterialTraitsData & | data, | ||
| bool | bForce = false ) |
Sets the specified material traits data.
| materialId | [in] Material identifier. |
| data | [in] Material traits data to set. |
| bForce | [in] Flag that specifies whether to force material traits setting. This flag is needed to set traits even if the specified material identifier is the same as material identifier of this vectorizer. |
|
virtual |
Sets entity traits that should be in effect for this Vectorization object.
| traits | [in] Entity traits to set. |
| fillNormal | [in] Normal for a fill plane. Reserves for future use. |
Implements OdGiConveyorContext.
|
inlinevirtual |
Marks as changed the EntityTraitsData data for this Vectorizer object.
Reimplemented in OdGsBaseVectorizer.
Definition at line 703 of file GiBaseVectorizer.h.
|
inlinevirtual |
Marks the specfied trait as changed (or not) the EntityTraitsData data for this Vectorizer object.
| bit | [in] Bit that represents an entity traits to set. |
| value | [in] Flag that specifies whether trait should be set to the state "changed" or "unchanged". |
Reimplemented in OdGsBaseVectorizer.
Definition at line 710 of file GiBaseVectorizer.h.
|
virtual |
Sets geometrical extents for this vectorizer. Currently not implemented.
| newExtents | [in] New geometrical extents to set. |
Implements OdGiWorldGeometry.
Reimplemented in OdGiBaseVectorizerImpl, and OdGiExtCalc.
| void OdGiBaseVectorizer::setEyeToOutputTransform | ( | const OdGeMatrix3d & | xfm | ) |
Sets the Eye to Output transformation matrix for this Vectorizer object.
| xfm | [in] Transformation matrix. |
Sets boundary filling.
| pFill | [in] Boundary filling parameters. |
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Sets the current fill type.
| fillType | [in] Fill type. |
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
Implements OdGiSubEntityTraits.
Reimplemented in OdGiBaseVectorizerImpl.
|
virtual |
Sets the current layer.
| layerId | [in] Object ID of the LayerTableRecord. |
Implements OdGiSubEntityTraits.
|
virtual |
Sets Dgn Line Style modifiers.
| pLSMod | [in] Pointer to structure with Dgn Line Style modifiers. |
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Sets the current linetype.
| lineTypeId | [in] Object ID of the LinetypeTableRecord. |
Implements OdGiSubEntityTraits.
|
virtual |
Sets the current linetype scale.
| lineTypeScale | [in] Linetype scale factor. |
Implements OdGiSubEntityTraits.
|
virtual |
Sets the current lineweight.
| lineWeight | [in] Lineweight. |
Implements OdGiSubEntityTraits.
Sets the lock flags.
| lockFlags | [in] Input bitmask with LockFlags. |
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Sets the current material mapper.
| pMapper | [in] Pointer to the GI mapper object. |
Implements OdGiSubEntityTraits.
|
virtual |
Sets the current material.
| materialId | [in] Object ID of the material. |
Implements OdGiSubEntityTraits.
|
virtual |
Sets the current PlotStyleName.
| plotStyleNameType | [in] Plot Style Name Type. |
| pPlotStyleNameId | [in] Object ID of the Plot Style Name. |
plotStyleNameType must be one of the following:
Value
kPlotStyleNameByLayer 0 kPlotStyleNameByBlock 1 kPlotStyleNameIsDictDefault 2 kPlotStyleNameById 3
Implements OdGiSubEntityTraits.
| void OdGiBaseVectorizer::setPlotStyleNameId | ( | OdDbStub * | plotStyleNameId | ) |
Sets the PlotStyleName for this Vectorizer object.
| plotStyleNameId | [in] Pointer to the Object ID of the plot style name. |
| void OdGiBaseVectorizer::setPlotStyleNameType | ( | OdDb::PlotStyleNameType | plotStyleNameType | ) |
Sets the Plot Style Name Type for this Vectorizer object.
| plotStyleNameType | [in] Plot Style Name Type. |
Value
OdDb::kPlotStyleNameByLayer 0 OdDb::kPlotStyleNameByBlock 1 OdDb::kPlotStyleNameIsDictDefault 2 OdDb::kPlotStyleNameById 3
|
virtual |
Sets the current secondary color from an OdCmEntityColor instance.
| color | [in] OdCmEntityColor object. |
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Sets sectionable flag.
| bSectionableFlag | [in] New sectionable flag. |
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Sets the selection flags.
| selectionFlags | [in] Input SelectionFlags. |
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Sets selection geometry flag.
| bSelectionFlag | [in] New selection geometry flag. |
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Sets the current selection marker.
| selectionMarker | [in] Selection marker. |
Implements OdGiSubEntityTraits.
Reimplemented in OdGsBaseVectorizer.
|
virtual |
Sets the shadow flags.
| shadowFlags | [in] Input ShadowFlags. |
Reimplemented from OdGiSubEntityTraits.
|
virtual |
|
virtual |
Sets the current transparency.
| transparency | [in] OdCmTransparency object. |
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Sets the current color from an OdCmEntityColor instance.
| color | [in] OdCmEntityColor object. |
Implements OdGiSubEntityTraits.
|
virtual |
Sets the current visual style.
| visualStyleId | [in] Object ID of the visual style. |
Reimplemented from OdGiSubEntityTraits.
|
inline |
Definition at line 1917 of file GiBaseVectorizer.h.
| void OdGiBaseVectorizer::shape | ( | const OdGePoint3d & | position, |
| const OdGeVector3d & | normal, | ||
| const OdGeVector3d & | direction, | ||
| int | shapeNumber, | ||
| const OdGiTextStyle * | pTextStyle ) |
Introduces a shape into this vectorization context.
| position | [in] Position of the shape. |
| shapeNumber | [in] Shape number. |
| pTextStyle | [in] Pointer to the TextStyle for the shape. |
| direction | [in] Baseline direction for the shape. |
| normal | [in] Normal vector. |
|
virtual |
Introduces a shell into this vectorization context.
| 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. |
Implements OdGiGeometry.
Reimplemented in OdGiBaseVectorizerImpl.
|
virtual |
Sets the OdGiBaseVectorizer::kAttributesSegment flag for this vectorizer to true.
Reimplemented from OdGiWorldGeometry.
|
virtual |
Provides access to this object's subentity traits.
Implements OdGiCommonDraw.
|
protectedvirtual |
Reimplemented in OdGsBaseVectorizer.
|
virtual |
Introduces a text into this vectorization context.
| position | [in] Position of the text. |
| normal | [in] Normal to a plane where text lies. Used to define v parameter as normal.crossProduct(direction). |
| direction | [in] Direction vector that is interpreted as u parameter. |
| msg | [in] Pointer to a message string. |
| length | [in] String length. |
| raw | [in] Flag that specifies whether escape sequences, such as %P, will not be converted to special characters. |
| pTextStyle | [in] Pointer to a text style. |
Implements OdGiGeometry.
|
virtual |
Introduces a text into this vectorization context.
| position | [in] Position of the text. |
| normal | [in] Normal to a plane where text lies. Used to define v parameter as normal.crossProduct(direction). |
| direction | [in] Direction vector that is interpreted as u parameter. |
| height | [in] Height of the text. |
| width | [in] Width of the text. |
| oblique | [in] Oblique angle. Must not exceed an equivalent of 85 degrees in radians in both directions. |
| msg | [in] Message string. |
Implements OdGiGeometry.
|
inlineprotectedvirtual |
Reimplemented in OdGsBaseVectorizer.
Definition at line 935 of file GiBaseVectorizer.h.
|
protected |
Updates the layer traits for this Vectorizer object from the specified subentity traits.
| subEntityTraits | [in] Subentity traits. |
|
inlineprotected |
Updates entity traits with the traits of the owning block.
Definition at line 2322 of file GiBaseVectorizer.h.
|
virtual |
Retrieves a reference to a viewport. The default implementation of this function returns a reference to a dummy viewport.
Implements OdGiViewportDraw.
Reimplemented in OdGiBaseVectorizerImpl.
|
virtual |
Retrieves identifier of a viewport. The default implementation of this function always returns 0.
Implements OdGiViewportDraw.
Reimplemented in OdGiBaseVectorizerImpl.
|
virtual |
Retrieves the maximum world (WCS) deviation for this VectorizeView object.
Implements OdGiConveyorContext.
|
virtual |
Introduces a world line into this vectorization context.
| points | [in] Points of the world line. |
Implements OdGiGeometry.
|
virtual |
Introduces an xline into this vectorization context.
| firstPoint | [in] First point. |
| secondPoint | [in] Second point. |
Implements OdGiGeometry.
Reimplemented in OdGiBaseVectorizerImpl.
|
staticprotected |
Definition at line 646 of file GiBaseVectorizer.h.
|
mutableprotected |
Definition at line 659 of file GiBaseVectorizer.h.
|
mutableprotected |
Definition at line 658 of file GiBaseVectorizer.h.
|
protected |
Definition at line 863 of file GiBaseVectorizer.h.
|
mutableprotected |
Definition at line 644 of file GiBaseVectorizer.h.
|
mutableprotected |
Definition at line 667 of file GiBaseVectorizer.h.
|
mutableprotected |
Definition at line 649 of file GiBaseVectorizer.h.
|
mutableprotected |
Definition at line 662 of file GiBaseVectorizer.h.
|
mutableprotected |
Definition at line 661 of file GiBaseVectorizer.h.
|
mutableprotected |
Definition at line 798 of file GiBaseVectorizer.h.
|
protected |
Definition at line 799 of file GiBaseVectorizer.h.
|
mutableprotected |
Definition at line 862 of file GiBaseVectorizer.h.
|
mutableprotected |
Definition at line 648 of file GiBaseVectorizer.h.
|
mutableprotected |
Definition at line 654 of file GiBaseVectorizer.h.
|
protected |
Definition at line 675 of file GiBaseVectorizer.h.
|
mutableprotected |
Definition at line 660 of file GiBaseVectorizer.h.
|
mutableprotected |
Definition at line 657 of file GiBaseVectorizer.h.
|
protected |
Definition at line 672 of file GiBaseVectorizer.h.
|
protected |
Definition at line 825 of file GiBaseVectorizer.h.
| OdUInt32 OdGiBaseVectorizer::m_nDrawableAttributes |
Drawable attributes
Definition at line 835 of file GiBaseVectorizer.h.
|
protected |
Definition at line 670 of file GiBaseVectorizer.h.
|
protected |
Definition at line 669 of file GiBaseVectorizer.h.
|
protected |
Definition at line 829 of file GiBaseVectorizer.h.
|
protected |
Definition at line 826 of file GiBaseVectorizer.h.
|
protected |
Definition at line 679 of file GiBaseVectorizer.h.
|
protected |
Definition at line 865 of file GiBaseVectorizer.h.
|
protected |
Definition at line 676 of file GiBaseVectorizer.h.
|
protected |
Definition at line 673 of file GiBaseVectorizer.h.
| OdGiDrawableDesc* OdGiBaseVectorizer::m_pDrawableDesc |
Drawable description
Definition at line 833 of file GiBaseVectorizer.h.
|
protected |
Definition at line 678 of file GiBaseVectorizer.h.
|
protected |
Definition at line 797 of file GiBaseVectorizer.h.
|
protected |
Definition at line 828 of file GiBaseVectorizer.h.