CFx SDK Documentation
2022 SP0
|
#include <GiBaseVectorizer.h>
Public Member Functions | |
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 OdGiMapper * | mapper () const |
OdDbStub * | visualStyle () const |
OdCmTransparency | transparency () const |
OdUInt32 | drawFlags () const |
bool | selectionGeom () const |
ShadowFlags | shadowFlags () const |
bool | sectionable () const |
SelectionFlags | selectionFlags () const |
OdCmEntityColor | secondaryTrueColor () const |
const OdGiDgLinetypeModifiers * | lineStyleModifiers () const |
const OdGiFill * | fill () 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 | 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) |
OdGiContext * | context () const |
OdGiSubEntityTraits & | subEntityTraits () const |
OdGiGeometry & | rawGeometry () const |
OdUInt32 | numberOfIsolines () const |
Public Member Functions inherited from OdGiDummyCommonDraw< OdGiWorldDraw_ > | |
virtual OdGiRegenType | regenType () const |
virtual bool | regenAbort () const |
virtual bool | isDragging () const |
virtual double | deviation (const OdGiDeviationType t, const OdGePoint3d &p) const |
Public Member Functions inherited from OdGiWorldDraw_ | |
OdGiWorldGeometry & | geometry () const |
const OdGiPathNode * | currentGiPath () const |
Public Member Functions inherited from OdGiWorldDraw | |
ODRX_DECLARE_MEMBERS (OdGiWorldDraw) | |
Public Member Functions inherited from OdGiCommonDraw | |
ODRX_DECLARE_MEMBERS (OdGiCommonDraw) | |
virtual bool | displayModelerSilhouettes () const |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () const |
virtual void | addRef ()=0 |
virtual void | release ()=0 |
virtual long | numRefs () const |
bool | isKindOf (const OdRxClass *pClass) const |
virtual OdRxObjectPtr | clone () const |
virtual void | copyFrom (const OdRxObject *pSource) |
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
virtual bool | isEqualTo (const OdRxObject *pOther) const |
Public Member Functions inherited from OdGiWorldGeometry | |
ODRX_DECLARE_MEMBERS (OdGiWorldGeometry) | |
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 ¢er, double radius, const OdGeVector3d &normal)=0 |
virtual void | circle (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint)=0 |
virtual void | circularArc (const OdGePoint3d ¢er, 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 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 | rowOfDots (OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint) |
Public Member Functions inherited from OdGiSubEntityTraits | |
ODRX_DECLARE_MEMBERS (OdGiSubEntityTraits) | |
virtual void | setFillPlane (const OdGeVector3d *pNormal=0) |
virtual bool | fillPlane (OdGeVector3d &normal) |
virtual bool | pushLineweightOverride (const OdGiLineweightOverride *pOverride) |
virtual void | popLineweightOverride () |
virtual OdUInt32 | setupForEntity () const |
virtual void | addLight (const OdDbStub *lightId) |
Public Member Functions inherited from OdGiDrawableTraits | |
ODRX_DECLARE_MEMBERS (OdGiDrawableTraits) | |
Static Public Member Functions | |
static OdGiContext * | dummyGiContext () |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Member Functions | |
ODRX_USING_HEAP_OPERATORS (OdGiDummyCommonDraw< OdGiWorldDraw_ >) | |
OdGiWorldDrawImpl () | |
Protected Member Functions inherited from OdGiWorldDraw_ | |
ODRX_USING_HEAP_OPERATORS (OdGiWorldDraw) | |
Protected Attributes | |
OdGiSubEntityTraitsData | m_entityTraitsData |
OdGiContext * | m_pContext |
This class provides an implementation of the OdGiWorldDraw::geometry() function.
<group OdGi_Classes>
Definition at line 79 of file GiBaseVectorizer.h.
|
protected |
|
virtual |
Returns the current color index (ACI).
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.
|
virtual |
Returns the OdGiContext instance associated with this object.
Implements OdGiCommonDraw.
Reimplemented in OdGiBaseVectorizer.
|
virtual |
Return the current DrawFlags bitmask.
Reimplemented from OdGiSubEntityTraits.
|
static |
|
virtual |
Return boundary filling parameters.
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Returns the current 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.
|
virtual |
Returns the current layer.
Implements OdGiSubEntityTraits.
|
virtual |
Return pointer to the current Dgn Line Style modifiers structure.
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Returns the current linetype.
Implements OdGiSubEntityTraits.
|
virtual |
Returns the current linetype scale.
Implements OdGiSubEntityTraits.
|
virtual |
Returns the current lineweight.
Implements OdGiSubEntityTraits.
|
virtual |
Returns pointer to the current material mapper.
Implements OdGiSubEntityTraits.
|
virtual |
Returns the Object ID of the material.
Implements OdGiSubEntityTraits.
|
virtual |
Returns the number of isolines to be drawn on surfaces during this vectorization.
Reimplemented from OdGiDummyCommonDraw< OdGiWorldDraw_ >.
Reimplemented in OdGiBaseVectorizer.
|
protected |
|
virtual |
Returns object ID of the the plot style name.
Implements OdGiSubEntityTraits.
|
virtual |
Returns the current PlotStyleName type.
Value
kPlotStyleNameByLayer 0 kPlotStyleNameByBlock 1 kPlotStyleNameIsDictDefault 2 kPlotStyleNameById 3
Implements OdGiSubEntityTraits.
|
virtual |
Provides access to this object's "drawing interface."
Implements OdGiCommonDraw.
Reimplemented in OdGiBaseVectorizer.
|
virtual |
Returns the current secondary color as an OdCmEntityColor instance.
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Return the current sectionable flag.
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Return the current SelectionFlags.
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Return the current selection geometry flag.
Reimplemented from OdGiSubEntityTraits.
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.
Reimplemented in OdGiBaseVectorizer.
|
virtual |
Sets the OdGiContext instance associated with this object.
pUserContext | [in] Pointer to the user context. |
Reimplemented in OdGiExtCalc.
Sets the drawing flags.
drawFlags | [in] Input bitmask with DrawFlags. |
Reimplemented from OdGiSubEntityTraits.
Reimplemented in OdGiBaseVectorizer.
Sets boundary filling.
pFill | [in] Boundary filling parameters. |
Reimplemented from OdGiSubEntityTraits.
Reimplemented in OdGiBaseVectorizer.
|
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, and OdGiBaseVectorizer.
|
virtual |
Sets the current layer.
layerId | [in] Object ID of the LayerTableRecord. |
Implements OdGiSubEntityTraits.
Reimplemented in OdGiBaseVectorizer.
|
virtual |
Sets Dgn Line Style modifiers.
pLSMod | [in] Pointer to structure with Dgn Line Style modifiers. |
Reimplemented from OdGiSubEntityTraits.
Reimplemented in OdGiBaseVectorizer.
|
virtual |
Sets the current linetype.
lineTypeId | [in] Object ID of the LinetypeTableRecord. |
Implements OdGiSubEntityTraits.
Reimplemented in OdGiBaseVectorizer.
|
virtual |
Sets the current linetype scale.
lineTypeScale | [in] Linetype scale factor. |
Implements OdGiSubEntityTraits.
Reimplemented in OdGiBaseVectorizer.
|
virtual |
Sets the current lineweight.
lineWeight | [in] Lineweight. |
Implements OdGiSubEntityTraits.
Reimplemented in OdGiBaseVectorizer.
|
virtual |
Sets the current material mapper.
pMapper | [in] Pointer to the GI mapper object. |
Implements OdGiSubEntityTraits.
Reimplemented in OdGiBaseVectorizer.
|
virtual |
Sets the current material.
materialId | [in] Object ID of the material. |
Implements OdGiSubEntityTraits.
Reimplemented in OdGiBaseVectorizer.
|
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
Implements OdGiSubEntityTraits.
Reimplemented in OdGiBaseVectorizer.
|
virtual |
Sets the current secondary color from an OdCmEntityColor instance.
color | [in] OdCmEntityColor object. |
Reimplemented from OdGiSubEntityTraits.
Reimplemented in OdGiBaseVectorizer.
|
virtual |
Sets sectionable flag.
bSectionableFlag | [in] New sectionable flag. |
Reimplemented from OdGiSubEntityTraits.
Reimplemented in OdGiBaseVectorizer.
|
virtual |
Sets the selection flags.
selectionFlags | [in] Input SelectionFlags. |
Reimplemented from OdGiSubEntityTraits.
Reimplemented in OdGiBaseVectorizer.
|
virtual |
Sets selection geometry flag.
bSelectionFlag | [in] New selection geometry flag. |
Reimplemented from OdGiSubEntityTraits.
Reimplemented in OdGiBaseVectorizer.
|
virtual |
Sets the current selection marker.
marker | [in] Selection marker. |
Implements OdGiSubEntityTraits.
Reimplemented in OdGsBaseVectorizer, and OdGiBaseVectorizer.
|
virtual |
Sets the shadow flags.
shadowFlags | [in] Input ShadowFlags. |
Reimplemented from OdGiSubEntityTraits.
Reimplemented in OdGiBaseVectorizer.
|
virtual |
Sets the current thickness.
thickness | [in] Thickness. |
Implements OdGiSubEntityTraits.
Reimplemented in OdGiBaseVectorizer.
|
virtual |
Sets the current transparency.
transparency | [in] OdCmTransparency object. |
Reimplemented from OdGiSubEntityTraits.
Reimplemented in OdGiBaseVectorizer.
|
virtual |
Sets the current color from an OdCmEntityColor instance.
color | [in] OdCmEntityColor object. |
Implements OdGiSubEntityTraits.
Reimplemented in OdGiBaseVectorizer.
|
virtual |
Sets the current visual style.
visualStyleId | [in] Object ID of the visual style. |
Reimplemented from OdGiSubEntityTraits.
Reimplemented in OdGiBaseVectorizer.
|
virtual |
Return the current ShadowFlags.
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Provides access to this object's subentity traits.
Implements OdGiCommonDraw.
Reimplemented in OdGiBaseVectorizer.
|
virtual |
Returns the current thickness.
Implements OdGiSubEntityTraits.
|
virtual |
Returns the current transparency.
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Returns the current color as an OdCmEntityColor instance.
Implements OdGiSubEntityTraits.
|
virtual |
Returns the Object ID of the visual style.
Reimplemented from OdGiSubEntityTraits.
|
protected |
Definition at line 85 of file GiBaseVectorizer.h.
|
protected |
Definition at line 86 of file GiBaseVectorizer.h.