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

Revision 2280, 1.6 KB checked in by mattausch, 18 years ago (diff)

removed dependency on ogre in gtpvisibility

Line 
1#include "VisibilityEnvironment.h"
2//#include "common.h"
3//#include "Environment.h"
4
5
6namespace GtpVisibility {
7
8//-----------------------------------------------------------------------
9VisibilityEnvironment::VisibilityEnvironment()
10{
11        // HACK: loading debug stream should not happen here
12        //GtpVisibilityPreprocessor::Debug.open("debug.log");
13}
14//-----------------------------------------------------------------------
15VisibilityEnvironment::~VisibilityEnvironment()
16{
17//      GtpVisibilityPreprocessor::Environment::DelSingleton();
18}
19//-----------------------------------------------------------------------
20bool VisibilityEnvironment::LoadEnvironment(std::string filename)
21{               
22        //-- parse environment
23        //return GtpVisibilityPreprocessor::Environment::GetSingleton()->ReadEnvFile(filename.c_str());
24        return false;
25}
26//-----------------------------------------------------------------------
27std::string VisibilityEnvironment::getSceneFileName()
28{
29        char str[200];
30        //GtpVisibilityPreprocessor::Environment::GetSingleton()->GetStringValue("Scene.filename", str);
31        return str;
32}
33//-----------------------------------------------------------------------
34std::string VisibilityEnvironment::getViewCellsFileName()
35{
36        char str[200];
37        //GtpVisibilityPreprocessor::Environment::GetSingleton()->GetStringValue("ViewCells.filename", str);
38       
39        return str;
40}
41//-----------------------------------------------------------------------
42/*GtpVisibilityPreprocessor::Environment *VisibilityEnvironment::GetPreprocessorEnvironment()
43{
44        return GtpVisibilityPreprocessor::Environment::GetSingleton();
45}*/
46
47} // namespace GtpVisibility
Note: See TracBrowser for help on using the repository browser.