Changeset 653 for GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.h
- Timestamp:
- 02/18/06 22:06:33 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.h
r652 r653 171 171 float mRenderCost; 172 172 173 VspBspSplitCandidate(): mRenderCost(0) 174 {}; 175 173 176 VspBspSplitCandidate(const Plane3 &plane, const VspBspTraversalData &tData): 174 mSplitPlane(plane), mParentData(tData) 177 mSplitPlane(plane), mParentData(tData), mRenderCost(0) 175 178 {} 176 179 … … 395 398 const VspBspTraversalData &data) const; 396 399 400 void ConstructWithSplitQueueQueue(const PolygonContainer &polys, RayInfoContainer *rays); 401 402 397 403 /** Returns view cell corresponding to 398 404 the invalid view space. If it does not exist, it is created. … … 424 430 BspNode *Subdivide(VspBspTraversalQueue &tStack, 425 431 VspBspTraversalData &tData); 432 433 BspNode *Subdivide(VspBspSplitQueue &tQueue, 434 VspBspSplitCandidate &splitCandidate); 426 435 427 436 /** Constructs the tree from the given traversal data. … … 459 468 float &pBack) const; 460 469 461 /** Subdivide leaf.470 /** Subdivides leaf. 462 471 @param leaf the leaf to be subdivided 463 472 … … 473 482 */ 474 483 475 BspNode *SubdivideNode(VspBspTraversalData &tData, 476 VspBspTraversalData &frontData, 477 VspBspTraversalData &backData, 478 PolygonContainer &coincident); 484 BspInterior *SubdivideNode(const Plane3 &splitPlane, 485 VspBspTraversalData &tData, 486 VspBspTraversalData &frontData, 487 VspBspTraversalData &backData, 488 PolygonContainer &coincident); 479 489 480 490 /** Extracts the meshes of the objects and adds them to polygons.
Note: See TracChangeset
for help on using the changeset viewer.