Changeset 882 for GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.cpp
- Timestamp:
- 05/03/06 10:28:20 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.cpp
r879 r882 34 34 35 35 // pvs penalty can be different from pvs size 36 inline float EvalPvsPenalty(const int pvs,37 const int lower,38 const int upper)36 inline static float EvalPvsPenalty(const int pvs, 37 const int lower, 38 const int upper) 39 39 { 40 40 // clamp to minmax values … … 269 269 270 270 int VspBspTree::AddToPolygonSoup(const ViewCellContainer &viewCells, 271 272 271 PolygonContainer &polys, 272 int maxObjects) 273 273 { 274 274 int limit = (maxObjects > 0) ? … … 1147 1147 RayInfoContainer::const_iterator it, it_end = rays.end(); 1148 1148 1149 ViewCell *vc = leaf->GetViewCell();1149 ViewCellLeaf *vc = leaf->GetViewCell(); 1150 1150 1151 1151 // add contributions from samples to the PVS … … 2589 2589 if (!onlyValid || node->TreeValid()) 2590 2590 { 2591 ViewCell *leafVc = dynamic_cast<BspLeaf *>(node)->GetViewCell();2591 ViewCellLeaf *leafVc = dynamic_cast<BspLeaf *>(node)->GetViewCell(); 2592 2592 2593 2593 ViewCell *viewCell = mViewCellsTree->GetActiveViewCell(leafVc); … … 3260 3260 int VspBspTree::CastLineSegment(const Vector3 &origin, 3261 3261 const Vector3 &termination, 3262 vector<ViewCell *>&viewcells)3262 ViewCellContainer &viewcells) 3263 3263 { 3264 3264 int hits = 0; … … 3755 3755 nodeStack.push(mRoot); 3756 3756 3757 ViewCell *viewcell = NULL;3757 ViewCellLeaf *viewcell = NULL; 3758 3758 3759 3759 while (!nodeStack.empty())
Note: See TracChangeset
for help on using the changeset viewer.