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

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

worked on randomupdatemanager

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 false;//GtpVisibilityPreprocessor::Environment::GetSingleton()->ReadEnvFile(filename.c_str());
24}
25//-----------------------------------------------------------------------
26std::string VisibilityEnvironment::getSceneFileName()
27{
28        char str[200];
29        //GtpVisibilityPreprocessor::Environment::GetSingleton()->GetStringValue("Scene.filename", str);
30        return str;
31}
32//-----------------------------------------------------------------------
33std::string VisibilityEnvironment::getViewCellsFileName()
34{
35        char str[200];
36        //GtpVisibilityPreprocessor::Environment::GetSingleton()->GetStringValue("ViewCells.filename", str);
37       
38        return str;
39}
40//-----------------------------------------------------------------------
41/*GtpVisibilityPreprocessor::Environment *VisibilityEnvironment::GetPreprocessorEnvironment()
42{
43        return GtpVisibilityPreprocessor::Environment::GetSingleton();
44}*/
45
46} // namespace GtpVisibility
Note: See TracBrowser for help on using the repository browser.