CFx SDK Documentation  2020SP3
Public Member Functions | List of all members
OdGiWorldDraw_Stub Class Reference

#include <GiDummyGeometry.h>

Inheritance diagram for OdGiWorldDraw_Stub:
OdGiWrapperWorldDraw< OdGiWorldDraw > OdGiWrapperWorldGeometry< OdGiWorldGeometry > OdGiSubEntityTraitsWrapper< OdGiSubEntityTraits > OdGiWrapperCommonDraw< OdGiWorldDraw > OdGiWrapperGeometry< OdGiWorldGeometry > OdGiSubEntityTraitsToDataWrapper< OdGiSubEntityTraits, OdGiSubEntityTraits > OdGiWorldDraw OdGiWorldGeometry OdGiSubEntityTraits OdGiCommonDraw OdGiGeometry OdGiDrawableTraits OdRxObject OdRxObject OdRxObject

Public Member Functions

 ODRX_USING_HEAP_OPERATORS (OdGiWrapperWorldDraw< OdGiWorldDraw >)
 
 OdGiWorldDraw_Stub (OdGiWorldDraw &pVD, OdGiWorldGeometry &pVG, OdGiSubEntityTraits &pST)
 
virtual OdGiGeometryrawGeometry () const
 
virtual OdGiSubEntityTraitssubEntityTraits () const
 
virtual OdGiWorldGeometrygeometry () const
 
void addRef ()
 
void release ()
 
- Public Member Functions inherited from OdGiWrapperWorldDraw< OdGiWorldDraw >
virtual OdGiWorldGeometrygeometry () const
 
- Public Member Functions inherited from OdGiWrapperCommonDraw< OdGiWorldDraw >
 OdGiWrapperCommonDraw ()
 
virtual OdGiGeometryrawGeometry () const
 
virtual OdGiRegenType regenType () const
 
virtual bool regenAbort () const
 
virtual OdGiSubEntityTraitssubEntityTraits () const
 
virtual bool isDragging () const
 
virtual OdGiContextcontext () const
 
virtual OdUInt32 numberOfIsolines () const
 
virtual const OdGiPathNodecurrentGiPath () const
 
virtual bool displayModelerSilhouettes () const
 
virtual double deviation (const OdGiDeviationType t, const OdGePoint3d &p) const
 
- Public Member Functions inherited from OdGiWorldDraw
 ODRX_DECLARE_MEMBERS (OdGiWorldDraw)
 
- Public Member Functions inherited from OdGiCommonDraw
 ODRX_DECLARE_MEMBERS (OdGiCommonDraw)
 
virtual OdGiRegenType regenType () const =0
 
virtual bool regenAbort () const =0
 
virtual bool isDragging () const =0
 
virtual OdUInt32 numberOfIsolines () const =0
 
virtual OdGiContextcontext () const =0
 
virtual const OdGiPathNodecurrentGiPath () const
 
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 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 OdGiWrapperWorldGeometry< OdGiWorldGeometry >
virtual void setExtents (const OdGePoint3d *newExtents)
 
virtual void startAttributesSegment ()
 
- Public Member Functions inherited from OdGiWrapperGeometry< OdGiWorldGeometry >
virtual void pline (const OdGiPolyline &p, OdUInt32 i, OdUInt32 n)
 
virtual OdGeMatrix3d getModelToWorldTransform () const
 
virtual OdGeMatrix3d getWorldToModelTransform () const
 
virtual void pushModelTransform (const OdGeVector3d &vNormal)
 
virtual void pushModelTransform (const OdGeMatrix3d &xMat)
 
virtual void popModelTransform ()
 
virtual void circle (const OdGePoint3d &center, double radius, const OdGeVector3d &normal)
 
virtual void circle (const OdGePoint3d &p1, const OdGePoint3d &p2, const OdGePoint3d &p3)
 
virtual void circularArc (const OdGePoint3d &center, double radius, const OdGeVector3d &normal, const OdGeVector3d &startVector, double sweepAngle, OdGiArcType arcType=kOdGiArcSimple)
 
virtual void circularArc (const OdGePoint3d &start, const OdGePoint3d &point, const OdGePoint3d &end, OdGiArcType arcType=kOdGiArcSimple)
 
virtual void polyline (OdInt32 nbPoints, const OdGePoint3d *pVertexList, const OdGeVector3d *pNormal=NULL, OdGsMarker lBaseSubEntMarker=-1)
 
virtual void polygon (OdInt32 nbPoints, const OdGePoint3d *pVertexList)
 
virtual void polygon (OdInt32 nbPoints, const OdGePoint3d *pVertexList, const OdGeVector3d *pNormal)
 
virtual void mesh (OdInt32 rows, OdInt32 columns, const OdGePoint3d *pVertexList, const OdGiEdgeData *pEdgeData=NULL, const OdGiFaceData *pFaceData=NULL, const OdGiVertexData *pVertexData=NULL)
 
