Changeset 1328 for GTP/trunk/Lib/Vis/Preprocessing/src/SceneGraph.h
- Timestamp:
- 09/11/06 00:29:47 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/SceneGraph.h
r1166 r1328 28 28 public: 29 29 30 SceneGraph(); 30 31 ~SceneGraph(); 32 33 bool Export(const string filename); 34 35 int CollectObjects(ObjectContainer *instances); 36 37 int AssignObjectIds(); 38 39 void GetStatistics(int &intersectables, int &faces) const; 31 40 32 SceneGraphNode *mRoot; 33 bool Export(const string filename); 41 AxisAlignedBox3 GetBox() const { return mRoot->mBox; } 34 42 35 int 36 CollectObjects(ObjectContainer *instances); 37 38 int 39 AssignObjectIds(); 40 41 void 42 GetStatistics(int &intersectables, int &faces) const; 43 /** Exports binary version of the scene. 44 */ 45 void ExportScene(const string filename); 43 46 44 AxisAlignedBox3 GetBox() const { return mRoot->mBox; } 45 46 /** Exports binary version of the scene. 47 */ 48 void ExportScene(const string filename); 47 /** Loads binary version of the scene. 48 */ 49 void LoadScene(const string filename); 49 50 50 /** Loads binary version of the scene. 51 */ 52 void LoadScene(const string filename);51 SceneGraphNode *GetRoot(); 52 53 void SetRoot(SceneGraphNode *sgNnode); 53 54 54 55 protected: 56 57 SceneGraphNode *mRoot; 55 58 }; 56 59
Note: See TracChangeset
for help on using the changeset viewer.