Changeset 71 for trunk/VUT/GtpVisibility/src
- Timestamp:
- 04/29/05 18:32:50 (19 years ago)
- Location:
- trunk/VUT/GtpVisibility/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibility/src/PreprocessingManager.cpp
r65 r71 3 3 namespace GtpVisibility { 4 4 5 6 bool 7 PreprocessingManager::GetPVS( 8 const Vector3 ¢er, 9 const float radius, 10 InfoContainer<NodeInfo> *visibleNodes, 11 InfoContainer<MeshInfo> *visibleMeshes ) 12 { 5 PreprocessingManager::PreprocessingManager(HierarchyInterface *hierarchyInterface) 6 { 7 } 8 9 PreprocessingManager::~PreprocessingManager() 10 { 11 } 12 13 bool PreprocessingManager::GetPVS(const Vector3 ¢er, 14 const float radius, 15 InfoContainer<NodeInfo> *visibleNodes, 16 InfoContainer<MeshInfo> *visibleMeshes) 17 { 13 18 vector<int> viewCellIds; 14 if (LocateViewCellIds(center, radius, &viewCellIds)) { 15 for (vector<int>::iterator ci = viewCellIds.begin(); 16 ci != viewCellIds.end(); 17 ci++) { 18 AddViewCellPVS(*ci, 19 visibleNodes, 20 visibleMeshes ); 21 // remove duplicates of the PVS entries if any? 22 } 23 return true; 19 if (LocateViewCellIds(center, radius, &viewCellIds)) 20 { 21 for (vector<int>::iterator ci = viewCellIds.begin(); ci != viewCellIds.end(); ci++) 22 { 23 AddViewCellPVS(*ci, visibleNodes, visibleMeshes ); 24 // remove duplicates of the PVS entries if any? 25 } 26 return true; 24 27 } 25 28 return false; -
trunk/VUT/GtpVisibility/src/QueryManager.cpp
r65 r71 3 3 4 4 namespace GtpVisibility { 5 6 QueryManager::QueryManager(HierarchyInterface *hierarchyInterface) 7 { 8 } 9 10 bool QueryManager::ShootRay(const Ray &ray, std::vector<Mesh *> *visibleMeshes, bool isGlobalLine) 11 { 12 // run OGRE ray shooting query 13 return false; 14 } 5 15 6 bool 7 QueryManager::ShootRay(const Ray &ray, 8 std::vector<Mesh *> *visibleMeshes, 9 bool isGlobalLine 10 ) 11 { 12 // run OGRE ray shooting query 13 14 15 return false; 16 } 17 18 19 }; 16 } // namespace GtpVisibility
Note: See TracChangeset
for help on using the changeset viewer.