virtual void shell (OdInt32 nbVertex, const OdGePoint3d *pVertexList, OdInt32 faceListSize, const OdInt32 *pFaceList, const OdGiEdgeData *pEdgeData=NULL, const OdGiFaceData *pFaceData=NULL, const OdGiVertexData *pVertexData=NULL)
 
virtual void text (const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, double height, double width, double oblique, const OdString &msg)
 
virtual void text (const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, const OdChar *msg, OdInt32 length, bool raw, const OdGiTextStyle *pTextStyle)
 
void ray (const OdGePoint3d &first, const OdGePoint3d &second)
 
virtual void nurbs (const OdGeNurbCurve3d &nurbs)
 
virtual void xline (const OdGePoint3d &p1, const OdGePoint3d &p2)
 
virtual void ellipArc (const OdGeEllipArc3d &arc, const OdGePoint3d *pEndPointsOverrides=0, OdGiArcType arcType=kOdGiArcSimple)
 
virtual void draw (const OdGiDrawable *pD)
 
virtual void pushClipBoundary (OdGiClipBoundary *pBoundary)
 
virtual void popClipBoundary ()
 
virtual void worldLine (const OdGePoint3d pnts[2])
 
virtual void image (const OdGiImageBGRA32 &img, const OdGePoint3d &origin, const OdGeVector3d &uVec, const OdGeVector3d &vVec, OdGiRasterImage::TransparencyMode trpMode=OdGiRasterImage::kTransparency8Bit)
 
virtual void edge (const OdGiEdge2dArray &edges)
 
virtual void polypoint (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdCmEntityColor *pColors, const OdCmTransparency *pTransparency, const OdGeVector3d *pNormals, const OdGsMarker *pSubEntMarkers, OdInt32 nPointSize)
 
virtual void rowOfDots (OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint)
 
- Public Member Functions inherited from OdGiWorldGeometry
 ODRX_DECLARE_MEMBERS (OdGiWorldGeometry)
 
- Public Member Functions inherited from OdGiGeometry
 ODRX_DECLARE_MEMBERS (OdGiGeometry)
 
virtual OdGeMatrix3d getModelToWorldTransform () const =0
 
virtual OdGeMatrix3d getWorldToModelTransform () const =0
 
virtual const OdGiPathNodecurrentGiPath () const
 
virtual void pushClipBoundary (OdGiClipBoundary *pBoundary, OdGiAbstractClipBoundary *pClipInfo)
 
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
 
- Public Member Functions inherited from OdGiSubEntityTraitsWrapper< OdGiSubEntityTraits >
 OdGiSubEntityTraitsWrapper ()
 
void addRef ()
 
void release ()
 
void setSelectionMarker (OdGsMarker n)
 
void setFillPlane (const OdGeVector3d *n=0)
 
bool fillPlane (OdGeVector3d &n)
 
- Public Member Functions inherited from OdGiSubEntityTraitsToDataWrapper< OdGiSubEntityTraits, OdGiSubEntityTraits >
 OdGiSubEntityTraitsToDataWrapper ()
 
void setTraits (OdGiSubEntityTraits &pTraits)
 
OdGiSubEntityTraitsgetTraits () const
 
void setColor (OdUInt16 n)
 
void setTrueColor (const OdCmEntityColor &n)
 
void setLayer (OdDbStub *n)
 
void setLineType (OdDbStub *n)
 
void setFillType (OdGiFillType n)
 
void setLineWeight (OdDb::LineWeight n)
 
void setLineTypeScale (double n=1.0)
 
void setThickness (double n)
 
void setPlotStyleName (OdDb::PlotStyleNameType n, OdDbStub *m=0)
 
void setMaterial (OdDbStub *n)
 
void setMapper (const OdGiMapper *n)
 
void setVisualStyle (const OdDbStub *n)
 
void setTransparency (const OdCmTransparency &transparency)
 
void setDrawFlags (OdUInt32 drawFlags)
 
void setSelectionGeom (bool bSelectionFlag)
 
void setShadowFlags (OdGiSubEntityTraits::ShadowFlags shadowFlags)
 
void setSectionable (bool bSectionableFlag)
 
void setSelectionFlags (OdGiSubEntityTraits::SelectionFlags selectionFlags)
 
void setSecondaryTrueColor (const OdCmEntityColor &n)
 
void setLineStyleModifiers (const OdGiDgLinetypeModifiers *pLSMod)
 
void setFill (const OdGiFill *pFill)
 
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
 
OdGiSubEntityTraits::ShadowFlags shadowFlags () const
 
bool sectionable () const
 
OdGiSubEntityTraits::SelectionFlags selectionFlags () const
 
