CFx SDK Documentation  2023 SP0
Public Member Functions | List of all members
OdGiDrawableImpl< T > Class Template Reference

#include <GiDrawableImpl.h>

Inheritance diagram for OdGiDrawableImpl< T >:
OdGiDrawable OdRxObject OdStaticRxObject< OdGiDrawableImpl< OdGiDrawable > > CFxEdInputTracker

Public Member Functions

 OdGiDrawableImpl ()
 
 ~OdGiDrawableImpl ()
 
void setGsNode (OdGsCache *pGsNode)
 
OdGsCachegsNode () const
 
void subViewportDraw (OdGiViewportDraw *) const
 
bool isPersistent () const
 
OdDbStub * id () const
 
- Public Member Functions inherited from OdGiDrawable
 ODRX_DECLARE_MEMBERS (OdGiDrawable)
 
virtual DrawableType drawableType () const
 
ODRX_SEALED_VIRTUAL OdUInt32 setAttributes (OdGiDrawableTraits *pTraits) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL bool worldDraw (OdGiWorldDraw *pWd) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL void viewportDraw (OdGiViewportDraw *pVd) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdUInt32 viewportDrawLogicalFlags (OdGiViewportDraw *pVd) const ODRX_SEALED
 
virtual OdResult getGeomExtents (OdGeExtents3d &extents) const
 
ODRX_SEALED_VIRTUAL OdUInt32 regenSupportFlags () const ODRX_SEALED
 
- 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

- Public Types inherited from OdGiDrawable
enum  SetAttributesFlags {
  kDrawableNone = 0 , kDrawableIsAnEntity = 1 , kDrawableUsesNesting = 2 , kDrawableIsCompoundObject = 4 ,
  kDrawableViewIndependentViewportDraw = 8 , kDrawableIsInvisible = 16 , kDrawableHasAttributes = 32 , kDrawableRegenTypeDependantGeometry = 64 ,
  kDrawableIsDimension = (kDrawableIsAnEntity + kDrawableIsCompoundObject + 128) , kDrawableRegenDraw = 256 , kDrawableStandardDisplaySingleLOD = 512 , kDrawableShadedDisplaySingleLOD = 1024 ,
  kDrawableViewDependentViewportDraw = 2048 , kDrawableBlockDependentViewportDraw = 4096 , kDrawableIsExternalReference = 8192 , kDrawableNotPlottable = 16384 ,
  kLastFlag = kDrawableNotPlottable
}
 
enum  DrawableType {
  kGeometry = 0 , kDistantLight = 1 , kPointLight = 2 , kSpotLight = 3 ,
  kAmbientLight , kSolidBackground , kGradientBackground , kImageBackground ,
  kGroundPlaneBackground , kViewport , kWebLight , kSkyBackground ,
  kImageBasedLightingBackground
}
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Member Functions inherited from OdGiDrawable
 OdGiDrawable ()
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *traits) const =0
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const =0
 
virtual OdUInt32 subViewportDrawLogicalFlags (OdGiViewportDraw *vd) const
 
virtual OdUInt32 subRegenSupportFlags () const
 

Detailed Description

template<class T = OdGiDrawable>
class OdGiDrawableImpl< T >

<group OdGi_Classes>

Definition at line 43 of file GiDrawableImpl.h.

Constructor & Destructor Documentation

◆ OdGiDrawableImpl()

template<class T = OdGiDrawable>
OdGiDrawableImpl< T >::OdGiDrawableImpl ( )
inline

Definition at line 47 of file GiDrawableImpl.h.

◆ ~OdGiDrawableImpl()

template<class T = OdGiDrawable>
OdGiDrawableImpl< T >::~OdGiDrawableImpl ( )
inline

Definition at line 49 of file GiDrawableImpl.h.

Member Function Documentation

◆ gsNode()

template<class T = OdGiDrawable>
OdGsCache* OdGiDrawableImpl< T >::gsNode ( ) const
inlinevirtual

Returns the OdGsCache associated with this object.

Implements OdGiDrawable.

Definition at line 53 of file GiDrawableImpl.h.

◆ id()

template<class T = OdGiDrawable>
OdDbStub* OdGiDrawableImpl< T >::id ( ) const
inlinevirtual

Returns the database ID of this object.

Remarks
Returns a null pointer if this object is not persistent.

Implements OdGiDrawable.

Definition at line 58 of file GiDrawableImpl.h.

◆ isPersistent()

template<class T = OdGiDrawable>
bool OdGiDrawableImpl< T >::isPersistent ( ) const
inlinevirtual

Returns true if and only if this object is persistent (stored in a database).

Implements OdGiDrawable.

Definition at line 57 of file GiDrawableImpl.h.

◆ setGsNode()

template<class T = OdGiDrawable>
void OdGiDrawableImpl< T >::setGsNode ( OdGsCache pGsNode)
inlinevirtual

Assigns the specified OdGsCache to this object.

Parameters
pGsNode[in] Pointer to the OdGsCache to be assigned.

Implements OdGiDrawable.

Definition at line 51 of file GiDrawableImpl.h.

◆ subViewportDraw()

template<class T = OdGiDrawable>
void OdGiDrawableImpl< T >::subViewportDraw ( OdGiViewportDraw ) const
inlinevirtual

Implements OdGiDrawable.

Definition at line 55 of file GiDrawableImpl.h.


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