Changeset 1108 for GTP/trunk/Lib/Vis/Preprocessing/src/VspOspTree.h
- Timestamp:
- 07/10/06 15:57:11 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/VspOspTree.h
r1106 r1108 72 72 virtual void EvalPriority() = 0; 73 73 virtual int Type() const = 0; 74 virtual bool GlobalTerminationCriteriaMet() const = 0; 74 75 }; 75 76 … … 554 555 { 555 556 public: 557 556 558 static VspTree* sVspTree; 559 557 560 /// parent node traversal data 558 561 VspTraversalData mParentData; … … 566 569 { 567 570 sVspTree->EvalSplitCandidate(*this); 571 } 572 573 bool GlobalTerminationCriteriaMet() const 574 { 575 return sVspTree->GlobalTerminationCriteriaMet(mParentData); 568 576 } 569 577 … … 969 977 970 978 void ProcessViewCellObjects(ViewCell *parent, ViewCell *front, ViewCell *back) const; 979 980 void CreateViewCell(VspTraversalData &tData); 971 981 972 982 protected: … … 1169 1179 } 1170 1180 1181 bool GlobalTerminationCriteriaMet() const 1182 { 1183 return sOspTree->GlobalTerminationCriteriaMet(mParentData); 1184 } 1185 1186 1171 1187 OspSplitCandidate(const AxisAlignedPlane &plane, const OspTraversalData &tData): 1172 1188 SplitCandidate(plane), mParentData(tData) … … 1379 1395 @returns the root of the subdivision 1380 1396 */ 1381 KdInterior *SubdivideNode( KdLeaf *leaf,1397 KdInterior *SubdivideNode( 1382 1398 const AxisAlignedPlane &splitPlane, 1383 const AxisAlignedBox3 &box,1399 const OspTraversalData &tData, 1384 1400 OspTraversalData &frontData, 1385 1401 OspTraversalData &backData);
Note: See TracChangeset
for help on using the changeset viewer.