source: trunk/VUT/GtpVisibility/src/DummyPreprocessingManager.cpp @ 74

Revision 74, 1.1 KB checked in by mattausch, 19 years ago (diff)

added support for release mode

Line 
1#include "DummyPreprocessingManager.h"
2
3namespace GtpVisibility {
4
5DummyPreprocessingManager::DummyPreprocessingManager(HierarchyInterface *hierarchyInterface)
6  :PreprocessingManager(hierarchyInterface)
7{
8}
9 
10
11bool DummyPreprocessingManager::ExportScene(const string filename)
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
20bool DummyPreprocessingManager::LoadPreprocessedData(const string filename)
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    */
31bool DummyPreprocessingManager::LocateViewCellIds(const Vector3 &center,
32                                                                                                  const float radius,
33                                                                                                  vector<int> *viewCellIds)
34{
35  return false;
36}
37 
38/**
39    Uses the specified viewcell to find its PVS
40*/
41int DummyPreprocessingManager::AddViewCellPVS(const int cellID,
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.