Ignore:
Timestamp:
05/03/06 10:28:20 (18 years ago)
Author:
mattausch
Message:

added new active view cell concept

File:
1 edited

Legend:

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

    r863 r882  
    3434 
    3535// pvs penalty can be different from pvs size 
    36 inline float EvalPvsPenalty(const int pvs,  
    37                                                         const int lower, 
    38                                                         const int upper) 
     36inline static float EvalPvsPenalty(const int pvs,  
     37                                                                   const int lower, 
     38                                                                   const int upper) 
    3939{ 
    4040        // clamp to minmax values 
     
    26462646                        if (!onlyValid || node->TreeValid()) 
    26472647                        { 
    2648                                 ViewCell *leafVc = dynamic_cast<BspLeaf *>(node)->GetViewCell(); 
     2648                                ViewCellLeaf *leafVc = dynamic_cast<BspLeaf *>(node)->GetViewCell(); 
    26492649 
    26502650                                ViewCell *viewCell = mViewCellsTree->GetActiveViewCell(leafVc); 
Note: See TracChangeset for help on using the changeset viewer.