CFx SDK Documentation  2022 SP0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OdGiWorldDrawImpl Class Reference

#include <GiBaseVectorizer.h>

Inheritance diagram for OdGiWorldDrawImpl:
OdGiDummyCommonDraw< OdGiWorldDraw_ > OdGiSubEntityTraits OdGiWorldDraw_ OdGiDrawableTraits OdGiWorldDraw OdGiWorldGeometry OdRxObject OdGiCommonDraw OdGiGeometry OdRxObject OdRxObject OdGiBaseVectorizer OdGiBaseVectorizerImpl OdGiExtCalc OdGsBaseVectorizer OdGsBaseVectorizeViewJoin< OdGsBaseVectorizer > OdGsBaseMaterialVectorizer OdGsBaseVectorizeViewJoinMT< OdGsBaseVectorizer > OdGsBaseVectorizeViewDef OdGsBaseMaterialViewPC OdGsBaseVectorizeViewMT OdGsBaseVectorizeViewJoin< OdGsBaseMaterialViewPC > OdGsBaseVectorizeViewJoinMT< OdGsBaseMaterialViewPC > OdGsBaseMaterialView OdGsBaseMaterialViewMT

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 OdGiMappermapper () const
 
OdDbStub * visualStyle () const
 
OdCmTransparency transparency () const
 
OdUInt32 drawFlags () const
 
bool selectionGeom () const
 
ShadowFlags shadowFlags () const
 
bool sectionable () const
 
SelectionFlags selectionFlags () const
 
OdCmEntityColor secondaryTrueColor () const
 
const OdGiDgLinetypeModifierslineStyleModifiers () const
 
const OdGiFillfill () const
 
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)
 
OdGiContextcontext () const
 
OdGiSubEntityTraitssubEntityTraits () const
 
OdGiGeometryrawGeometry () 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_
OdGiWorldGeometrygeometry () const
 
const OdGiPathNodecurrentGiPath () const
 
- Public Member Functions inherited from OdGiWorldDraw
 ODRX_DECLARE_MEMBERS (OdGiWorldDraw)
 
- Public Member Functions inherited from OdGiCommonDraw
 ODRX_DECLARE_MEMBERS (OdGiCommonDraw)
 
virtual bool displayModelerSilhouettes () const
 
- Public Member Functions inherited from 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 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 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 OdGiContextdummyGiContext ()
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

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
 
OdGiContextm_pContext
 

Additional Inherited Members

- Public Types inherited from OdGiSubEntityTraits
enum  DrawFlags {
  kNoDrawFlags = 0x0000 , kDrawBackfaces = 0x0001 , kDrawHatchGroup = 0x0002 , kDrawFrontfacesOnly = 0x0004 ,
  kDrawGradientFill = 0x0008 , kDrawSolidFill = 0x0010 , kDrawNoLineWeight = 0x0020 , kDrawNoPlotstyle = 0x0080 ,
  kDrawContourFill = 0x08000 , kDisableLayoutCache = 0x10000 , kDrawBoundaryForClipping = 0x20000 , kDrawBoundaryForClippingDrw = 0x40000 ,
  kClipSetIsEmpty = 0x80000 , kInternalDrawFlags = kDisableLayoutCache | kClipSetIsEmpty , kDrawPolygonFill = 0x100000 , kExcludeFromViewExt = 0x200000 ,
  kDrawDgLsPolyWithoutBreaks = 0x400000 , kPolygonProcessing = 0x800000 , kDisableAutoGenerateNormals = 0x1000000 , kDisableFillModeCheck = 0x2000000 ,
  kDrawUnderlayReference = 0x4000000 , kFxNoFillOnSelect = 0x08000000 , kInheritableDrawFlags
}
 
enum  ShadowFlags { kShadowsCastAndReceive = 0 , kShadowsDoesNotCast = 1 , kShadowsDoesNotReceive = 2 , kShadowsIgnore = kShadowsDoesNotCast | kShadowsDoesNotReceive }
 
