CFx SDK Documentation  2020SP3
Public Types | Public Member Functions | Protected Member Functions | List of all members
OdTrVisGeometryDraw Class Referenceabstract

#include <TrVisMetafileBuilder.h>

Inheritance diagram for OdTrVisGeometryDraw:
OdRxObject

Public Types

enum  LinesPrimType { kLines, kLineLoop, kLineStrip }
 
enum  TrianglesPrimType { kTriangles, kTriangleStrip, kTriangleFan }
 

Public Member Functions

virtual ~OdTrVisGeometryDraw ()
 
virtual void polypoint (OdUInt32 nPoints, const OdGePoint3d *pPoints)=0
 
virtual void polypoint (OdUInt32 nPoints, const OdGePoint3d *pPoints, const OdTrVisVertexData &data)=0
 
virtual void polyline (OdUInt32 nPoints, const OdGePoint3d *pPoints, LinesPrimType type)=0
 
virtual void polyline (OdUInt32 nPoints, const OdGePoint3d *pPoints, LinesPrimType type, const OdTrVisVertexData &data)=0
 
virtual void triangle (OdUInt32 nPoints, const OdGePoint3d *pPoints, TrianglesPrimType type)=0
 
virtual void triangle (OdUInt32 nPoints, const OdGePoint3d *pPoints, TrianglesPrimType type, const OdTrVisVertexData &data)=0
 
virtual void polygon (OdUInt32 nPoints, const OdGePoint3d *pPoints)=0
 
virtual void polygon (OdUInt32 nPoints, const OdGePoint3d *pPoints, const OdTrVisVertexData &data)=0
 
virtual void arc (const OdGePoint3d &center, double radius, const OdGeVector3d &normal=OdGeVector3d::kZAxis, OdUInt32 nSegs=16, const OdGeVector3d &start=OdGeVector3d::kYAxis, double angleFrom=0.0, double angleTo=Oda2PI)=0
 
virtual void circle (const OdGePoint3d &center, double radius, const OdGeVector3d &normal, OdUInt32 nSegs)=0
 
virtual void curve2d (const OdGeCurve2d &curve)=0
 
virtual void curve3d (const OdGeCurve3d &curve)=0
 
virtual void setDeviation (double dev)=0
 
virtual double deviation () const =0
 
virtual void beginIndexedMode (OdUInt32 nPoints, const OdGePoint3d *pPoints, const OdTrVisVertexData &data=OdTrVisVertexData())=0
 
virtual void endIndexedMode ()=0
 
virtual void indexedPolypoint (OdUInt32 nPoints, const OdInt32 *pIndeces)=0
 
virtual void indexedPolypoint (OdUInt32 nPoints, const OdInt32 *pIndeces, OdUInt8 nEnabledVertexData)=0
 
virtual void indexedPolyline (OdUInt32 nPoints, const OdInt32 *pIndeces, LinesPrimType type)=0
 
virtual void indexedPolyline (OdUInt32 nPoints, const OdInt32 *pIndeces, LinesPrimType type, OdUInt8 nEnabledVertexData)=0
 
virtual void indexedTriangle (OdUInt32 nPoints, const OdInt32 *pIndeces, TrianglesPrimType type)=0
 
virtual void indexedTriangle (OdUInt32 nPoints, const OdInt32 *pIndeces, TrianglesPrimType type, OdUInt8 nEnabledVertexData)=0
 
virtual void indexedPolygon (OdUInt32 nPoints, const OdInt32 *pIndeces)=0
 
virtual void indexedPolygon (OdUInt32 nPoints, const OdInt32 *pIndeces, OdUInt8 nEnabledVertexData)=0
 
- 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
 

Protected Member Functions

 OdTrVisGeometryDraw ()
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

Definition at line 59 of file TrVisMetafileBuilder.h.

Member Enumeration Documentation

◆ LinesPrimType

Enumerator
kLines 
kLineLoop 
kLineStrip 

Definition at line 64 of file TrVisMetafileBuilder.h.

◆ TrianglesPrimType

Enumerator
kTriangles 
kTriangleStrip 
kTriangleFan 

Definition at line 70 of file TrVisMetafileBuilder.h.

Constructor & Destructor Documentation

◆ OdTrVisGeometryDraw()

OdTrVisGeometryDraw::OdTrVisGeometryDraw ( )
inlineprotected

Definition at line 62 of file TrVisMetafileBuilder.h.

◆ ~OdTrVisGeometryDraw()

virtual OdTrVisGeometryDraw::~OdTrVisGeometryDraw ( )
inlinevirtual

Definition at line 77 of file TrVisMetafileBuilder.h.

Member Function Documentation

◆ arc()

virtual void OdTrVisGeometryDraw::arc ( const OdGePoint3d center,
double  radius,
const OdGeVector3d normal = OdGeVector3d::kZAxis,
OdUInt32  nSegs = 16,
const OdGeVector3d start = OdGeVector3d::kYAxis,
double  angleFrom = 0.0,
double  angleTo = Oda2PI 
)
pure virtual

