|
CFx SDK Documentation 2024 SP0
|
#include <GsProperties.h>
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 = 31 , kAll = 31 } |
Protected Attributes | |
| void * | m_pUnderlyingDrawable |
| const OdGiDrawable * | m_pInconsistentDrawable |
| OdGiContext * | m_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 OdRxClass * | desc () |
Corresponding C++ library: TD_Gs <group OdGs_Classes>
Definition at line 112 of file GsProperties.h.
Represents property types.
Definition at line 118 of file GsProperties.h.
| OdGsProperties::OdGsProperties | ( | ) |
Default constructor for the OdGsProperties class. Sets the following data member:
member Value Description m_pUnderlyingDrawable NULL Underlying drawable m_pInconsistentDrawable NULL Inconsistent (transient) drawable m_context NULL Gi context m_bDrawablePersistent false Flag that shows whether persistent (database-resident) drawable is used m_dType (OdGiDrawable::DrawableType)0xFFFFFFFF Drawable type
|
pure virtual |
| bool OdGsProperties::hasUnderlyingDrawable | ( | ) | const |
Checks whether this object has an associated underlying drawable.
| bool OdGsProperties::isUnderlyingDrawableChanged | ( | const OdGiDrawable * | pUnderlyingDrawable | ) | const |
Checks whether associated underlying drawable has changed.
| bool OdGsProperties::isUnderlyingDrawablePersistent | ( | ) | const |
Checks whether an associated underlying drawable is persistent (database-resident).
| OdGsProperties::ODRX_DECLARE_MEMBERS | ( | OdGsProperties | ) |
|
virtual |
Searches in a hierarchy corresponding properties by the specified properties type. and returns a smart pointer to the searched properties.
Reimplemented in OdGsBackgroundProperties, OdGsRenderEnvironmentProperties, OdGsRenderSettingsProperties, OdGsViewportProperties, and OdGsVisualStyleProperties.
|
pure virtual |
Retrieves a type of properties.
Implemented in OdGsBackgroundProperties, OdGsRenderEnvironmentProperties, OdGsRenderSettingsProperties, OdGsViewportProperties, and OdGsVisualStyleProperties.
| void OdGsProperties::setOpenDrawableFn | ( | OdGiDrawablePtr(*)(OdDbStub *) | fn | ) |
| void OdGsProperties::setUnderlyingDrawable | ( | const OdGiDrawable * | pUnderlyingDrawable, |
| OdGiContext * | ctx | ||
| ) |
Sets underlying drawable.
| pUnderlyingDrawable | [in] Pointer to the underlying drawable. |
| ctx | [in] Pointer to the GI context. |
| OdGiDrawablePtr OdGsProperties::underlyingDrawable | ( | ) | const |
Retrieves a smart pointer to n underlying drawable.
| OdDbStub * OdGsProperties::underlyingDrawableId | ( | ) | const |
Retrieves a pointer to a persistent object ID of an underlying drawable.
| OdGiDrawable::DrawableType OdGsProperties::underlyingDrawableType | ( | ) | const |
Retrieves a type of an underlying drawable.
|
pure virtual |
|
protected |
Definition at line 156 of file GsProperties.h.
|
protected |
Definition at line 153 of file GsProperties.h.
|
protected |
Definition at line 158 of file GsProperties.h.
|
protected |
Definition at line 152 of file GsProperties.h.
|
protected |
Definition at line 155 of file GsProperties.h.
|
protected |
Definition at line 151 of file GsProperties.h.