CFx SDK Documentation  2020SP3
AveScene.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 
25 
26 #ifndef OD_AVESCENE_H
27 #define OD_AVESCENE_H
28 
29 #include "TD_PackPush.h"
30 
31 #include "Ve/AveDefs.h"
32 #include "RxObject.h"
33 #include "DbObjectId.h"
34 #include "DbEntity.h"
35 
36 class OdAveSceneImpl;
37 class OdAveScene;
42 
53 {
54 public:
56 
67  static OdAveScenePtr getScene(const OdDbObjectId& blockRefId);
74  static void getSceneName(const OdDbObjectId& blockRefId, OdString& name);
75 
85 
89  OdString name() const;
96  void setName(const OdString& name);
97 
106  void setView(const OdDbObjectId& viewId);
107 
112  void lights(OdDbObjectIdArray& blockRefIds) const;
117  void setLights(const OdDbObjectIdArray& blockRefIds);
122  void addLight(const OdDbObjectId& blockRefId);
123 
124 protected:
126  OdAveScene(OdAveSceneImpl* pImpl);
127 
128  OdAveSceneImpl* m_pImpl;
129 };
130 
138 
139 #include "TD_PackPop.h"
140 
141 #endif // OD_AVESCENE_H
OdAveScene::lights
void lights(OdDbObjectIdArray &blockRefIds) const
OdResult
OdResult
Definition: OdResult.h:29
OdString
Definition: OdString.h:95
OdDbDatabase
Definition: DbDatabase.h:421
OdAveScene::OdAveScene
OdAveScene(OdAveSceneImpl *pImpl)
name
GLuint const GLchar * name
Definition: gles2_ext.h:265
oddbGetScenes
AVE_EXPORT OdRxIteratorPtr oddbGetScenes(OdDbDatabase *pDb)
OdAveScene::view
OdDbObjectId view() const
OdRxObject
Definition: RxObject.h:564
OdDbObjectId
Definition: DbObjectId.h:99
OdArray< OdDbObjectId, OdMemoryAllocator< OdDbObjectId > >
OdAveScene::OdAveScene
OdAveScene()
TD_PackPop.h
OdAveScene::setName
void setName(const OdString &name)
OdAveScene::setView
void setView(const OdDbObjectId &viewId)
RxObject.h
OdAveScene::getSceneName
static void getSceneName(const OdDbObjectId &blockRefId, OdString &name)
OdAveScene::addLight
void addLight(const OdDbObjectId &blockRefId)
OdAveScene::writeScene
OdResult writeScene(OdDbDatabase *pDb=0)
OdAveScene::setLights
void setLights(const OdDbObjectIdArray &blockRefIds)
OdSmartPtr
Definition: SmartPtr.h:58
DbEntity.h
AveDefs.h
OdAveScene::m_pImpl
OdAveSceneImpl * m_pImpl
Definition: AveScene.h:128
DbObjectId.h
OdAveScene::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdAveScene)
TD_PackPush.h
OdAveScene::name
OdString name() const
OdAveScene
Definition: AveScene.h:53
OdAveScenePtr
OdSmartPtr< OdAveScene > OdAveScenePtr
Definition: AveScene.h:37
OdAveScene::getScene
static OdAveScenePtr getScene(const OdDbObjectId &blockRefId)
AVE_EXPORT
#define AVE_EXPORT
Definition: AveExport.h:37