CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
OdGiViewportDraw Class Referenceabstract

#include <GiViewportDraw.h>

Inheritance diagram for OdGiViewportDraw:
OdGiCommonDraw OdRxObject OdGiViewportDraw_ OdGiBaseVectorizer OdGiBaseVectorizerImpl OdGiExtCalc OdGsBaseVectorizer OdGsBaseVectorizeViewJoin< OdGsBaseVectorizer > OdGsBaseMaterialVectorizer OdGsBaseVectorizeViewJoinMT< OdGsBaseVectorizer > OdGsBaseVectorizeViewDef OdGsBaseMaterialViewPC OdGsBaseVectorizeViewMT OdGsBaseVectorizeViewJoin< OdGsBaseMaterialViewPC > OdGsBaseVectorizeViewJoinMT< OdGsBaseMaterialViewPC > OdGsBaseMaterialView OdGsBaseMaterialViewMT

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdGiViewportDraw)
 
virtual OdGiViewportviewport () const =0
 
virtual OdGiViewportGeometrygeometry () const =0
 
virtual OdUInt32 sequenceNumber () const =0
 
virtual bool isValidId (const OdUInt32 viewportId) const =0
 
virtual OdDbStub * viewportObjectId () const =0
 
- Public Member Functions inherited from OdGiCommonDraw
 ODRX_DECLARE_MEMBERS (OdGiCommonDraw)
 
virtual OdGiRegenType regenType () const =0
 
virtual bool regenAbort () const =0
 
virtual OdGiSubEntityTraitssubEntityTraits () const =0
 
virtual OdGiGeometryrawGeometry () const =0
 
virtual bool isDragging () const =0
 
virtual double deviation (const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve) 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 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 the functionality for viewport -dependent entity-level vectorization.

Remarks
Consider a circular cone. A circular cone can be drawn as a circle and two silhouette lines. The circle could be drawn with the subWorldDraw() function, but the silhouette lines are dependent on the view direction, and must be computed with by subViewportDraw().
See also
TD_Gi

<group OdGi_Classes>

Definition at line 49 of file GiViewportDraw.h.

Member Function Documentation

◆ geometry()

virtual OdGiViewportGeometry& OdGiViewportDraw::geometry ( ) const
pure virtual

Returns the OdGiViewportGeometry object associated with this object.

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

Implemented in OdGiViewportDraw_.

◆ isValidId()

virtual bool OdGiViewportDraw::isValidId ( const OdUInt32  viewportId) const
pure virtual

Returns true if and only if specified Viewport ID is a valid Viewport ID.

Parameters
viewportId[in] Viewport ID.
Remarks
viewportId is typically obtained from viewport().viewportId().

Implemented in OdGiBaseVectorizerImpl, and OdGiBaseVectorizer.

◆ ODRX_DECLARE_MEMBERS()

OdGiViewportDraw::ODRX_DECLARE_MEMBERS ( OdGiViewportDraw  )

◆ sequenceNumber()

virtual OdUInt32 OdGiViewportDraw::sequenceNumber ( ) const
pure virtual

Returns the number of viewports that have been deleted from the current database during this editing session..

Implemented in OdGiBaseVectorizerImpl, and OdGiBaseVectorizer.

◆ viewport()

virtual OdGiViewport& OdGiViewportDraw::viewport ( ) const
pure virtual

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

Remarks
The OdGiViewport contains information specific to the viewport being drawn.

Implemented in OdGiBaseVectorizerImpl, and OdGiBaseVectorizer.

◆ viewportObjectId()

virtual OdDbStub* OdGiViewportDraw::viewportObjectId ( ) const
pure virtual

Returns the Object ID of the OdDbViewport object associated with this object.

Remarks
Returns NULL if TileMode == 1.

Implemented in OdGiBaseVectorizerImpl, and OdGiBaseVectorizer.


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