CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OdGsRenderSettingsProperties Class Reference

#include <GsRenderSettingsProperties.h>

Inheritance diagram for OdGsRenderSettingsProperties:
OdGsProperties OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdGsRenderSettingsProperties)
 
 OdGsRenderSettingsProperties ()
 
 ~OdGsRenderSettingsProperties ()
 
OdGiRenderSettingsTraitsDatarenderSettingsTraitsData () const
 
bool hasMentalRayRenderSettings () const
 
OdGiMentalRayRenderSettingsTraitsDatamentalRayRenderSettingsTraitsData () const
 
bool hasRapidRTRenderSettings () const
 
OdGiRapidRTRenderSettingsTraitsDatarapidRTRenderSettingsTraitsData () const
 
bool isTraitsModified ()
 
void clearTraits ()
 
virtual PropertiesType propertiesType () const
 
virtual OdSmartPtr< OdGsPropertiespropertiesForType (PropertiesType type) const
 
virtual void update (const OdGiDrawable *pUnderlyingDrawable, OdGsViewImpl *view, OdUInt32 incFlags=kAll)
 
virtual void display (OdGsBaseVectorizer &view, OdGsPropertiesDirectRenderOutput *pdro=NULL, OdUInt32 incFlags=kAll)
 
- Public Member Functions inherited from OdGsProperties
 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
 

Additional Inherited Members

- Public Types inherited from OdGsProperties
enum  PropertiesType {
  kViewport = 1 , kBackground = (1 << 1) , kVisualStyle = (1 << 2) , kRenderEnvironment = (1 << 3) ,
  kRenderSettings = (1 << 4) , kDeviceSimple = 0 , kDeviceBackground = 3 , kDeviceNormal = 7 ,
  kDeviceRender = 31 , kAll = 31
}
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Attributes inherited from OdGsProperties
voidm_pUnderlyingDrawable
 
const OdGiDrawablem_pInconsistentDrawable
 
OdGiContextm_context
 
OdGiDrawablePtr(* m_pOpenDrawableFn )(OdDbStub *id)
 
bool m_bDrawablePersistent
 
OdGiDrawable::DrawableType m_dType
 

Detailed Description

<group OdGs_Classes>

Definition at line 108 of file GsRenderSettingsProperties.h.

Constructor & Destructor Documentation

◆ OdGsRenderSettingsProperties()

OdGsRenderSettingsProperties::OdGsRenderSettingsProperties ( )

Default constructor for the OdGsRenderSettingsProperties class. Creates object with OdGiCombinedRenderSettingsTraitsData object pointer that points to NULL.

◆ ~OdGsRenderSettingsProperties()

OdGsRenderSettingsProperties::~OdGsRenderSettingsProperties ( )

Destructor for the OdGsRenderSettingsProperties class. Clears underlying OdGiCombinedRenderSettingsTraitsData object and destroys this object.

Member Function Documentation

◆ clearTraits()

void OdGsRenderSettingsProperties::clearTraits ( )

Clears render settings traits of the underlying OdGiCombinedRenderSettingsTraitsData object.

◆ display()

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

Implements OdGsProperties.

◆ hasMentalRayRenderSettings()

bool OdGsRenderSettingsProperties::hasMentalRayRenderSettings ( ) const
inline

Checks whether this object has Mental Ray render settings.

Returns
true if this object has Mental Ray render settings, false otherwise.

Definition at line 136 of file GsRenderSettingsProperties.h.

◆ hasRapidRTRenderSettings()

bool OdGsRenderSettingsProperties::hasRapidRTRenderSettings ( ) const
inline

Checks whether this object has Rapid RT render settings.

Returns
true if this object has Rapid RT render settings, false otherwise.

Definition at line 148 of file GsRenderSettingsProperties.h.

◆ isTraitsModified()

bool OdGsRenderSettingsProperties::isTraitsModified ( )

Checks whether render settings traits are modified.

Returns
true if render settings traits are modified, false otherwise.

◆ mentalRayRenderSettingsTraitsData()

OdGiMentalRayRenderSettingsTraitsData * OdGsRenderSettingsProperties::mentalRayRenderSettingsTraitsData ( ) const
inline

Returns pointer to the Mental Ray render settings.

Definition at line 141 of file GsRenderSettingsProperties.h.

◆ ODRX_DECLARE_MEMBERS()

OdGsRenderSettingsProperties::ODRX_DECLARE_MEMBERS ( OdGsRenderSettingsProperties  )

◆ propertiesForType()

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

Retrieves smart pointer to the properties by the specified type.

Parameters
type[in] Property type.
Returns
smart pointer to this object is the passed type is kRenderSettings, otherwise returns smart pointer to generic OdGsProperties object.

Reimplemented from OdGsProperties.

◆ propertiesType()

virtual PropertiesType OdGsRenderSettingsProperties::propertiesType ( ) const
inlinevirtual

Retrieves the property type.

Implements OdGsProperties.

Definition at line 172 of file GsRenderSettingsProperties.h.

◆ rapidRTRenderSettingsTraitsData()

OdGiRapidRTRenderSettingsTraitsData * OdGsRenderSettingsProperties::rapidRTRenderSettingsTraitsData ( ) const
inline

Returns pointer to the Rapid RT render settings.

Definition at line 153 of file GsRenderSettingsProperties.h.

◆ renderSettingsTraitsData()

OdGiRenderSettingsTraitsData * OdGsRenderSettingsProperties::renderSettingsTraitsData ( ) const
inline

Returns pointer to the OdGiCombinedRenderSettingsTraitsData object that represents render settings traits.

Definition at line 129 of file GsRenderSettingsProperties.h.

◆ update()

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

Implements OdGsProperties.


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