◆ beginIndexedMode()

virtual void OdTrVisGeometryDraw::beginIndexedMode ( OdUInt32  nPoints,
const OdGePoint3d pPoints,
const OdTrVisVertexData data = OdTrVisVertexData() 
)
pure virtual

◆ circle()

virtual void OdTrVisGeometryDraw::circle ( const OdGePoint3d center,
double  radius,
const OdGeVector3d normal,
OdUInt32  nSegs 
)
pure virtual

◆ curve2d()

virtual void OdTrVisGeometryDraw::curve2d ( const OdGeCurve2d curve)
pure virtual

◆ curve3d()

virtual void OdTrVisGeometryDraw::curve3d ( const OdGeCurve3d curve)
pure virtual

◆ deviation()

virtual double OdTrVisGeometryDraw::deviation ( ) const
pure virtual

◆ endIndexedMode()

virtual void OdTrVisGeometryDraw::endIndexedMode ( )
pure virtual

◆ indexedPolygon() [1/2]

virtual void OdTrVisGeometryDraw::indexedPolygon ( OdUInt32  nPoints,
const OdInt32 pIndeces 
)
pure virtual

◆ indexedPolygon() [2/2]

virtual void OdTrVisGeometryDraw::indexedPolygon ( OdUInt32  nPoints,
const OdInt32 pIndeces,
OdUInt8  nEnabledVertexData 
)
pure virtual

◆ indexedPolyline() [1/2]

virtual void OdTrVisGeometryDraw::indexedPolyline ( OdUInt32  nPoints,
const OdInt32 pIndeces,
LinesPrimType  type 
)
pure virtual

◆ indexedPolyline() [2/2]

virtual void OdTrVisGeometryDraw::indexedPolyline ( OdUInt32  nPoints,
const OdInt32 pIndeces,
LinesPrimType  type,
OdUInt8  nEnabledVertexData 
)
pure virtual

◆ indexedPolypoint() [1/2]

virtual void OdTrVisGeometryDraw::indexedPolypoint ( OdUInt32  nPoints,
const OdInt32 pIndeces 
)
pure virtual

◆ indexedPolypoint() [2/2]

virtual void OdTrVisGeometryDraw::indexedPolypoint ( OdUInt32  nPoints,
const OdInt32 pIndeces,
OdUInt8  nEnabledVertexData 
)
pure virtual

◆ indexedTriangle() [1/2]

virtual void OdTrVisGeometryDraw::indexedTriangle ( OdUInt32  nPoints,
const OdInt32 pIndeces,
TrianglesPrimType  type 
)
pure virtual

◆ indexedTriangle() [2/2]

virtual void OdTrVisGeometryDraw::indexedTriangle ( OdUInt32  nPoints,
const OdInt32 pIndeces,
TrianglesPrimType  type,
OdUInt8  nEnabledVertexData 
)
pure virtual

◆ polygon() [1/2]

virtual void OdTrVisGeometryDraw::polygon ( OdUInt32  nPoints,
const OdGePoint3d pPoints 
)
pure virtual

◆ polygon() [2/2]

virtual void OdTrVisGeometryDraw::polygon ( OdUInt32  nPoints,
const OdGePoint3d pPoints,
const OdTrVisVertexData data 
)
pure virtual

◆ polyline() [1/2]

virtual void OdTrVisGeometryDraw::polyline ( OdUInt32  nPoints,
const OdGePoint3d pPoints,
LinesPrimType  type 
)
pure virtual

◆ polyline() [2/2]

virtual void OdTrVisGeometryDraw::polyline ( OdUInt32  nPoints,
const OdGePoint3d pPoints,
LinesPrimType  type,
const OdTrVisVertexData data 
)
pure virtual

◆ polypoint() [1/2]

virtual void OdTrVisGeometryDraw::polypoint ( OdUInt32  nPoints,
const OdGePoint3d pPoints 
)
pure virtual

◆ polypoint() [2/2]

virtual void OdTrVisGeometryDraw::polypoint ( OdUInt32  nPoints,
const OdGePoint3d pPoints,
const OdTrVisVertexData data 
)
pure virtual

◆ setDeviation()

virtual void OdTrVisGeometryDraw::setDeviation ( double  dev)
pure virtual

◆ triangle() [1/2]

virtual void OdTrVisGeometryDraw::triangle ( OdUInt32  nPoints,
const OdGePoint3d pPoints,
TrianglesPrimType  type 
)
pure virtual

◆ triangle() [2/2]

virtual void OdTrVisGeometryDraw::triangle ( OdUInt32  nPoints,
const OdGePoint3d pPoints,
TrianglesPrimType  type,
const OdTrVisVertexData data 
)
pure virtual

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