Revision 74,
1.1 KB
checked in by mattausch, 20 years ago
(diff) |
added support for release mode
|
Rev | Line | |
---|
[65] | 1 | #include "DummyPreprocessingManager.h" |
---|
| 2 | |
---|
| 3 | namespace GtpVisibility { |
---|
| 4 | |
---|
[74] | 5 | DummyPreprocessingManager::DummyPreprocessingManager(HierarchyInterface *hierarchyInterface) |
---|
[65] | 6 | :PreprocessingManager(hierarchyInterface) |
---|
| 7 | { |
---|
| 8 | } |
---|
| 9 | |
---|
| 10 | |
---|
[74] | 11 | bool DummyPreprocessingManager::ExportScene(const string filename) |
---|
[65] | 12 | { |
---|
| 13 | ofstream s(filename.c_str()); |
---|
| 14 | s<<"#VRML 2.0 utf8"<<endl; |
---|
| 15 | s<<"#Dummy module output"<<endl; |
---|
| 16 | return true; |
---|
| 17 | } |
---|
| 18 | |
---|
| 19 | |
---|
[74] | 20 | bool DummyPreprocessingManager::LoadPreprocessedData(const string filename) |
---|
[65] | 21 | { |
---|
| 22 | // do nothing |
---|
| 23 | return false; |
---|
| 24 | } |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | /** |
---|
| 28 | Find viewcells intersecting a spherical neighborhood of a point. |
---|
| 29 | Returns false if no viewcell was found. |
---|
| 30 | */ |
---|
[74] | 31 | bool DummyPreprocessingManager::LocateViewCellIds(const Vector3 ¢er, |
---|
| 32 | const float radius, |
---|
| 33 | vector<int> *viewCellIds) |
---|
[65] | 34 | { |
---|
| 35 | return false; |
---|
| 36 | } |
---|
| 37 | |
---|
| 38 | /** |
---|
| 39 | Uses the specified viewcell to find its PVS |
---|
| 40 | */ |
---|
[74] | 41 | int DummyPreprocessingManager::AddViewCellPVS(const int cellID, |
---|
[65] | 42 | InfoContainer<NodeInfo> *visibleNodes, |
---|
| 43 | InfoContainer<MeshInfo> *visibleMeshes ) |
---|
| 44 | { |
---|
| 45 | // return the root of the hierarchyInterface regardless of the cellId |
---|
| 46 | // visibleNodes->push_back(traverser->GetRoot()); |
---|
| 47 | return false; |
---|
| 48 | } |
---|
| 49 | |
---|
| 50 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.