source: GTP/trunk/Lib/Vis/OnlineCullingCHC/src/DummyPreprocessingManager.cpp @ 2280

Revision 2280, 1.0 KB checked in by mattausch, 17 years ago (diff)

removed dependency on ogre in gtpvisibility

RevLine 
[65]1#include "DummyPreprocessingManager.h"
[2280]2#include <iostream>
3#include <fstream>
[65]4
5namespace GtpVisibility {
6
[74]7DummyPreprocessingManager::DummyPreprocessingManager(HierarchyInterface *hierarchyInterface)
[65]8  :PreprocessingManager(hierarchyInterface)
9{
10}
11 
12
[74]13bool DummyPreprocessingManager::ExportScene(const string filename)
[65]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
[74]22bool DummyPreprocessingManager::LoadPreprocessedData(const string filename)
[65]23{
24  // do nothing
25  return false;
26}
27
28 
[2280]29 
30/*bool DummyPreprocessingManager::LocateViewCellIds(const Vector3 &center,
[74]31                                                                                                  const float radius,
32                                                                                                  vector<int> *viewCellIds)
[65]33{
34  return false;
[2280]35}*/
[65]36 
[2280]37/*int DummyPreprocessingManager::AddViewCellPVS(const int cellID,
[316]38                                          NodeInfoContainer *visibleNodes,
39                                          MeshInfoContainer *visibleMeshes )
[65]40{
41  // return the root of the hierarchyInterface regardless of the cellId
42  //  visibleNodes->push_back(traverser->GetRoot());
43  return false;
44}
[2280]45*/
[65]46}
Note: See TracBrowser for help on using the repository browser.