Ignore:
Timestamp:
02/17/06 20:41:22 (19 years ago)
Author:
mattausch
Message:

added spatial hierarchy based merge tree

File:
1 edited

Legend:

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

    r649 r650  
    5353{} 
    5454 
     55 
    5556BspNode::BspNode(BspInterior *parent):  
    5657mParent(parent), mTreeValid(true) 
     
    217218mUseAreaForPvs(false), 
    218219mGenerateViewCells(true), 
    219 mTimeStamp(0) 
     220mTimeStamp(1) 
    220221{ 
    221222        Randomize(); // initialise random generator for heuristics 
     
    11821183        backData.mNode = interior->GetBack(); 
    11831184         
    1184         interior->mTimeStamp = leaf->mTimeStamp; 
    1185         frontData.mNode->mTimeStamp = mTimeStamp; 
    1186         backData.mNode->mTimeStamp = mTimeStamp ++; 
    1187  
    1188         Debug << "time stamp: " << mTimeStamp << endl; 
     1185        interior->mTimeStamp = mTimeStamp ++; 
     1186         
    11891187        //DEL_PTR(leaf); 
    11901188        return interior; 
Note: See TracChangeset for help on using the changeset viewer.