enum  SelectionFlags { kNoSelectionFlags = 0 , kSelectionIgnore = 1 , kHighlightingGeometry = 2 , kFxSubentitySelection = 0x80 }
 
enum  SubEntityHints {
  kHint2DAttributes = 1 , kHint3DAttributes = 2 , kHintAllAttributes = kHint2DAttributes | kHint3DAttributes , kHintSnapModeOn = 4 ,
  kHintDefaultState = kHintAllAttributes
}
 

Detailed Description

This class provides an implementation of the OdGiWorldDraw::geometry() function.

See also
TD_Gi

<group OdGi_Classes>

Definition at line 79 of file GiBaseVectorizer.h.

Constructor & Destructor Documentation

◆ OdGiWorldDrawImpl()

OdGiWorldDrawImpl::OdGiWorldDrawImpl ( )
protected

Member Function Documentation

◆ color()

OdUInt16 OdGiWorldDrawImpl::color ( ) const
virtual

Returns the current color index (ACI).

Remarks
color() returns one of the following:

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.

◆ context()

OdGiContext* OdGiWorldDrawImpl::context ( ) const
virtual

Returns the OdGiContext instance associated with this object.

Implements OdGiCommonDraw.

Reimplemented in OdGiBaseVectorizer.

◆ drawFlags()

OdUInt32 OdGiWorldDrawImpl::drawFlags ( ) const
virtual

Return the current DrawFlags bitmask.

Reimplemented from OdGiSubEntityTraits.

◆ dummyGiContext()

static OdGiContext* OdGiWorldDrawImpl::dummyGiContext ( )
static

◆ fill()

const OdGiFill* OdGiWorldDrawImpl::fill ( ) const
virtual

Return boundary filling parameters.

Reimplemented from OdGiSubEntityTraits.

◆ fillType()

OdGiFillType OdGiWorldDrawImpl::fillType ( ) const
virtual

Returns the current fill type.

Returns
fillType() returns one of the following:

Value Description kOdGiFillAlways 1 Fill closed graphic primitives. kOdGiFillNever 2 Don't fill closed graphic primitives.

Closed graphic primitives consist of the following: arcs with (OdGiArcType == kOdGiArcSector) || (OdGiArcType == kOdGiArcChord) circles meshes polygons shells

Implements OdGiSubEntityTraits.

◆ layer()

OdDbStub* OdGiWorldDrawImpl::layer ( ) const
virtual

Returns the current layer.

Implements OdGiSubEntityTraits.

◆ lineStyleModifiers()

const OdGiDgLinetypeModifiers* OdGiWorldDrawImpl::lineStyleModifiers ( ) const
virtual

Return pointer to the current Dgn Line Style modifiers structure.

Reimplemented from OdGiSubEntityTraits.

◆ lineType()

OdDbStub* OdGiWorldDrawImpl::lineType ( ) const
virtual

Returns the current linetype.

Implements OdGiSubEntityTraits.

◆ lineTypeScale()

double OdGiWorldDrawImpl::lineTypeScale ( ) const
virtual

Returns the current linetype scale.

Implements OdGiSubEntityTraits.

◆ lineWeight()

OdDb::LineWeight OdGiWorldDrawImpl::lineWeight ( ) const
virtual

Returns the current lineweight.

Implements OdGiSubEntityTraits.

◆ mapper()

const OdGiMapper* OdGiWorldDrawImpl::mapper ( ) const
virtual

Returns pointer to the current material mapper.

Implements OdGiSubEntityTraits.

◆ material()

OdDbStub* OdGiWorldDrawImpl::material ( ) const
virtual

Returns the Object ID of the material.

Implements OdGiSubEntityTraits.

◆ numberOfIsolines()

OdUInt32 OdGiWorldDrawImpl::numberOfIsolines ( ) const
virtual

Returns the number of isolines to be drawn on surfaces during this vectorization.

Reimplemented from OdGiDummyCommonDraw< OdGiWorldDraw_ >.

Reimplemented in OdGiBaseVectorizer.

