Ignore:
Timestamp:
05/22/06 07:53:18 (18 years ago)
Author:
mattausch
Message:

added stuff for view cell ziping (not working yet!)

File:
1 edited

Legend:

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

    r944 r971  
    99VisibilityEnvironment::VisibilityEnvironment() 
    1010{ 
    11         // load debug stream 
     11        // HACK: loading debug stream should not happen here 
    1212        GtpVisibilityPreprocessor::Debug.open("debug.log"); 
    13  
    1413        // load environment 
    1514        mEnvironment = new GtpVisibilityPreprocessor::Environment();      
     
    2221//----------------------------------------------------------------------- 
    2322bool VisibilityEnvironment::LoadEnvironment(string filename) 
    24 {        
    25         //-- parse filename into c-style argument list 
    26         /*char argc = 2; 
    27         char *argv[2]; 
    28         argv[0] = ""; 
    29          
    30         char fname[200]; 
    31         sprintf(fname, "%s", filename.c_str()); 
    32         argv[1] = fname; 
    33  
    34         GtpVisibilityPreprocessor::Debug << "loading environment from: " << argv[1] << endl; 
    35         return GtpVisibilityPreprocessor::environment->Parse(argc, argv, false); 
    36 */ 
     23{                
    3724        //-- parse environment 
    3825        return mEnvironment->ReadEnvFile(filename.c_str()); 
Note: See TracChangeset for help on using the changeset viewer.