CFx SDK Documentation  2022 SP0
Public Types | Public Member Functions | Protected Attributes | List of all members
OdGsProperties Class Referenceabstract

#include <GsProperties.h>

Inheritance diagram for OdGsProperties:
OdRxObject OdGsBackgroundProperties OdGsRenderEnvironmentProperties OdGsRenderSettingsProperties OdGsViewportProperties OdGsVisualStyleProperties

Public Types

enum  PropertiesType {
  kViewport = 1 , kBackground = (1 << 1) , kVisualStyle = (1 << 2) , kRenderEnvironment = (1 << 3) ,
  kRenderSettings = (1 << 4) , kDeviceSimple = 0 , kDeviceBackground = 3 , kDeviceNormal = 7 ,
  kDeviceRender = 0xFF , kAll = 0xFF
}
 

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdGsProperties)
 
 OdGsProperties ()
 
void setOpenDrawableFn (OdGiDrawablePtr(*fn)(OdDbStub *))
 
void setUnderlyingDrawable (const OdGiDrawable *pUnderlyingDrawable, OdGiContext *ctx)
 
OdGiDrawablePtr underlyingDrawable () const
 
bool isUnderlyingDrawableChanged (const OdGiDrawable *pUnderlyingDrawable) const
 
bool hasUnderlyingDrawable () const
 
bool isUnderlyingDrawablePersistent () const
 
OdDbStub * underlyingDrawableId () const
 
OdGiDrawable::DrawableType underlyingDrawableType () const
 
virtual PropertiesType propertiesType () const =0
 
virtual OdSmartPtr< OdGsPropertiespropertiesForType (PropertiesType) const
 
virtual void update (const OdGiDrawable *pUnderlyingDrawable, OdGsViewImpl *view, OdUInt32 incFlags=kAll)=0
 
virtual void display (OdGsBaseVectorizer &view, OdGsPropertiesDirectRenderOutput *pdro=NULL, OdUInt32 incFlags=kAll)=0
 
- 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
 

Protected Attributes

voidm_pUnderlyingDrawable
 
const OdGiDrawablem_pInconsistentDrawable
 
OdGiContextm_context
 
OdGiDrawablePtr(* m_pOpenDrawableFn )(OdDbStub *id)
 
bool m_bDrawablePersistent
 
OdGiDrawable::DrawableType m_dType
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

Corresponding C++ library: TD_Gs <group OdGs_Classes>

Definition at line 110 of file GsProperties.h.

Member Enumeration Documentation

◆ PropertiesType

Enumerator
kViewport 
kBackground 
kVisualStyle 
kRenderEnvironment 
kRenderSettings 
kDeviceSimple 
kDeviceBackground 
kDeviceNormal 
kDeviceRender 
kAll 

Definition at line 113 of file GsProperties.h.

Constructor & Destructor Documentation

◆ OdGsProperties()

OdGsProperties::OdGsProperties ( )

Member Function Documentation

◆ display()

virtual void OdGsProperties::display ( OdGsBaseVectorizer view,
OdGsPropertiesDirectRenderOutput pdro = NULL,
OdUInt32  incFlags = kAll 
)
pure virtual

◆ hasUnderlyingDrawable()

bool OdGsProperties::hasUnderlyingDrawable ( ) const

◆ isUnderlyingDrawableChanged()

bool OdGsProperties::isUnderlyingDrawableChanged ( const OdGiDrawable pUnderlyingDrawable) const

◆ isUnderlyingDrawablePersistent()

bool OdGsProperties::isUnderlyingDrawablePersistent ( ) const

◆ ODRX_DECLARE_MEMBERS()

OdGsProperties::ODRX_DECLARE_MEMBERS ( OdGsProperties  )

◆ propertiesForType()

virtual OdSmartPtr<OdGsProperties> OdGsProperties::propertiesForType ( PropertiesType  ) const
virtual

◆ propertiesType()

virtual PropertiesType OdGsProperties::propertiesType ( ) const
pure virtual

◆ setOpenDrawableFn()

void OdGsProperties::setOpenDrawableFn ( OdGiDrawablePtr(*)(OdDbStub *)  fn)

◆ setUnderlyingDrawable()

void OdGsProperties::setUnderlyingDrawable ( const OdGiDrawable pUnderlyingDrawable,
OdGiContext ctx 
)

◆ underlyingDrawable()

OdGiDrawablePtr OdGsProperties::underlyingDrawable ( ) const

◆ underlyingDrawableId()

OdDbStub* OdGsProperties::underlyingDrawableId ( ) const

◆ underlyingDrawableType()

OdGiDrawable::DrawableType OdGsProperties::underlyingDrawableType ( ) const

◆ update()

virtual void OdGsProperties::update ( const OdGiDrawable pUnderlyingDrawable,
OdGsViewImpl view,
OdUInt32  incFlags = kAll 
)
pure virtual

Member Data Documentation

◆ m_bDrawablePersistent

bool OdGsProperties::m_bDrawablePersistent
protected

Definition at line 137 of file GsProperties.h.

◆ m_context

OdGiContext* OdGsProperties::m_context
protected

Definition at line 134 of file GsProperties.h.

◆ m_dType

OdGiDrawable::DrawableType OdGsProperties::m_dType
protected

Definition at line 139 of file GsProperties.h.

◆ m_pInconsistentDrawable

const OdGiDrawable* OdGsProperties::m_pInconsistentDrawable
protected

Definition at line 133 of file GsProperties.h.

◆ m_pOpenDrawableFn

OdGiDrawablePtr(* OdGsProperties::m_pOpenDrawableFn) (OdDbStub *id)
protected

Definition at line 136 of file GsProperties.h.

◆ m_pUnderlyingDrawable

void* OdGsProperties::m_pUnderlyingDrawable
protected

Definition at line 132 of file GsProperties.h.


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