CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
OdGiWrapperCommonDraw< T > Class Template Reference

#include <GiDummyGeometry.h>

Inheritance diagram for OdGiWrapperCommonDraw< T >:
OdGiWrapperViewportDraw< OdGiViewportDraw > OdGiWrapperWorldDraw< OdGiWorldDraw > OdGiWrapperViewportDraw< T > OdGiWrapperWorldDraw< T > OdGiViewportDraw_Stub OdGiWorldDraw_Stub

Public Member Functions

 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
 

Protected Member Functions

void setDraw (OdGiCommonDraw &pD)
 
OdGiCommonDrawgetDraw () const
 

Detailed Description

template<class T>
class OdGiWrapperCommonDraw< T >

Corresponding C++ library: TD_Gi <group OdGi_Classes>

Definition at line 1358 of file GiDummyGeometry.h.

Constructor & Destructor Documentation

◆ OdGiWrapperCommonDraw()

template<class T >
OdGiWrapperCommonDraw< T >::OdGiWrapperCommonDraw ( )
inline

Default constructor for the OdGiWrapperCommonDraw class.

Definition at line 1368 of file GiDummyGeometry.h.

Member Function Documentation

◆ context()

template<class T >
virtual OdGiContext * OdGiWrapperCommonDraw< T >::context ( ) const
inlinevirtual

Retrieves context associated with this object.

Returns
Pointer to the associated context.

Definition at line 1430 of file GiDummyGeometry.h.

◆ currentGiPath()

template<class T >
virtual const OdGiPathNode * OdGiWrapperCommonDraw< T >::currentGiPath ( ) const
inlinevirtual

Retrieves the current drawable nesting graph.

Returns
pointer to a current drawable nesting graph.

Definition at line 1451 of file GiDummyGeometry.h.

◆ deviation()

template<class T >
virtual double OdGiWrapperCommonDraw< T >::deviation ( const OdGiDeviationType  t,
const OdGePoint3d p 
) const
inlinevirtual

Retrieves the recommended maximum deviation of the current vectorization for the specified point on a curve.

Parameters
t[in] Deviation type.
p[in] Point on a curve.
Returns
recommended maximum difference (with respect to the current active viewport) between the actual curve or surface, and the tessellated curve or surface.
Remarks
deviationType must be one of the following:

Value kOdGiMaxDevForCircle 0
kOdGiMaxDevForCurve 1
kOdGiMaxDevForBoundary 2
kOdGiMaxDevForIsoline 3 kOdGiMaxDevForFacet 4

Remarks
This method uses circle zoom percent or FacetRes as appropriate.

Definition at line 1487 of file GiDummyGeometry.h.

◆ displayModelerSilhouettes()

template<class T >
virtual bool OdGiWrapperCommonDraw< T >::displayModelerSilhouettes ( ) const
inlinevirtual

Checks whether generation of silhouettes is enabled for modeler geometry.

Returns
true if generation of silhouettes is enabled for modeler geometry.

Definition at line 1459 of file GiDummyGeometry.h.

◆ getDraw()

template<class T >
OdGiCommonDraw * OdGiWrapperCommonDraw< T >::getDraw ( ) const
inlineprotected

Definition at line 1363 of file GiDummyGeometry.h.

◆ isDragging()

template<class T >
virtual bool OdGiWrapperCommonDraw< T >::isDragging ( ) const
inlinevirtual

Checks whether the associated vectorization process is the result of a "drag" operation.

Returns
true if vectorization process is the result of a "drag" operation, false otherwise.

Definition at line 1422 of file GiDummyGeometry.h.

◆ numberOfIsolines()

template<class T >
virtual OdUInt32 OdGiWrapperCommonDraw< T >::numberOfIsolines ( ) const
inlinevirtual

Retrieves count of isolines that are used to represent an entity.

Returns
number of isolines.
Remarks
Isolines are lines or curves which are used to represent the entity. For example, if an entity is a sphere and this method returns 3, the sphere should be displayed as 3 circles with a common center and planes that are perpendicular to each other.

Definition at line 1443 of file GiDummyGeometry.h.

◆ rawGeometry()

template<class T >
virtual OdGiGeometry & OdGiWrapperCommonDraw< T >::rawGeometry ( ) const
inlinevirtual

Retrieves raw geometry associated with this object.

Returns
raw geometry.

Reimplemented in OdGiViewportDraw_Stub, and OdGiWorldDraw_Stub.

Definition at line 1376 of file GiDummyGeometry.h.

◆ regenAbort()

template<class T >
virtual bool OdGiWrapperCommonDraw< T >::regenAbort ( ) const
inlinevirtual

Checks whether the vectorization process associated with this object should be aborted.

Returns
true if this vectorization process should be aborted, false otherwise.

Definition at line 1403 of file GiDummyGeometry.h.

◆ regenType()

template<class T >
virtual OdGiRegenType OdGiWrapperCommonDraw< T >::regenType ( ) const
inlinevirtual

Returns the regeneration type for this object.

Returns
regenType() returns one of the following:

Value eOdGiRegenTypeInvalid 0 kOdGiStandardDisplay 2 kOdGiHideOrShadeCommand 3 kOdGiRenderCommand 4 kOdGiForExplode 5 kOdGiSaveWorldDrawForProxy 6 kOdGiForExtents 7

Definition at line 1395 of file GiDummyGeometry.h.

◆ setDraw()

template<class T >
void OdGiWrapperCommonDraw< T >::setDraw ( OdGiCommonDraw pD)
inlineprotected

Definition at line 1362 of file GiDummyGeometry.h.

◆ subEntityTraits()

template<class T >
virtual OdGiSubEntityTraits & OdGiWrapperCommonDraw< T >::subEntityTraits ( ) const
inlinevirtual

Provides access to this object's sub-entity traits.

Returns
sub-entity traits of this object.
Remarks
This allows the modification of the vectorization attributes such as color, linetype, etc.

Reimplemented in OdGiViewportDraw_Stub, and OdGiWorldDraw_Stub.

Definition at line 1414 of file GiDummyGeometry.h.


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