source:
GTP/trunk/Lib/Vis/OnlineCullingCHC/src/DummyPreprocessingManager.cpp
@
2353
Revision 2353, 568 bytes checked in by mattausch, 17 years ago (diff) |
---|
Rev | Line | |
---|---|---|
[65] | 1 | #include "DummyPreprocessingManager.h" |
[2353] | 2 | |
[2280] | 3 | #include <iostream> |
4 | #include <fstream> | |
[65] | 5 | |
[2353] | 6 | using namespace std; |
7 | ||
8 | ||
[65] | 9 | namespace GtpVisibility { |
10 | ||
[74] | 11 | DummyPreprocessingManager::DummyPreprocessingManager(HierarchyInterface *hierarchyInterface) |
[2353] | 12 | :PreprocessingManager(hierarchyInterface) |
[65] | 13 | { |
14 | } | |
15 | ||
[2353] | 16 | |
17 | bool DummyPreprocessingManager::ExportScene(const string &filename) | |
[65] | 18 | { |
[2353] | 19 | ofstream s(filename.c_str()); |
20 | s<<"#VRML 2.0 utf8"<<endl; | |
21 | s<<"#Dummy module output"<<endl; | |
22 | return true; | |
[65] | 23 | } |
24 | ||
[2353] | 25 | |
26 | bool DummyPreprocessingManager::LoadPreprocessedData(const string &filename) | |
[65] | 27 | { |
[2353] | 28 | // do nothing |
29 | return false; | |
[65] | 30 | } |
31 | ||
[2353] | 32 | |
[65] | 33 | } |
Note: See TracBrowser
for help on using the repository browser.