Ignore:
Timestamp:
10/07/06 23:13:47 (18 years ago)
Author:
bittner
Message:

ViewcellsManager? issue solved

File:
1 edited

Legend:

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

    r1581 r1582  
    430430        bool GetExportPvs() const; 
    431431 
    432  
    433   Preprocessor *GetPreprocessor() { 
    434         return mPreprocessor; 
    435   } 
    436    
    437   void SetPreprocessor(Preprocessor *p) { 
    438         mPreprocessor = p; 
    439   } 
     432        ///////////////////////////// 
     433        // static members 
     434         
     435        /** Loads view cells from file. The view cells manager is created with  
     436                respect to the loaded view cells. 
     437 
     438                @param filename the filename of the view cells 
     439                @param objects the scene objects 
     440                @param finalizeViewCells if the view cells should be post processed, i.e. 
     441                        a mesh is created representing the geometry 
     442                @param bconverter a conversion routine working with the similarities of bounding 
     443                boxes: if there is a certain similarity of overlap between bounding boxes, two tested 
     444                candidate objects are considered to be the same objects 
     445                @returns the view cells manager if loading was successful, false otherwise 
     446        */ 
     447        static ViewCellsManager *LoadViewCells(const string &filename,  
     448                                                                                   ObjectContainer *objects,  
     449                                                                                   const bool finalizeViewCells, 
     450                                                                                   BoundingBoxConverter *bconverter = NULL); 
    440451 
    441452 
     
    523534         
    524535        void ViewCellsManager::ResetPvs(); 
    525  
     536   
     537  Preprocessor *GetPreprocessor() const { 
     538        return mPreprocessor; 
     539  } 
     540 
     541  void SetPreprocessor(Preprocessor *p) { 
     542        mPreprocessor = p; 
     543  } 
    526544 
    527545protected: 
     
    623641        void UpdatePvsForEvaluation(ViewCell *root, ObjectPvs &pvs); 
    624642 
    625          
     643 
     644   
    626645        //////////////////////////////////////////////// 
    627646 
     
    720739 
    721740        ~BspViewCellsManager(); 
    722    
     741 
    723742        int ConstructSubdivision(const ObjectContainer &objects,  
    724743                                  const VssRayContainer &rays); 
Note: See TracChangeset for help on using the changeset viewer.