Ignore:
Timestamp:
08/21/07 19:37:28 (17 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.cpp

    r2542 r2543  
    6868 
    6969 
    70 HierarchyManager::HierarchyManager(KdTree *kdTree):  
    71 mObjectSpaceSubdivisionType(KD_BASED_OBJ_SUBDIV), 
    72 mBvHierarchy(NULL) 
    73 { 
    74         mOspTree = new OspTree(*kdTree); 
    75         mOspTree->mVspTree = mVspTree; 
    76  
    77         mVspTree = new VspTree(); 
    78         mVspTree->mHierarchyManager = this; 
    79  
    80         mViewSpaceSubdivisionType = KD_BASED_VIEWSPACE_SUBDIV; 
    81         ParseEnvironment(); 
    82 } 
    83  
    84  
    8570void HierarchySubdivisionStats::Print(ostream &app) const 
    8671{ 
     
    252237 
    253238 
     239void HierarchyManager::SetVspTree(VspTree *vspTree) 
     240{ 
     241        mVspTree = vspTree; 
     242        mVspTree->mHierarchyManager = this; 
     243} 
     244 
     245 
    254246VspTree *HierarchyManager::GetVspTree()  
    255247{  
    256248        return mVspTree;  
    257249} 
    258  
    259 /* 
    260 AxisAlignedBox3 HierarchyManager::GetViewSpaceBox() const 
    261 { 
    262         return mVspTree->mBoundingBox; 
    263 }*/ 
    264250 
    265251 
Note: See TracChangeset for help on using the changeset viewer.