Ignore:
Timestamp:
03/22/07 11:48:21 (17 years ago)
Author:
mattausch
Message:

worked on randomupdatemanager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/src/VisibilityEnvironment.cpp

    r2183 r2278  
    11#include "VisibilityEnvironment.h" 
    2 #include "common.h" 
    3 #include "Environment.h" 
     2//#include "common.h" 
     3//#include "Environment.h" 
    44 
    55 
     
    1010{ 
    1111        // 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"); 
    1513} 
    1614//----------------------------------------------------------------------- 
    1715VisibilityEnvironment::~VisibilityEnvironment() 
    1816{ 
    19         GtpVisibilityPreprocessor::Environment::DelSingleton(); 
     17        //GtpVisibilityPreprocessor::Environment::DelSingleton(); 
    2018} 
    2119//----------------------------------------------------------------------- 
     
    2321{                
    2422        //-- parse environment 
    25         return GtpVisibilityPreprocessor::Environment::GetSingleton()->ReadEnvFile(filename.c_str()); 
     23        return false;//GtpVisibilityPreprocessor::Environment::GetSingleton()->ReadEnvFile(filename.c_str()); 
    2624} 
    2725//----------------------------------------------------------------------- 
     
    2927{ 
    3028        char str[200]; 
    31         GtpVisibilityPreprocessor::Environment::GetSingleton()->GetStringValue("Scene.filename", str); 
     29        //GtpVisibilityPreprocessor::Environment::GetSingleton()->GetStringValue("Scene.filename", str); 
    3230        return str; 
    3331} 
     
    3634{ 
    3735        char str[200]; 
    38         GtpVisibilityPreprocessor::Environment::GetSingleton()->GetStringValue("ViewCells.filename", str); 
     36        //GtpVisibilityPreprocessor::Environment::GetSingleton()->GetStringValue("ViewCells.filename", str); 
    3937         
    4038        return str; 
    4139} 
    4240//----------------------------------------------------------------------- 
    43 GtpVisibilityPreprocessor::Environment *VisibilityEnvironment::GetPreprocessorEnvironment() 
     41/*GtpVisibilityPreprocessor::Environment *VisibilityEnvironment::GetPreprocessorEnvironment() 
    4442{ 
    4543        return GtpVisibilityPreprocessor::Environment::GetSingleton(); 
    46 } 
     44}*/ 
     45 
    4746} // namespace GtpVisibility 
Note: See TracChangeset for help on using the changeset viewer.