Ignore:
Timestamp:
08/25/06 18:25:09 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r1284 r1286  
    304304        else 
    305305                mChildren.erase(it); 
     306} 
     307 
     308 
     309void ViewCellInterior::ReplaceChildLink(ViewCell *prev, ViewCell *cur) 
     310{ 
     311        // erase leaf from old view cell 
     312        ViewCellContainer::iterator it = mChildren.begin(); 
     313 
     314        for (; (*it) != prev; ++ it); 
     315        if (it == mChildren.end()) 
     316        { 
     317                Debug << "error: child link not found" << endl; 
     318        } 
     319        else 
     320        { 
     321                (*it) = cur; 
     322        } 
    306323} 
    307324 
Note: See TracChangeset for help on using the changeset viewer.