◆ ODRX_USING_HEAP_OPERATORS()

OdGiWorldDrawImpl::ODRX_USING_HEAP_OPERATORS ( OdGiDummyCommonDraw< OdGiWorldDraw_ )
protected

◆ plotStyleNameId()

OdDbStub* OdGiWorldDrawImpl::plotStyleNameId ( ) const
virtual

Returns object ID of the the plot style name.

Implements OdGiSubEntityTraits.

◆ plotStyleNameType()

OdDb::PlotStyleNameType OdGiWorldDrawImpl::plotStyleNameType ( ) const
virtual

Returns the current PlotStyleName type.

Remarks
plotStyleNameType() returns one of the following:

Value
kPlotStyleNameByLayer 0 kPlotStyleNameByBlock 1 kPlotStyleNameIsDictDefault 2 kPlotStyleNameById 3

Implements OdGiSubEntityTraits.

◆ rawGeometry()

OdGiGeometry& OdGiWorldDrawImpl::rawGeometry ( ) const
virtual

Provides access to this object's "drawing interface."

Remarks
The "drawing interface" is a set of geometry functions used during the vectorization process.

Implements OdGiCommonDraw.

Reimplemented in OdGiBaseVectorizer.

◆ secondaryTrueColor()

OdCmEntityColor OdGiWorldDrawImpl::secondaryTrueColor ( ) const
virtual

Returns the current secondary color as an OdCmEntityColor instance.

Reimplemented from OdGiSubEntityTraits.

◆ sectionable()

bool OdGiWorldDrawImpl::sectionable ( ) const
virtual

Return the current sectionable flag.

Reimplemented from OdGiSubEntityTraits.

◆ selectionFlags()

SelectionFlags OdGiWorldDrawImpl::selectionFlags ( ) const
virtual

Return the current SelectionFlags.

Reimplemented from OdGiSubEntityTraits.

◆ selectionGeom()

bool OdGiWorldDrawImpl::selectionGeom ( ) const
virtual

Return the current selection geometry flag.

Reimplemented from OdGiSubEntityTraits.

◆ setColor()

void OdGiWorldDrawImpl::setColor ( OdUInt16  color)
virtual

Sets the current color index (ACI).

Parameters
color[in] Color index.
Remarks
color must be one of the following:

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.

◆ setContext()

virtual void OdGiWorldDrawImpl::setContext ( OdGiContext pUserContext)
virtual

Sets the OdGiContext instance associated with this object.

Parameters
pUserContext[in] Pointer to the user context.

Reimplemented in OdGiExtCalc.

◆ setDrawFlags()

void OdGiWorldDrawImpl::setDrawFlags ( OdUInt32  drawFlags)
virtual

Sets the drawing flags.

Parameters
drawFlags[in] Input bitmask with DrawFlags.

Reimplemented from OdGiSubEntityTraits.

Reimplemented in OdGiBaseVectorizer.

◆ setFill()

void OdGiWorldDrawImpl::setFill ( const OdGiFill pFill)
virtual

Sets boundary filling.

Parameters
pFill[in] Boundary filling parameters.

Reimplemented from OdGiSubEntityTraits.

Reimplemented in OdGiBaseVectorizer.

◆ setFillType()

void OdGiWorldDrawImpl::setFillType ( OdGiFillType  fillType)
virtual

Sets the current fill type.

Parameters
fillType[in] Fill type.
Remarks
fillType must be one of the following:

Value Description kOdGiFillAlways 1 Fill closed graphic primitives. kOdGiFillNever 2 Don't fill closed graphic primitives.

Closed graphic primitives consist of the following: arcs with (OdGiArcType == kOdGiArcSector) || (OdGiArcType == kOdGiArcChord) circles meshes polygons shells

Implements OdGiSubEntityTraits.

Reimplemented in OdGiBaseVectorizerImpl, and OdGiBaseVectorizer.

◆ setLayer()

void OdGiWorldDrawImpl::setLayer ( OdDbStub *  layerId)
virtual

