CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdGiViewportDraw Class Referenceabstract

#include <GiViewportDraw.h>

Inheritance diagram for OdGiViewportDraw:
OdGiCommonDraw OdRxObject OdGiDummyCommonDraw< OdGiViewportDraw > OdGiWrapperCommonDraw< OdGiViewportDraw > OdGiViewportDraw_ OdGiDummyViewportDraw< OdGiViewportDraw > OdGiWrapperViewportDraw< OdGiViewportDraw > OdGiDummyGeometry< OdGiViewportDraw_ > OdGiWrapperGeometry< OdGiViewportDraw_ > OdGiBaseVectorizer OdGiViewportDraw_Dummy OdGiViewportDraw_Stub OdGiDummyViewportGeometry< OdGiViewportDraw_ > OdGiWrapperViewportGeometry< OdGiViewportDraw_ > OdStaticRxObjectM< OdGiBaseVectorizer, OdGiGeometrySimplifier, OdGiContextForDbDatabase > OdGiBaseVectorizerImpl OdGiExtCalc OdGiDummyCommonDraw< OdGiDummyViewportGeometry< OdGiViewportDraw_ > > OdGiDummyCommonDraw< OdGiWrapperViewportGeometry< OdGiViewportDraw_ > > AECGe::Harvester OdGsBaseVectorizer OdGiDummyViewportDraw< OdGiDummyViewportGeometry< OdGiViewportDraw_ > > OdGiDummyViewportDraw< OdGiWrapperViewportGeometry< OdGiViewportDraw_ > > AECGe::HarvesterOverall OdGsBaseVectorizeViewJoin< OdGsBaseVectorizer > OdGsBaseMaterialVectorizer OdGiFastExtCalcViewportDrawImpl OdGiLayerTraitsTaker OdGsBaseVectorizeViewJoinMT< OdGsBaseVectorizer > OdGsBaseVectorizeViewDef OdGsBaseMaterialViewPC OdGiLayerTraitsTakerView OdGsBaseVectorizeViewMT OdGsBaseVectorizeViewJoin< OdGsBaseMaterialViewPC > OdGsBaseVectorizeViewJoinMT< OdGsBaseMaterialViewPC > OdGsBaseMaterialView OdGsBaseMaterialViewMT CFxRVTMaterialView

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 ()
 
static void rxInit ()
 
static void rxUninit ()
 

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_, OdGiViewportDraw_Dummy, OdGiViewportDraw_Stub, and OdGiWrapperViewportDraw< OdGiViewportDraw >.

◆ isValidId()

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

Checks whether the specified Viewport ID is a valid Viewport ID.

Parameters
viewportId[in] Viewport ID.
Returns
true if the specified Viewport ID is a valid Viewport ID, false otherwise.
Remarks
viewportId is typically obtained from viewport().viewportId().

Implemented in OdGiBaseVectorizer, OdGiBaseVectorizerImpl, OdGiDummyViewportDraw< OdGiDummyViewportGeometry< OdGiViewportDraw_ > >, OdGiDummyViewportDraw< OdGiViewportDraw >, OdGiDummyViewportDraw< OdGiWrapperViewportGeometry< OdGiViewportDraw_ > >, OdGiLayerTraitsTaker, OdGiLayerTraitsTakerView, and OdGiWrapperViewportDraw< OdGiViewportDraw >.

◆ ODRX_DECLARE_MEMBERS()

OdGiViewportDraw::ODRX_DECLARE_MEMBERS ( OdGiViewportDraw )

◆ sequenceNumber()

◆ viewport()

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

◆ viewportObjectId()

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

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