Changeset 1696 for GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.cpp
- Timestamp:
- 10/29/06 18:17:38 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.cpp
r1692 r1696 345 345 346 346 VspLeaf::VspLeaf(): 347 mViewCell(NULL), mPvs(NULL), mSubdivisionCandidate(NULL) 347 mViewCell(NULL), mSubdivisionCandidate(NULL) 348 //, mPvs(NULL) 348 349 { 349 350 } … … 352 353 VspLeaf::~VspLeaf() 353 354 { 354 DEL_PTR(mPvs);355 356 355 VssRayContainer::const_iterator vit, vit_end = mVssRays.end(); 357 356 for (vit = mVssRays.begin(); vit != vit_end; ++ vit) … … 380 379 381 380 VspLeaf::VspLeaf(VspInterior *parent): 382 VspNode(parent), mViewCell(NULL), mPvs(NULL) 381 VspNode(parent), mViewCell(NULL) 382 //, mPvs(NULL) 383 383 {} 384 384 385 385 386 386 VspLeaf::VspLeaf(VspInterior *parent, ViewCellLeaf *viewCell): 387 VspNode(parent), mViewCell(viewCell), mPvs(NULL) 387 VspNode(parent), mViewCell(viewCell) 388 //, mPvs(NULL) 388 389 { 389 390 } … … 963 964 backData.mNode = backLeaf; 964 965 965 // explicitely create front and back view cell966 // create front and back view cell for the new leaves 966 967 CreateViewCell(frontData, false); 967 968 CreateViewCell(backData, false); … … 2846 2847 // set view cell values 2847 2848 viewCell->mLeaves.push_back(leaf); 2848 2849 2849 viewCell->SetVolume(mBoundingBox.GetVolume()); 2850 leaf->mProbability = mBoundingBox.GetVolume(); 2850 2851 leaf->mProbability = mBoundingBox.GetVolume(); 2851 2852 } 2852 2853
Note: See TracChangeset
for help on using the changeset viewer.