Ignore:
Timestamp:
05/08/07 13:04:43 (18 years ago)
Author:
mattausch
Message:

cleaned up project files

Location:
GTP/trunk/Lib/Vis/OnlineCullingCHC/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/include/DummyPreprocessingManager.h

    r2280 r2353  
    77 
    88namespace GtpVisibility { 
    9    
    10   /** 
    11      Implements a dummy interface to the external visibility preprocessing. 
    12   */ 
     9 
     10/** 
     11        Implements a dummy interface to the external visibility preprocessing. 
     12*/ 
    1313class DummyPreprocessingManager : public PreprocessingManager 
    1414{ 
    1515public: 
    1616 
     17        /** Constructor taking a scene traverser for a specific type of 
     18        hierarchyInterface as argument.  
     19        */ 
     20        DummyPreprocessingManager(HierarchyInterface *hierarchyInterface); 
    1721 
    18   /** Constructor taking a scene traverser for a specific type of 
    19       hierarchyInterface as argument.  
    20   */ 
    21   DummyPreprocessingManager(HierarchyInterface *hierarchyInterface); 
    22    
    23    
    24   /**  
    25       Export the scene for visibility preprocessing. Exports the hierarchyInterface including 
    26       its bounding boxes + mesh data for occluders. The viewcell data will either be 
    27       supplied directly to the visibility preprocessing standalone module 
    28   */ 
    29   virtual bool ExportScene(const string filename); 
    30    
    31    
    32   /**  
    33       Load preprocessed visibility information 
    34   */ 
    35   virtual bool LoadPreprocessedData(const string filename); 
    36    
    37    
     22        /**  
     23        Export the scene for visibility preprocessing. Exports the hierarchyInterface including 
     24        its bounding boxes + mesh data for occluders. The viewcell data will either be 
     25        supplied directly to the visibility preprocessing standalone module 
     26        */ 
     27        virtual bool ExportScene(const std::string &filename); 
     28 
     29        /**  
     30        Load preprocessed visibility information 
     31        */ 
     32        virtual bool LoadPreprocessedData(const std::string &filename); 
     33 
     34 
    3835protected: 
    3936 
    40   /**  
    41       Find viewcells intersecting a spherical neighborhood of a point. 
    42       Returns false if no viewcell was found. 
    43     */ 
    44   /*virtual bool LocateViewCellIds(const Vector3 &center, 
    45                                                                  const float radius, 
    46                                                                  vector<int> *viewCellIds 
    47                                                                 ); 
    48 */ 
     37        /**  
     38        Find viewcells intersecting a spherical neighborhood of a point. 
     39        Returns false if no viewcell was found. 
     40        */ 
     41        /*virtual bool LocateViewCellIds(const Vector3 &center, 
     42        const float radius, 
     43        vector<int> *viewCellIds 
     44        ); 
     45        */ 
    4946 
    50   /** 
    51      Add a PVS of the given viewcell to the already evaluated PVS by computing 
    52      a union with visibleNodes and visibleMeshes. Returns the number of added entries. 
    53   */ 
    54   //virtual int AddViewCellPVS(const int cellID, 
    55 //                                               NodeInfoContainer *visibleNodes, 
    56 //                                               MeshInfoContainer *visibleMeshes); 
     47        /** 
     48        Add a PVS of the given viewcell to the already evaluated PVS by computing 
     49        a union with visibleNodes and visibleMeshes. Returns the number of added entries. 
     50        */ 
     51        //virtual int AddViewCellPVS(const int cellID, 
     52        //                                               NodeInfoContainer *visibleNodes, 
     53        //                                               MeshInfoContainer *visibleMeshes); 
    5754 
    5855}; 
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/include/PreprocessingManager.h

    r2280 r2353  
    33 
    44#include <string> 
    5 using namespace std; 
    65 
    76#include "HierarchyInterface.h" 
    87#include "VisibilityInfo.h" 
    9 //#include "VisibilityVector3.h" 
     8 
    109 
    1110namespace GtpVisibility { 
     
    4847        @return true if the export was succesful. 
    4948    */ 
    50     virtual bool ExportScene(const string filename) = 0; 
     49        virtual bool ExportScene(const std::string &filename) = 0; 
    5150     
    5251        /** Load preprocessed visibility information. The loaded data is matched with the current 
     
    6059        @return true if the loading was succesful. 
    6160    */ 
    62     virtual bool LoadPreprocessedData(const string filename) = 0; 
     61        virtual bool LoadPreprocessedData(const std::string &filename) = 0; 
    6362     
    6463    /**  
Note: See TracChangeset for help on using the changeset viewer.