Sets the current layer.

Parameters
layerId[in] Object ID of the LayerTableRecord.

Implements OdGiSubEntityTraits.

Reimplemented in OdGiBaseVectorizer.

◆ setLineStyleModifiers()

void OdGiWorldDrawImpl::setLineStyleModifiers ( const OdGiDgLinetypeModifiers pLSMod)
virtual

Sets Dgn Line Style modifiers.

Parameters
pLSMod[in] Pointer to structure with Dgn Line Style modifiers.

Reimplemented from OdGiSubEntityTraits.

Reimplemented in OdGiBaseVectorizer.

◆ setLineType()

void OdGiWorldDrawImpl::setLineType ( OdDbStub *  lineTypeId)
virtual

Sets the current linetype.

Parameters
lineTypeId[in] Object ID of the LinetypeTableRecord.

Implements OdGiSubEntityTraits.

Reimplemented in OdGiBaseVectorizer.

◆ setLineTypeScale()

void OdGiWorldDrawImpl::setLineTypeScale ( double  lineTypeScale)
virtual

Sets the current linetype scale.

Parameters
lineTypeScale[in] Linetype scale factor.

Implements OdGiSubEntityTraits.

Reimplemented in OdGiBaseVectorizer.

◆ setLineWeight()

void OdGiWorldDrawImpl::setLineWeight ( OdDb::LineWeight  lineWeight)
virtual

Sets the current lineweight.

Parameters
lineWeight[in] Lineweight.

Implements OdGiSubEntityTraits.

Reimplemented in OdGiBaseVectorizer.

◆ setMapper()

void OdGiWorldDrawImpl::setMapper ( const OdGiMapper pMapper)
virtual

Sets the current material mapper.

Parameters
pMapper[in] Pointer to the GI mapper object.

Implements OdGiSubEntityTraits.

Reimplemented in OdGiBaseVectorizer.

◆ setMaterial()

void OdGiWorldDrawImpl::setMaterial ( OdDbStub *  materialId)
virtual

Sets the current material.

Parameters
materialId[in] Object ID of the material.

Implements OdGiSubEntityTraits.

Reimplemented in OdGiBaseVectorizer.

◆ setPlotStyleName()

void OdGiWorldDrawImpl::setPlotStyleName ( OdDb::PlotStyleNameType  plotStyleNameType,
OdDbStub *  plotStyleNameId = 0 
)
virtual

Sets the current PlotStyleName.

Parameters
plotStyleNameType[in] Plot Style Name Type.
plotStyleNameId[in] Object ID of the Plot Style Name.
Remarks
plotStyleNameId is used only when plotStyleNameType == kPlotStyleNameById.

plotStyleNameType must be one of the following:

Value
kPlotStyleNameByLayer 0 kPlotStyleNameByBlock 1 kPlotStyleNameIsDictDefault 2 kPlotStyleNameById 3

Implements OdGiSubEntityTraits.

Reimplemented in OdGiBaseVectorizer.

◆ setSecondaryTrueColor()

void OdGiWorldDrawImpl::setSecondaryTrueColor ( const OdCmEntityColor color)
virtual

Sets the current secondary color from an OdCmEntityColor instance.

Parameters
color[in] OdCmEntityColor object.

Reimplemented from OdGiSubEntityTraits.

Reimplemented in OdGiBaseVectorizer.

◆ setSectionable()

void OdGiWorldDrawImpl::setSectionable ( bool  bSectionableFlag)
virtual

Sets sectionable flag.

Parameters
bSectionableFlag[in] New sectionable flag.

Reimplemented from OdGiSubEntityTraits.

Reimplemented in OdGiBaseVectorizer.

◆ setSelectionFlags()

void OdGiWorldDrawImpl::setSelectionFlags ( SelectionFlags  selectionFlags)
virtual

Sets the selection flags.

Parameters
selectionFlags[in] Input SelectionFlags.

Reimplemented from OdGiSubEntityTraits.

Reimplemented in OdGiBaseVectorizer.

