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

#include <GiDrawableImpl.h>

Inheritance diagram for OdGiDrawableImpl< T >:
OdGiDrawable OdRxObject

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
 
virtual bool isPersistent () const =0
 
virtual OdDbStub * id () const =0
 
virtual void setGsNode (OdGsCache *pGsNode)=0
 
virtual OdGsCachegsNode () const =0
 
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 ,
  kDrawableNotAllowLCS = 32768 , kDrawableMergeControlOff = 65536 , kLastFlag = kDrawableMergeControlOff
}
 
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 void subViewportDraw (OdGiViewportDraw *vd) 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

Retrieves the OdGsCache associated with this object.

Returns
Pointer to the OdGsCache that represents cache 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

Retrieves the database ID of this object.

Returns
pointer to OdDbStub which represents a database identifier 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

Checks whether this object is persistent (stored in a database).

Returns
true this object is persistent (stored in a database), false otherwise.

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: