Changeset 1589 for GTP/trunk/Lib/Vis
- Timestamp:
- 10/09/06 17:16:40 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/BvHierarchy.h
r1580 r1589 804 804 */ 805 805 void CreateRoot(const ObjectContainer &objects); 806 806 /*void 807 RenderBvhNode(BvhNode *node) 808 { 809 if (node->IsLeaf()) { 810 BvhLeaf *leaf = (BvhLeaf *) node; 811 for (int i=0; i < mObjects.size(); i++) 812 cout << "leaf obj " << i << endl; 813 //RenderIntersectable(mObjects[i]); 814 } else { 815 BvhInterior *in = (BvhInterior *)node; 816 RenderBvhNode(in->GetBack()); 817 RenderBvhNode(in->GetFront()); 818 } 819 820 }*/ 807 821 protected: 808 822 -
GTP/trunk/Lib/Vis/Preprocessing/src/GlRenderer.cpp
r1585 r1589 627 627 if (node->IsLeaf()) { 628 628 BvhLeaf *leaf = (BvhLeaf *) node; 629 for (int i=0; i < mObjects.size(); i++) 630 RenderIntersectable(mObjects[i]); 629 for (int i=0; i < leaf->mObjects.size(); i++) 630 cout << "leaf obj " << i << endl; 631 //RenderIntersectable(mObjects[i]); 631 632 } else { 632 633 BvhInterior *in = (BvhInterior *)node; -
GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.h
r1580 r1589 345 345 int mViewSpaceSubdivisionType; 346 346 347 /// the traversal queue 348 SplitQueue mTQueue; 349 347 350 //////////// 348 351 //-- helper variables … … 355 358 SubdivisionCandidate *mCurrentCandidate; 356 359 357 ///////////////////358 359 360 360 361 /////////////////// … … 365 366 /// object space partition kd tree 366 367 OspTree *mOspTree; 368 public: 367 369 /// bounding volume hierarchy 368 370 BvHierarchy *mBvHierarchy; 369 370 ////////////////////// 371 372 373 /// the traversal queue 374 SplitQueue mTQueue; 375 371 372 protected: 373 376 374 377 375 ////////// -
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
r1588 r1589 5690 5690 ViewCell *vc = GetViewCell(point); 5691 5691 } 5692 //RenderBvhNode(mHierarchyManager->mBvHierarchy->GetRoot()); 5693 5692 5694 disposeRays(evaluationSamples, NULL); 5693 5695 }
Note: See TracChangeset
for help on using the changeset viewer.