Revision 2280,
1.0 KB
checked in by mattausch, 18 years ago
(diff) |
removed dependency on ogre in gtpvisibility
|
Line | |
---|
1 | #include "DummyPreprocessingManager.h" |
---|
2 | #include <iostream> |
---|
3 | #include <fstream> |
---|
4 | |
---|
5 | namespace GtpVisibility { |
---|
6 | |
---|
7 | DummyPreprocessingManager::DummyPreprocessingManager(HierarchyInterface *hierarchyInterface) |
---|
8 | :PreprocessingManager(hierarchyInterface) |
---|
9 | { |
---|
10 | } |
---|
11 | |
---|
12 | |
---|
13 | bool DummyPreprocessingManager::ExportScene(const string filename) |
---|
14 | { |
---|
15 | ofstream s(filename.c_str()); |
---|
16 | s<<"#VRML 2.0 utf8"<<endl; |
---|
17 | s<<"#Dummy module output"<<endl; |
---|
18 | return true; |
---|
19 | } |
---|
20 | |
---|
21 | |
---|
22 | bool DummyPreprocessingManager::LoadPreprocessedData(const string filename) |
---|
23 | { |
---|
24 | // do nothing |
---|
25 | return false; |
---|
26 | } |
---|
27 | |
---|
28 | |
---|
29 | |
---|
30 | /*bool DummyPreprocessingManager::LocateViewCellIds(const Vector3 ¢er, |
---|
31 | const float radius, |
---|
32 | vector<int> *viewCellIds) |
---|
33 | { |
---|
34 | return false; |
---|
35 | }*/ |
---|
36 | |
---|
37 | /*int DummyPreprocessingManager::AddViewCellPVS(const int cellID, |
---|
38 | NodeInfoContainer *visibleNodes, |
---|
39 | MeshInfoContainer *visibleMeshes ) |
---|
40 | { |
---|
41 | // return the root of the hierarchyInterface regardless of the cellId |
---|
42 | // visibleNodes->push_back(traverser->GetRoot()); |
---|
43 | return false; |
---|
44 | } |
---|
45 | */ |
---|
46 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.