Ignore:
Timestamp:
01/22/07 20:25:06 (17 years ago)
Author:
bittner
Message:

pvs efficiency tuning

File:
1 edited

Legend:

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

    r1012 r2015  
    299299} 
    300300 
    301 VspKdViewCell *VspKdLeaf::GetViewCell() 
    302 { 
    303         return mViewCell; 
    304 } 
    305301 
    306302void VspKdLeaf::SetViewCell(VspKdViewCell *viewCell) 
     
    20982094        int axis; 
    20992095 
     2096        cerr<<"HERE"<<endl; 
    21002097        while (1) 
    21012098        { 
    21022099                if (!node->IsLeaf()) 
    21032100                { 
    2104                         VspKdInterior *in = dynamic_cast<VspKdInterior *>(node); 
     2101                        VspKdInterior *in = (VspKdInterior *)node; 
    21052102                        position = in->mPosition; 
    21062103                        axis = in->mAxis; 
     
    21462143                { 
    21472144                        // compute intersection with all objects in this leaf 
    2148                         VspKdLeaf *leaf = dynamic_cast<VspKdLeaf *>(node); 
     2145                        VspKdLeaf *leaf = (VspKdLeaf *)node; 
    21492146                        ViewCell *vc = leaf->GetViewCell(); 
    21502147 
     
    21562153                        } 
    21572154 
     2155#if 0                    
    21582156                        if (0) //matt TODO: REMOVE LATER 
    2159                                 leaf->mRays.push_back(RayInfo(new VssRay(origin, termination, NULL, NULL, 0))); 
    2160  
     2157                          leaf->mRays.push_back(RayInfo(new VssRay(origin, termination, NULL, NULL, 0))); 
     2158#endif 
     2159                         
    21612160                        // get the next node from the stack 
    21622161                        if (tStack.empty()) 
Note: See TracChangeset for help on using the changeset viewer.