OdCmEntityColor secondaryTrueColor () const
 
const OdGiDgLinetypeModifierslineStyleModifiers () const
 
const OdGiFillfill () const
 
- Public Member Functions inherited from OdGiSubEntityTraits
 ODRX_DECLARE_MEMBERS (OdGiSubEntityTraits)
 
virtual OdUInt16 color () const =0
 
virtual OdCmEntityColor trueColor () const =0
 
virtual OdDbStub * layer () const =0
 
virtual OdDbStub * lineType () const =0
 
virtual OdGiFillType fillType () const =0
 
virtual OdDb::LineWeight lineWeight () const =0
 
virtual double lineTypeScale () const =0
 
virtual double thickness () const =0
 
virtual OdDb::PlotStyleNameType plotStyleNameType () const =0
 
virtual OdDbStub * plotStyleNameId () const =0
 
virtual OdDbStub * material () const =0
 
virtual const OdGiMappermapper () const =0
 
virtual OdDbStub * visualStyle () const
 
virtual OdCmTransparency transparency () const
 
virtual OdUInt32 drawFlags () const
 
virtual bool selectionGeom () const
 
virtual ShadowFlags shadowFlags () const
 
virtual bool sectionable () const
 
virtual SelectionFlags selectionFlags () const
 
virtual OdCmEntityColor secondaryTrueColor () const
 
virtual const OdGiDgLinetypeModifierslineStyleModifiers () const
 
virtual const OdGiFillfill () const
 
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)
 

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
}
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Member Functions inherited from OdGiWrapperCommonDraw< OdGiWorldDraw >
void setDraw (OdGiCommonDraw &pD)
 
OdGiCommonDrawgetDraw () const
 
- Protected Member Functions inherited from OdGiWrapperGeometry< OdGiWorldGeometry >
void setGeom (OdGiGeometry &Geom)
 
OdGiGeometrygetGeom ()
 
- Protected Member Functions inherited from OdGiSubEntityTraitsWrapper< OdGiSubEntityTraits >
void setTraits (OdGiSubEntityTraits &pTraits)
 
OdGiSubEntityTraitsgetTraits ()
 
- Protected Attributes inherited from OdGiSubEntityTraitsToDataWrapper< OdGiSubEntityTraits, OdGiSubEntityTraits >
OdGiSubEntityTraitsm_pTraits
 

Detailed Description

Corresponding C++ library: TD_Gi <group OdGi_Classes>

Definition at line 500 of file GiDummyGeometry.h.

Constructor & Destructor Documentation

◆ OdGiWorldDraw_Stub()

OdGiWorldDraw_Stub::OdGiWorldDraw_Stub ( OdGiWorldDraw pVD,
OdGiWorldGeometry pVG,
OdGiSubEntityTraits pST 
)
inline

Definition at line 507 of file GiDummyGeometry.h.

Member Function Documentation

◆ addRef()

void OdGiWorldDraw_Stub::addRef ( )
inlinevirtual

Declares the method incrementing the reference counter in objects derived from this class.

Remarks
It is the pure virtual method that does not have an implementation. You must redefine it in the derived class.
See also
<link smart_pointers_overview.html, Overview of Smart Pointer Classes>

Implements OdRxObject.

Definition at line 518 of file GiDummyGeometry.h.

◆ geometry()

virtual OdGiWorldGeometry& OdGiWorldDraw_Stub::geometry ( ) const
inlinevirtual

Returns a reference to the OdGiWorldGeometry object associated with this object.

Remarks
This instance contains the functions that can be used by an entity to vectorize itself.

Implements OdGiWorldDraw.

Definition at line 516 of file GiDummyGeometry.h.

◆ ODRX_USING_HEAP_OPERATORS()

OdGiWorldDraw_Stub::ODRX_USING_HEAP_OPERATORS ( OdGiWrapperWorldDraw< OdGiWorldDraw )

◆ rawGeometry()

virtual OdGiGeometry& OdGiWorldDraw_Stub::rawGeometry ( ) const
inlinevirtual

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.

Definition at line 514 of file GiDummyGeometry.h.

◆ release()

void OdGiWorldDraw_Stub::release ( )
inlinevirtual

Declares the method decrementing the reference counter in objects derived from this class.

Remarks
It is the pure virtual method that does not have an implementation. You must redefine it in the derived class.
See also
<link smart_pointers_overview.html, Overview of Smart Pointer Classes>

Implements OdRxObject.

Definition at line 519 of file GiDummyGeometry.h.

◆ subEntityTraits()

virtual OdGiSubEntityTraits& OdGiWorldDraw_Stub::subEntityTraits ( ) const
inlinevirtual

Provides access to this object's subentity traits.

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

Implements OdGiCommonDraw.

Definition at line 515 of file GiDummyGeometry.h.


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