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