source: obsolete/tags/DummyModules/VUT/GtpVisibility/src/DummyPreprocessingManager.cpp @ 65

Revision 65, 1.2 KB checked in by bittner, 19 years ago (diff)

Merged headers and sources for dummy modules. Added GtpVisibilityPreprocessor?

Line 
1#include "DummyPreprocessingManager.h"
2
3namespace GtpVisibility {
4
5DummyPreprocessingManager::DummyPreprocessingManager( HierarchyInterface *hierarchyInterface )
6  :PreprocessingManager(hierarchyInterface)
7{
8}
9 
10
11bool
12DummyPreprocessingManager::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
21bool
22DummyPreprocessingManager::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    */
33bool
34DummyPreprocessingManager::LocateViewCellIds(const Vector3 &center,
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*/
45int
46DummyPreprocessingManager::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.