◆ setSelectionGeom()

void OdGiWorldDrawImpl::setSelectionGeom ( bool  bSelectionFlag)
virtual

Sets selection geometry flag.

Parameters
bSelectionFlag[in] New selection geometry flag.

Reimplemented from OdGiSubEntityTraits.

Reimplemented in OdGiBaseVectorizer.

◆ setSelectionMarker()

void OdGiWorldDrawImpl::setSelectionMarker ( OdGsMarker  selectionMarker)
virtual

Sets the current selection marker.

Parameters
marker[in] Selection marker.

Implements OdGiSubEntityTraits.

Reimplemented in OdGsBaseVectorizer, and OdGiBaseVectorizer.

◆ setShadowFlags()

void OdGiWorldDrawImpl::setShadowFlags ( ShadowFlags  shadowFlags)
virtual

Sets the shadow flags.

Parameters
shadowFlags[in] Input ShadowFlags.

Reimplemented from OdGiSubEntityTraits.

Reimplemented in OdGiBaseVectorizer.

◆ setThickness()

void OdGiWorldDrawImpl::setThickness ( double  thickness)
virtual

Sets the current thickness.

Parameters
thickness[in] Thickness.

Implements OdGiSubEntityTraits.

Reimplemented in OdGiBaseVectorizer.

◆ setTransparency()

void OdGiWorldDrawImpl::setTransparency ( const OdCmTransparency transparency)
virtual

Sets the current transparency.

Parameters
transparency[in] OdCmTransparency object.

Reimplemented from OdGiSubEntityTraits.

Reimplemented in OdGiBaseVectorizer.

◆ setTrueColor()

void OdGiWorldDrawImpl::setTrueColor ( const OdCmEntityColor color)
virtual

Sets the current color from an OdCmEntityColor instance.

Parameters
color[in] OdCmEntityColor object.

Implements OdGiSubEntityTraits.

Reimplemented in OdGiBaseVectorizer.

◆ setVisualStyle()

void OdGiWorldDrawImpl::setVisualStyle ( const OdDbStub *  visualStyleId)
virtual

Sets the current visual style.

Parameters
visualStyleId[in] Object ID of the visual style.

Reimplemented from OdGiSubEntityTraits.

Reimplemented in OdGiBaseVectorizer.

◆ shadowFlags()

ShadowFlags OdGiWorldDrawImpl::shadowFlags ( ) const
virtual

Return the current ShadowFlags.

Reimplemented from OdGiSubEntityTraits.

◆ subEntityTraits()

OdGiSubEntityTraits& OdGiWorldDrawImpl::subEntityTraits ( ) const
virtual

Provides access to this object's subentity traits.

Remarks
This allows the modification of the vectorization attributes such as color, linetype, etc.

Implements OdGiCommonDraw.

Reimplemented in OdGiBaseVectorizer.

◆ thickness()

double OdGiWorldDrawImpl::thickness ( ) const
virtual

Returns the current thickness.

Implements OdGiSubEntityTraits.

◆ transparency()

OdCmTransparency OdGiWorldDrawImpl::transparency ( ) const
virtual

Returns the current transparency.

Reimplemented from OdGiSubEntityTraits.

◆ trueColor()

OdCmEntityColor OdGiWorldDrawImpl::trueColor ( ) const
virtual

Returns the current color as an OdCmEntityColor instance.

Implements OdGiSubEntityTraits.

◆ visualStyle()

OdDbStub* OdGiWorldDrawImpl::visualStyle ( ) const
virtual

Returns the Object ID of the visual style.

Reimplemented from OdGiSubEntityTraits.

Member Data Documentation

◆ m_entityTraitsData

OdGiSubEntityTraitsData OdGiWorldDrawImpl::m_entityTraitsData
protected

Definition at line 85 of file GiBaseVectorizer.h.

◆ m_pContext

OdGiContext* OdGiWorldDrawImpl::m_pContext
protected

Definition at line 86 of file GiBaseVectorizer.h.


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