CFx SDK Documentation  2022 SP0
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
#define AVE_EXPORT
Definition: AveExport.h:37
OdSmartPtr< OdAveScene > OdAveScenePtr
Definition: AveScene.h:37
AVE_EXPORT OdRxIteratorPtr oddbGetScenes(OdDbDatabase *pDb)
OdResult
Definition: OdResult.h:29
OdResult writeScene(OdDbDatabase *pDb=0)
void setView(const OdDbObjectId &viewId)
static void getSceneName(const OdDbObjectId &blockRefId, OdString &name)
OdDbObjectId view() const
void setName(const OdString &name)
void lights(OdDbObjectIdArray &blockRefIds) const
void addLight(const OdDbObjectId &blockRefId)
OdString name() const
OdAveScene(OdAveSceneImpl *pImpl)
static OdAveScenePtr getScene(const OdDbObjectId &blockRefId)
void setLights(const OdDbObjectIdArray &blockRefIds)
ODRX_DECLARE_MEMBERS(OdAveScene)
OdAveSceneImpl * m_pImpl
Definition: AveScene.h:128
GLuint const GLchar * name
Definition: gles2_ext.h:265