CFx SDK Documentation  2020SP3
Public Member Functions | List of all members
OdGiWorldGeometry Class Referenceabstract

#include <GiWorldGeometry.h>

Inheritance diagram for OdGiWorldGeometry:
OdGiGeometry OdRxObject OdGiDummyGeometry< OdGiWorldGeometry > OdGiWorldDraw_ OdGiWrapperGeometry< OdGiWorldGeometry > OdGiDummyWorldGeometry< OdGiWorldGeometry > OdGiDummyCommonDraw< OdGiWorldDraw_ > OdGiDummyGeometry< OdGiWorldDraw_ > OdGiWrapperWorldGeometry< OdGiWorldGeometry > OdGiWorldDraw_Dummy OdGiWorldDrawImpl OdGiDummyWorldGeometry< OdGiWorldDraw_ > OdGiWorldDraw_Stub OdGiBaseVectorizer OdGiDummyCommonDraw< OdGiDummyWorldGeometry< OdGiWorldDraw_ > > OdGiBaseVectorizerImpl OdGiExtCalc OdGiDummyWorldDraw< OdGiDummyWorldGeometry< OdGiWorldDraw_ > > OdGsBaseVectorizer OdGiLayerTraitsTaker OdGsBaseMaterialVectorizer OdGsBaseVectorizeViewJoin< OdGsBaseVectorizer > OdGiLayerTraitsTakerView OdGsBaseMaterialViewPC OdGsBaseVectorizeViewDef OdGsBaseVectorizeViewJoinMT< OdGsBaseVectorizer > OdGsBaseVectorizeViewJoin< OdGsBaseMaterialViewPC > OdGsBaseVectorizeViewMT OdGsBaseMaterialView OdGsBaseVectorizeViewJoinMT< OdGsBaseMaterialViewPC > OdGsBaseMaterialViewMT

Public Member Functions

 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 const OdGiPathNodecurrentGiPath () const
 
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 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
 

Additional Inherited Members

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

Detailed Description

This class defines functions that allow entities to vectorize themselves.

Remarks
Vectorization with the methods of this class are viewport independent. For viewport specific vectorization, use subViewportDraw() instead of subWorldDraw().

An OdGiWorldGeometry object is part of the OdGiWorldDraw argument passed to the subWorldDraw() method of an entity.

Model coordinates are applied to all geometry in this class except for setExtents().

See also
TD_Gi <group OdGi_Classes>

Definition at line 50 of file GiWorldGeometry.h.

Member Function Documentation

◆ ODRX_DECLARE_MEMBERS()

OdGiWorldGeometry::ODRX_DECLARE_MEMBERS ( OdGiWorldGeometry  )

◆ setExtents()

virtual void OdGiWorldGeometry::setExtents ( const OdGePoint3d newExtents)
pure virtual

Sets the extents of the current object.

Parameters
newExtents[in] Array[2] of WCS points.
Remarks
Generation of model coordinate geometry automatically calculates the extents. You may override this calculation with this function.

Implemented in OdGiBaseVectorizerImpl, OdGiWrapperWorldGeometry< OdGiWorldGeometry >, OdGiExtCalc, OdGiBaseVectorizer, OdGiDummyWorldGeometry< OdGiWorldGeometry >, OdGiDummyWorldGeometry< OdGiWorldDraw_ >, OdGiDummyGeometry< OdGiWorldGeometry >, and OdGiDummyGeometry< OdGiWorldDraw_ >.

◆ startAttributesSegment()

virtual void OdGiWorldGeometry::startAttributesSegment ( )
inlinevirtual

Starts segment of OdDbAttributes for block.

Remarks
If this drawable is a block and has OdDbAttributes it must call this method exactly once before sending the attributes to draw(). Once this is called the object may draw only attributes and no more primitives The attributes must be the last objects vectorized.

Reimplemented in OdGiDummyWorldGeometry< OdGiWorldGeometry >, OdGiDummyWorldGeometry< OdGiWorldDraw_ >, OdGiWrapperWorldGeometry< OdGiWorldGeometry >, and OdGiBaseVectorizer.

Definition at line 77 of file GiWorldGeometry.h.


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