Ignore:
Timestamp:
09/11/06 00:29:47 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/SceneGraph.h

    r1166 r1328  
    2828public: 
    2929 
     30        SceneGraph(); 
    3031        ~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; 
    3140 
    32   SceneGraphNode *mRoot; 
    33   bool Export(const string filename); 
     41        AxisAlignedBox3 GetBox() const { return mRoot->mBox; } 
    3442   
    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); 
    4346 
    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); 
    4950 
    50   /** Loads binary version of the scene. 
    51   */ 
    52   void LoadScene(const string filename); 
     51        SceneGraphNode *GetRoot(); 
     52 
     53        void SetRoot(SceneGraphNode *sgNnode); 
    5354 
    5455protected: 
     56 
     57         SceneGraphNode *mRoot; 
    5558}; 
    5659 
Note: See TracChangeset for help on using the changeset viewer.