CFx SDK Documentation
2020SP3
|
#include <GiBaseVectorizer.h>
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, kLastFlag = kXrefOverride } |
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 |
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 166 of file GiBaseVectorizer.h.
|
protected |
Definition at line 190 of file GiBaseVectorizer.h.
|
protected |
Enumerator | |
---|---|
kFirstFlag | |
kSuppressViewportDraw | |
kDrawInvisibleEnts | |
kDrawLayerOff | |
kDrawLayerFrozen | |
kIgnoreFillPlane | |
kSelectionMode | |
kAttributesSegment | |
kXrefOverride | |
kLastFlag |
Definition at line 323 of file GiBaseVectorizer.h.
OdGiBaseVectorizer::OdGiBaseVectorizer | ( | ) |
|
virtual |
|
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 OdGsBaseVectorizer, OdGsBaseMaterialVectorizer, and OdGiBaseVectorizerImpl.
|
inline |
Definition at line 771 of file GiBaseVectorizer.h.
|
virtual |
Introduces a circle to this vectorization context.
If firstPoint, secondPoint, and thirdPoint are specified, they cannot be colinear and no two can be coincident.
center | [in] Center point. |
radius | [in] Radius. |
normal | [in] Normal. |
Implements OdGiGeometry.
|
virtual |
Introduces a circle to this vectorization context.
firstPoint | [in] First point of a 3-point circle. |
secondPoint | [in] Second point of a 3-point circle. |
thirdPoint | [in] Third point of a 3-point circle. |
Implements OdGiGeometry.
|
virtual |
Introduces a circular arc to this vectorization context.
center | [in] Center point. |
radius | [in] Radius. |
normal | [in] Normal vector. |
startVector | [in] Start of the arc. |
sweepAngle | [in] Angle that defines the arc. |
arcType | [in] Arc type. |
If firstPoint, secondPoint, and thirdPoint are specified, they cannot be colinear and no two can be coincident.
arcType must be one of the following:
Value Description kOdGiArcSimple 0 Unfilled. kOdGiArcSector 1 Filled area bounded by the arc and its center. kOdGiArcChord 2 Filled area bounded by the arc and its end points
Implements OdGiGeometry.
|
virtual |
Introduces a circular arc to this vectorization context.
firstPoint | [in] First point of a 3-point arc. |
secondPoint | [in] Second point of a 3-point arc. |
thirdPoint | [in] Third point of a 3-point arc. |
arcType | [in] Arc type. |
Implements OdGiGeometry.
|
inline |
Marks as unchanged the EntityTraitsData data for this Vectorizer object.
Definition at line 239 of file GiBaseVectorizer.h.
|
virtual |
Returns the OdGiContext instance associated with this object.
Reimplemented from OdGiWorldDrawImpl.
|
virtual |
Returns the current OdGiDrawable object for this ConveyorContext object.
Implements OdGiConveyorContext.
|
virtual |
Returns the current OdGiDrawableDesc instance for this ConveyorContext object.
Implements OdGiConveyorContext.
|
virtual |
Returns current drawable nesting graph.
Implements OdGiConveyorContext.
|
inlinestaticprotected |
Returns the a pointer to the OdRxClass object that contains a description of this object type, for objects of known class type.
Definition at line 386 of file GiBaseVectorizer.h.
|
virtual |
Returns the recommended maximum deviation of the current vectorization, for the specified point on the curve or surface being tesselated.
deviationType | [in] Deviation type. |
pointOnCurve | [in] Point on the curve. |
Value kOdGiMaxDevForCircle 0
kOdGiMaxDevForCurve 1
kOdGiMaxDevForBoundary 2
kOdGiMaxDevForIsoline 3 kOdGiMaxDevForFacet 4
Implements OdGiDeviation.
Reimplemented in OdGiBaseVectorizerImpl.
|
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 OdGsBaseVectorizer, and OdGsBaseMaterialVectorizer.
|
virtual |
Introduces the specified object into this vectorization context.
pDrawable | [in] Pointer to the Drawable object. |
Implements OdGiGeometry.
Reimplemented in OdGiExtCalc.
|
inline |
Returns the drawable flags of the last vectorized OdGiDrawable object.
Definition at line 678 of file GiBaseVectorizer.h.
|
inline |
Definition at line 320 of file GiBaseVectorizer.h.
void OdGiBaseVectorizer::drawClipBoundary | ( | OdGiClipBoundary * | pBoundary, |
OdGiAbstractClipBoundary * | pClipInfo | ||
) |
|
inline |
Returns the OdGiConveyorContext associated with this object.
Definition at line 448 of file GiBaseVectorizer.h.
|
inline |
Definition at line 450 of file GiBaseVectorizer.h.
|
virtual |
Returns set of conveyor context flags.
Reimplemented from OdGiConveyorContext.
|
virtual |
Inroduces a boundary for hatch filling.
edges | [in] Array of 2d curves which represents filling boundary. |
Implements OdGiGeometry.
|
protectedvirtual |
Reimplemented in OdGsBaseVectorizer.
|
inlinevirtual |
Returns true if and only if 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 250 of file GiBaseVectorizer.h.
const OdGiMaterialTraitsData& OdGiBaseVectorizer::effectiveMaterialTraitsData | ( | ) | const |
void OdGiBaseVectorizer::effectiveMaterialTraitsData | ( | OdGiMaterialTraitsData & | data | ) | const |
|
virtual |
Returns the EntityTraitsData in effect for this Vectorization object.
Implements OdGiConveyorContext.
Reimplemented in OdGiExtCalc.
|
virtual |
Introduces an elliptical arc into this vectorization context.
ellipArc | [in] Elliptical arc. |
endPointsOverrides | [in] Array of points to be used as the first and last points of the vectorized arc. |
arcType | [in] Arc type. |
Value Description kOdGiArcSimple 0 Unfilled. kOdGiArcSector 1 Filled area bounded by the arc and its center. kOdGiArcChord 3 Filled area bounded by the arc and its end points
Implements OdGiGeometry.
|
virtual |
Ends the ViewVectorization process for this Vectorizer object.
Reimplemented in OdGsBaseVectorizer, OdGsBaseMaterialVectorizer, and OdGiBaseVectorizerImpl.
|
protected |
Returns 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 303 of file GiBaseVectorizer.h.
|
virtual |
Returns the maximum EyeSpace (ECS) deviation for this VectorizeView object.
Implements OdGiConveyorContext.
const OdGeMatrix3d& OdGiBaseVectorizer::eyeToOutputTransform | ( | ) | const |
Returns the Eye to Output transformation matrix for this Vectorizer object.
void OdGiBaseVectorizer::eyeToOutputTransform | ( | OdGeMatrix3d & | xfm | ) | const |
Returns the Eye to Output transformation matrix for this Vectorizer object.
xfm | [in] Receives the transformation matrix. |
|
virtual |
Returns the model-to-world coordinate transform matrix for the entity being vectorized.
If an entity is in one or more blocks, this matrix can be used to determine the WCS coordinates of the entity.
Implements OdGiConveyorContext.
Reimplemented in OdGiBaseVectorizerImpl.
|
virtual |
Returns the world-to-model coordinate transform matrix for the entity being vectorized.
Implements OdGiConveyorContext.
Reimplemented in OdGiBaseVectorizerImpl.
|
virtual |
Returns the OdGiContext object associated with this ConveyorContext object.
Implements OdGiConveyorContext.
|
virtual |
Returns the OdGiViewport associated with this ConveyorContext object.
Implements OdGiConveyorContext.
Reimplemented in OdGiBaseVectorizerImpl.
|
virtual |
Returns the OdGsView associated with this ConveyorContext object.
Implements OdGiConveyorContext.
Reimplemented in OdGiBaseVectorizerImpl.
|
virtual |
Inroduces a image in BGRA format into this vectorization context.
img | [in] Image in BGRA format. |
origin | [in] Image position in WCS. |
uVec | [in] Image width and X-axis orientation. |
vVec | [in] Image height and Y-axis orientation. |
trpMode | [in] Image transparency processing mode. |
Implements OdGiGeometry.
|
virtual |
Returns 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 | ( | ) |
bool OdGiBaseVectorizer::isClipping | ( | ) | const |
|
virtual |
Returns true if this vectorization process is the result of a "drag" operation.
Implements OdGiCommonDraw.
Reimplemented in OdGsBaseVectorizer.
|
inline |
Returns true if and only if the EntityTraitsData for this Vectorizer object have been changed.
Definition at line 225 of file GiBaseVectorizer.h.
|
virtual |
Implements OdGiViewportDraw.
Reimplemented in OdGiBaseVectorizerImpl.
|
inline |
Definition at line 658 of file GiBaseVectorizer.h.
|
protectedvirtual |
Reimplemented in OdGiBaseVectorizerImpl.
|
protectedvirtual |
Returns 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 |
Draws the specified Windows Metafile.
origin | [in] Metafile origin. |
u | [in] Metafile width vector. |
v | [in] Metafile height vector. |
pMetafile | [in] Pointer to the Metafile object. |
dcAligned | [in] reserved. |
baAllowClipping | [in] reserved. |
Implements OdGiViewportGeometry.
|
virtual |
Returns 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 |
Returns the number of isolines to be drawn on surfaces during this vectorization.
Reimplemented from OdGiWorldDrawImpl.
|
virtual |
Introduces a NURBS curve into this vectorization context.
nurbsCurve | [in] NURBS curve data. |
Implements OdGiGeometry.
|
protected |
|
virtual |
Notification function called by the vectorization framework whenever the rendering attributes have changed.
This function provides a hook for setting rendering attributes for the final geometry handler (e.g. Win GDI device).
Implements OdGiConveyorContext.
Reimplemented in OdGsBaseVectorizer, OdGsBaseMaterialVectorizer, and OdGiBaseVectorizerImpl.
|
virtual |
Returns a reference to the output of this Vectorizer object.
Reimplemented in OdGsBaseVectorizer.
|
virtual |
Introduces a lightweight polyline into this vectorization context.
The polyline takes on the current color.
All points must be coplanar.
polyline | [in] Polyline. |
fromIndex | [in] Index of the first segment to be processed. |
numSegs | [in] Number of segments to be processed (0 indicates all segments). |
Implements OdGiGeometry.
|
virtual |
Introduces a polygon to this vectorization context.
The polygon is rendered as a series of lines connecting the first point in vertexList to the second, the second to the third, etc. All points must be coplanar.
numVertices | [in] Number of vertices. |
vertexList | [in] Array of vertices. |
Implements OdGiGeometry.
|
virtual |
Introduces a polygon (with a normal) to this vectorization context.
The polygon is rendered as a series of lines connecting the first point in vertexList to the second, the second to the third, etc. All points must be coplanar.
numVertices | [in] Number of vertices. |
vertexList | [in] Array of vertices. |
pNormal | [in] Pointer to the normal vector. |
Reimplemented from OdGiGeometry.
|
virtual |
Draws a filled polygon, with coordinates specified in normalized device Coordinates.
numVertices | [in] Number of vertices in the polygon. |
vertexList | [in] Vertices of the polygon. |
Implements OdGiViewportGeometry.
|
virtual |
Draws a filled polygon, with coordinates specified in Eye Coordinates.
numVertices | [in] Number of vertices in the polygon. |
vertexList | [in] Vertices of the polygon. |
Implements OdGiViewportGeometry.
|
virtual |
Introduces a polyline to this vectorization context.
The polyline is rendered as a series of lines connecting the first point in vertexList to the second, the second to the third, etc. All points must be coplanar.
Use polygon() to render closed areas.
numVertices | [in] Number of vertices. |
vertexList | [in] Array of vertices. |
pNormal | [in] Pointer to the normal vector. |
baseSubEntMarker | [in] Not used. |
Implements OdGiGeometry.
|
virtual |
Draws a polyline, with coordinates specified in normalized device Coordinates.
numVertices | [in] Number of vertices in the polyline. |
vertexList | [in] Vertices of the polyline. |
Implements OdGiViewportGeometry.
|
virtual |
Draws a polyline, with coordinates specified in Eye Coordinates.
numVertices | [in] Number of vertices. |
vertexList | [in] Array of vertices. |
Implements OdGiViewportGeometry.
|
virtual |
Introduces an array of points to this vectorization context.
numPoints | [in] Number of point in array. |
vertexList | [in] Array of points. |
pColors | [in] Array of colors. |
pTransparency | [in] Array of transparencies. |
pNormals | [in] Optional array of normal vectors. |
pSubEntMarkers | [in] Optional array of subentity markers. |
nPointSize | [in] Size of points in pixels. |
Lengths of pColors, pTransparency, pNormals and pSubEntMarkers arrays if them set must be equal to numPoints.
Reimplemented from OdGiGeometry.
|
virtual |
Removes the top clip boundary from the clip stack.
Implements OdGiGeometry.
Reimplemented in OdGsBaseVectorizer.
|
virtual |
Removes the top transformation off the current transformation stack.
Implements OdGiGeometry.
Reimplemented in OdGsBaseVectorizer, and OdGiBaseVectorizerImpl.
|
virtual |
Specifies a clip boundary for the current clip stack.
pBoundary | [in] Pointer to the boundary. |
Implements OdGiGeometry.
Reimplemented in OdGsBaseVectorizer.
|
virtual |
Specifies a clip boundary with additional clipping information for the current clip stack.
pBoundary | [in] Pointer to the boundary. |
pClipInfo | [in] Additional clipping information. |
Reimplemented from OdGiGeometry.
Reimplemented in OdGsBaseVectorizer.
|
virtual |
Specifies a model transformation matrix for the current transformation stack.
xfm | [in] Transformation matrix. |
Implements OdGiGeometry.
Reimplemented in OdGsBaseVectorizer, and OdGiBaseVectorizerImpl.
|
virtual |
Specifies a model transformation matrix for the current transformation stack.
The specified transformation is concatenated to the current model transformation (which is initially the identity transform). The resulting model transformation is subsequently applied to all geometry introduced into this vectorization context, until popModelTransform() is called.
normal | [in] Normal vector. |
Implements OdGiGeometry.
Reimplemented in OdGsBaseVectorizer, and OdGiBaseVectorizerImpl.
|
virtual |
Returns the Protocol Extension object for this object.
Reimplemented from OdRxObject.
|
virtual |
Draws the specified raster image.
origin | [in] Image origin. |
u | [in] Image width vector. |
v | [in] Image height vector. |
pImage | [in] Pointer to the image object. |
uvBoundary | [in] Array of image boundary points (may not be null). |
numBoundPts | [in] Number of boundary points. |
transparency | [in] True if and only if image transparency is on. |
brightness | [in] Image brightness [0 .. 100]. |
contrast | [in] Image contrast [0 .. 100]. |
fade | [in] Image fade value [0 .. 100]. |
Implements OdGiViewportGeometry.
|
virtual |
Provides access to this object's "drawing interface."
Reimplemented from OdGiWorldDrawImpl.
|
virtual |
Introduces a Ray into this vectorization context.
The ray takes on the current color.
basePoint | [in] Base point. |
throughPoint | [in] Through point |
Implements OdGiGeometry.
Reimplemented in OdGiBaseVectorizerImpl.
|
virtual |
Returns true if and only if regen was aborted.
Implements OdGiConveyorContext.
Reimplemented in OdGsBaseVectorizer, and OdGiExtCalc.
|
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
Implements OdGiCommonDraw.
Reimplemented in OdGiBaseVectorizerImpl, and OdGiExtCalc.
|
inlineprotected |
Definition at line 818 of file GiBaseVectorizer.h.
|
virtual |
Introduces a row of points to this vectorization context.
numPoints | [in] Number of points to draw. |
startPoint | [in] First point to draw. |
dirToNextPoint | [in] Offset and direction between next points. |
Reimplemented from OdGiGeometry.
OdRxObjectPtr OdGiBaseVectorizer::saveByBlockTraits | ( | ) |
OdGsMarker OdGiBaseVectorizer::selectionMarker | ( | ) | const |
Returns current selection marker state.
|
protectedvirtual |
Called when selection marker is being to be changed.
nSelectionMarker | [in] New selection marker. |
Reimplemented in OdGsBaseVectorizer.
|
virtual |
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. |
|
inline |
Definition at line 772 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
Reimplemented from OdGiWorldDrawImpl.
Sets the drawing flags.
drawFlags | [in] Input bitmask with DrawFlags. |
Reimplemented from OdGiWorldDrawImpl.
void OdGiBaseVectorizer::setEffectiveMaterialTraitsData | ( | OdDbStub * | materialId, |
const OdGiMaterialTraitsData & | data, | ||
bool | bForce = false |
||
) |
|
virtual |
Sets the traits currently in effect for this ConveyorContext object.
traits | [in] New traits data which will be used for effective traits substitution. |
fillNormal | [in] Optional fill normal. |
Implements OdGiConveyorContext.
|
inlinevirtual |
Marks as changed the EntityTraitsData data for this Vectorizer object.
Reimplemented in OdGsBaseVectorizer.
Definition at line 230 of file GiBaseVectorizer.h.
|
inlinevirtual |
Marks as changed the EntityTraitsData data for this Vectorizer object.
Reimplemented in OdGsBaseVectorizer.
Definition at line 234 of file GiBaseVectorizer.h.
|
virtual |
Sets the extents of the current object.
newExtents | [in] Array[2] of WCS points. |
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 OdGiWorldDrawImpl.
|
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
Reimplemented from OdGiWorldDrawImpl.
Reimplemented in OdGiBaseVectorizerImpl.
|
virtual |
Sets the current layer.
layerId | [in] Object ID of the LayerTableRecord. |
Reimplemented from OdGiWorldDrawImpl.
|
virtual |
Sets Dgn Line Style modifiers.
pLSMod | [in] Pointer to structure with Dgn Line Style modifiers. |
Reimplemented from OdGiWorldDrawImpl.
|
virtual |
Sets the current linetype.
lineTypeId | [in] Object ID of the LinetypeTableRecord. |
Reimplemented from OdGiWorldDrawImpl.
|
virtual |
Sets the current linetype scale.
lineTypeScale | [in] Linetype scale factor. |
Reimplemented from OdGiWorldDrawImpl.
|
virtual |
Sets the current lineweight.
lineWeight | [in] Lineweight. |
Reimplemented from OdGiWorldDrawImpl.
|
virtual |
Sets the current material mapper.
pMapper | [in] Pointer to the GI mapper object. |
Reimplemented from OdGiWorldDrawImpl.
|
virtual |
Sets the current material.
materialId | [in] Object ID of the material. |
Reimplemented from OdGiWorldDrawImpl.
|
virtual |
Sets the current PlotStyleName.
plotStyleNameType | [in] Plot Style Name Type. |
plotStyleNameId | [in] Object ID of the Plot Style Name. |
plotStyleNameType must be one of the following:
Value
kPlotStyleNameByLayer 0 kPlotStyleNameByBlock 1 kPlotStyleNameIsDictDefault 2 kPlotStyleNameById 3
Reimplemented from OdGiWorldDrawImpl.
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 OdGiWorldDrawImpl.
|
virtual |
Sets sectionable flag.
bSectionableFlag | [in] New sectionable flag. |
Reimplemented from OdGiWorldDrawImpl.
|
virtual |
Sets the selection flags.
selectionFlags | [in] Input SelectionFlags. |
Reimplemented from OdGiWorldDrawImpl.
|
virtual |
Sets selection geometry flag.
bSelectionFlag | [in] New selection geometry flag. |
Reimplemented from OdGiWorldDrawImpl.
|
virtual |
Sets the current selection marker.
marker | [in] Selection marker. |
Reimplemented from OdGiWorldDrawImpl.
Reimplemented in OdGsBaseVectorizer.
|
virtual |
Sets the shadow flags.
shadowFlags | [in] Input ShadowFlags. |
Reimplemented from OdGiWorldDrawImpl.
|
virtual |
Sets the current thickness.
thickness | [in] Thickness. |
Reimplemented from OdGiWorldDrawImpl.
|
virtual |
Sets the current transparency.
transparency | [in] OdCmTransparency object. |
Reimplemented from OdGiWorldDrawImpl.
|
virtual |
Sets the current color from an OdCmEntityColor instance.
color | [in] OdCmEntityColor object. |
Reimplemented from OdGiWorldDrawImpl.
|
virtual |
Sets the current visual style.
visualStyleId | [in] Object ID of the visual style. |
Reimplemented from OdGiWorldDrawImpl.
|
inline |
Definition at line 659 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 facesList. |
faceList | [in] Array of integers defining faces. |
pEdgeData | [in] Pointer to additional edge data. |
pFaceData | [in] Pointer to additional face data. |
pVertexData | [in] Pointer to additional vertex data. |
By default, a mesh takes on the current color. Color, linetype, and and other properties can be controlled supplying the appropriate data for the pEdgeData, pFaceData, and pVertexData arguments.
Implements OdGiGeometry.
Reimplemented in OdGiBaseVectorizerImpl.
|
virtual |
Starts segment of OdDbAttributes for block.
Reimplemented from OdGiWorldGeometry.
|
virtual |
Provides access to this object's subentity traits.
Reimplemented from OdGiWorldDrawImpl.
|
protectedvirtual |
Reimplemented in OdGsBaseVectorizer.
|
virtual |
Introduces text into this vectorization context.
position | [in] Position of the text string. |
normal | [in] Normal vector of the text. |
direction | [in] Baseline direction of the text. |
msg | [in] Text string. |
length | [in] Number of characters in msg (not including the optional null character). |
raw | [in] If and only if true, escape sequences, such as %P, will not be converted to special characters. |
pTextStyle | [in] Pointer to the TextStyle for the text. |
Implements OdGiGeometry.
|
virtual |
Introduces text into this vectorization context.
position | [in] Position of the text string. |
normal | [in] Normal vector of the text. |
direction | [in] Baseline direction of the text. |
height | [in] Height of the text. |
width | [in] Width factor of the text. |
oblique | [in] Oblique angle. |
msg | [in] Text string. |
If numBytes is not specified, msg must be null terminated.
As currently implemented, this function ignores width and oblique. They will be fully implemented in a future release.
Implements OdGiGeometry.
|
protected |
Updates the layer traits for this Vectorizer object from the specified subentity traits.
subEntityTraits | [in] Subentity traits. |
|
virtual |
Returns a reference to the OdGiViewport object associated with this object.
Implements OdGiViewportDraw.
Reimplemented in OdGiBaseVectorizerImpl.
|
virtual |
Implements OdGiViewportDraw.
Reimplemented in OdGiBaseVectorizerImpl.
|
virtual |
Returns the maximum world (WCS) deviation for this VectorizeView object.
Implements OdGiConveyorContext.
|
virtual |
Introduces a line into this vectorization context.
points | [in] Array of WCS start and end points. \remarksThe current model transformation is not applied to the line. |
Implements OdGiGeometry.
|
virtual |
Introduces an Xline into this vectorization context.
The xline takes on the current color.
firstPoint | [in] First point. |
secondPoint | [in] Second point. |
Implements OdGiGeometry.
Reimplemented in OdGiBaseVectorizerImpl.
|
staticprotected |
Definition at line 177 of file GiBaseVectorizer.h.
|
mutableprotected |
Definition at line 193 of file GiBaseVectorizer.h.
|
mutableprotected |
Definition at line 192 of file GiBaseVectorizer.h.
|
protected |
Definition at line 339 of file GiBaseVectorizer.h.
|
mutableprotected |
Definition at line 175 of file GiBaseVectorizer.h.
|
mutableprotected |
Definition at line 201 of file GiBaseVectorizer.h.
|
mutableprotected |
Definition at line 180 of file GiBaseVectorizer.h.
|
mutableprotected |
Definition at line 196 of file GiBaseVectorizer.h.
|
mutableprotected |
Definition at line 195 of file GiBaseVectorizer.h.
|
mutableprotected |
Definition at line 284 of file GiBaseVectorizer.h.
|
protected |
Definition at line 285 of file GiBaseVectorizer.h.
|
mutableprotected |
Definition at line 338 of file GiBaseVectorizer.h.
|
mutableprotected |
Definition at line 179 of file GiBaseVectorizer.h.
|
protected |
Definition at line 209 of file GiBaseVectorizer.h.
|
mutableprotected |
Definition at line 194 of file GiBaseVectorizer.h.
|
mutableprotected |
Definition at line 191 of file GiBaseVectorizer.h.
|
protected |
Definition at line 206 of file GiBaseVectorizer.h.
|
protected |
Definition at line 311 of file GiBaseVectorizer.h.
OdUInt32 OdGiBaseVectorizer::m_nDrawableAttributes |
Definition at line 319 of file GiBaseVectorizer.h.
|
protected |
Definition at line 204 of file GiBaseVectorizer.h.
|
protected |
Definition at line 203 of file GiBaseVectorizer.h.
|
protected |
Definition at line 315 of file GiBaseVectorizer.h.
|
protected |
Definition at line 312 of file GiBaseVectorizer.h.
|
protected |
Definition at line 341 of file GiBaseVectorizer.h.
|
protected |
Definition at line 210 of file GiBaseVectorizer.h.
|
protected |
Definition at line 207 of file GiBaseVectorizer.h.
OdGiDrawableDesc* OdGiBaseVectorizer::m_pDrawableDesc |
Definition at line 318 of file GiBaseVectorizer.h.
|
protected |
Definition at line 212 of file GiBaseVectorizer.h.
|
protected |
Definition at line 283 of file GiBaseVectorizer.h.
|
protected |
Definition at line 314 of file GiBaseVectorizer.h.