Changeset 2353 for GTP/trunk/Lib/Vis/OnlineCullingCHC/include
- Timestamp:
- 05/08/07 13:04:43 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/OnlineCullingCHC/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/include/DummyPreprocessingManager.h
r2280 r2353 7 7 8 8 namespace GtpVisibility { 9 10 11 12 9 10 /** 11 Implements a dummy interface to the external visibility preprocessing. 12 */ 13 13 class DummyPreprocessingManager : public PreprocessingManager 14 14 { 15 15 public: 16 16 17 /** Constructor taking a scene traverser for a specific type of 18 hierarchyInterface as argument. 19 */ 20 DummyPreprocessingManager(HierarchyInterface *hierarchyInterface); 17 21 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 38 35 protected: 39 36 40 41 42 43 44 45 46 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 ¢er, 42 const float radius, 43 vector<int> *viewCellIds 44 ); 45 */ 49 46 50 51 52 53 54 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); 57 54 58 55 }; -
GTP/trunk/Lib/Vis/OnlineCullingCHC/include/PreprocessingManager.h
r2280 r2353 3 3 4 4 #include <string> 5 using namespace std;6 5 7 6 #include "HierarchyInterface.h" 8 7 #include "VisibilityInfo.h" 9 //#include "VisibilityVector3.h" 8 10 9 11 10 namespace GtpVisibility { … … 48 47 @return true if the export was succesful. 49 48 */ 50 virtual bool ExportScene(const stringfilename) = 0;49 virtual bool ExportScene(const std::string &filename) = 0; 51 50 52 51 /** Load preprocessed visibility information. The loaded data is matched with the current … … 60 59 @return true if the loading was succesful. 61 60 */ 62 virtual bool LoadPreprocessedData(const stringfilename) = 0;61 virtual bool LoadPreprocessedData(const std::string &filename) = 0; 63 62 64 63 /**
Note: See TracChangeset
for help on using the changeset viewer.