CFx SDK Documentation
2023 SP0
|
#include <AveScene.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdAveScene) | |
OdResult | writeScene (OdDbDatabase *pDb=0) |
OdString | name () const |
void | setName (const OdString &name) |
OdDbObjectId | view () const |
void | setView (const OdDbObjectId &viewId) |
void | lights (OdDbObjectIdArray &blockRefIds) const |
void | setLights (const OdDbObjectIdArray &blockRefIds) |
void | addLight (const OdDbObjectId &blockRefId) |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () 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 |
Static Public Member Functions | |
static OdAveScenePtr | getScene (const OdDbObjectId &blockRefId) |
static void | getSceneName (const OdDbObjectId &blockRefId, OdString &name) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Member Functions | |
OdAveScene () | |
OdAveScene (OdAveSceneImpl *pImpl) | |
Protected Attributes | |
OdAveSceneImpl * | m_pImpl |
This class represents AVE Scene properties.
Corresponding C++ library: TD_Ave <group OdAve_Classes>
Definition at line 52 of file AveScene.h.
|
protected |
|
protected |
void OdAveScene::addLight | ( | const OdDbObjectId & | blockRefId | ) |
Adds the specified light to the array of lights associated with this Scene object.
blockRefId | [in] Object ID of the block reference associated with the light. |
|
static |
Creates a Scene object from the specified OdDbBlockReference.
blockRefId | [in] Object ID of the block reference. |
Returns a SmartPointer to the new Scene object.
|
static |
Returns the Scene name from the specified OdDbBlockReference.
blockRefId | [in] Object ID of the block reference. |
name | [out] Receives the Scene name. |
void OdAveScene::lights | ( | OdDbObjectIdArray & | blockRefIds | ) | const |
Returns the array of lights associated with this Scene object.
blockRefIds | [out] Receives the array of object IDs of the block references associated with the lights. |
OdString OdAveScene::name | ( | ) | const |
Returns the name of this Scene object.
OdAveScene::ODRX_DECLARE_MEMBERS | ( | OdAveScene | ) |
void OdAveScene::setLights | ( | const OdDbObjectIdArray & | blockRefIds | ) |
Sets the array of lights associated with this Scene object.
blockRefIds | [in] Array of the object IDs of the block references associated with the lights. |
Sets the name of this Scene object.
name | [in] Name. |
void OdAveScene::setView | ( | const OdDbObjectId & | viewId | ) |
Sets the OdDbViewTableRecord associated with this Scene object.
viewId | [in] Object ID of the View Table Record. |
OdDbObjectId OdAveScene::view | ( | ) | const |
Returns the OdDbViewTableRecord associated with this Scene object.
OdResult OdAveScene::writeScene | ( | OdDbDatabase * | pDb = 0 | ) |
Saves the Scene properties to the OdDbBlockReference to which this Scene object is attached.
pDb | [in] Pointer to the database. |
|
protected |
Definition at line 128 of file AveScene.h.