- Timestamp:
- 03/22/07 11:48:21 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/src/VisibilityEnvironment.cpp
r2183 r2278 1 1 #include "VisibilityEnvironment.h" 2 #include "common.h"3 #include "Environment.h"2 //#include "common.h" 3 //#include "Environment.h" 4 4 5 5 … … 10 10 { 11 11 // HACK: loading debug stream should not happen here 12 GtpVisibilityPreprocessor::Debug.open("debug.log"); 13 // load environment 14 //Environment::GetSingleton() = new GtpVisibilityPreprocessor::Environment::GetSingleton(); 12 //GtpVisibilityPreprocessor::Debug.open("debug.log"); 15 13 } 16 14 //----------------------------------------------------------------------- 17 15 VisibilityEnvironment::~VisibilityEnvironment() 18 16 { 19 GtpVisibilityPreprocessor::Environment::DelSingleton();17 //GtpVisibilityPreprocessor::Environment::DelSingleton(); 20 18 } 21 19 //----------------------------------------------------------------------- … … 23 21 { 24 22 //-- parse environment 25 return GtpVisibilityPreprocessor::Environment::GetSingleton()->ReadEnvFile(filename.c_str());23 return false;//GtpVisibilityPreprocessor::Environment::GetSingleton()->ReadEnvFile(filename.c_str()); 26 24 } 27 25 //----------------------------------------------------------------------- … … 29 27 { 30 28 char str[200]; 31 GtpVisibilityPreprocessor::Environment::GetSingleton()->GetStringValue("Scene.filename", str);29 //GtpVisibilityPreprocessor::Environment::GetSingleton()->GetStringValue("Scene.filename", str); 32 30 return str; 33 31 } … … 36 34 { 37 35 char str[200]; 38 GtpVisibilityPreprocessor::Environment::GetSingleton()->GetStringValue("ViewCells.filename", str);36 //GtpVisibilityPreprocessor::Environment::GetSingleton()->GetStringValue("ViewCells.filename", str); 39 37 40 38 return str; 41 39 } 42 40 //----------------------------------------------------------------------- 43 GtpVisibilityPreprocessor::Environment *VisibilityEnvironment::GetPreprocessorEnvironment()41 /*GtpVisibilityPreprocessor::Environment *VisibilityEnvironment::GetPreprocessorEnvironment() 44 42 { 45 43 return GtpVisibilityPreprocessor::Environment::GetSingleton(); 46 } 44 }*/ 45 47 46 } // namespace GtpVisibility
Note: See TracChangeset
for help on using the changeset viewer.