Changeset 1143 for GTP/trunk/Lib/Vis/Preprocessing/src/VspOspTree.h
- Timestamp:
- 07/19/06 18:31:33 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/VspOspTree.h
r1142 r1143 34 34 class OspTree; 35 35 class KdIntersectable; 36 37 38 36 class KdTree; 37 class VspTree; 39 38 class KdTreeStatistics; 39 40 40 41 41 42 template <typename T> class GtPriority … … 410 411 class VspLeaf: public VspNode 411 412 { 413 friend VspTree; 412 414 413 415 public: … … 802 804 float &pBack) const; 803 805 804 void ComputeBoundingBox(const RayInfoContainer &rays,805 AxisAlignedBox3 *forcedBoundingBox);806 void ComputeBoundingBox(const VssRayContainer &rays, 807 AxisAlignedBox3 *forcedBoundingBox); 806 808 807 809 /** Evaluates candidate for splitting. … … 1262 1264 OspTree(); 1263 1265 1266 OspTree(const KdTree &kdTree); 1267 1264 1268 /** Default destructor. 1265 1269 */ … … 1481 1485 OspTraversalData &backData); 1482 1486 1483 void SplitObjects(const AxisAlignedPlane & splitPlane, 1487 void SplitObjects(KdLeaf *leaf, 1488 const AxisAlignedPlane & splitPlane, 1484 1489 const ObjectContainer &objects, 1485 1490 ObjectContainer &front, 1486 1491 ObjectContainer &back); 1487 1492 1488 #if DEPRECATED 1489 /** does some post processing on the objects in the new child leaves. 1490 */ 1491 void ProcessLeafObjects(KdLeaf *parent, KdLeaf *front, KdLeaf *back) const; 1492 #endif 1493 /** does some post processing on the objects in the new child leaves. 1494 */ 1495 void ProcessMultipleRefs(KdLeaf *leaf) const; 1496 1493 1497 /** Selects an axis aligned for the next split. 1494 1498 @returns cost for this split … … 1603 1607 */ 1604 1608 void ComputeBoundingBox(const ObjectContainer &objects, 1605 AxisAlignedBox3 *forcedBoundingBox);1609 AxisAlignedBox3 *forcedBoundingBox); 1606 1610 1607 1611 void CollectDirtyCandidates(OspSplitCandidate *sc, … … 1616 1620 RayInfoContainer &rays); 1617 1621 1622 1623 void ReadEnvironment(); 1618 1624 1619 1625 protected: … … 1700 1706 /// stores the kd node intersectables used for pvs 1701 1707 KdIntersectableMap mKdIntersectables; 1708 1709 1710 private: 1711 1712 bool mCopyFromKdTree; 1702 1713 }; 1703 1714
Note: See TracChangeset
for help on using the changeset viewer.