Changeset 1449 for GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.h
- Timestamp:
- 09/21/06 19:14:24 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.h
r1421 r1449 72 72 /// accumulated depth 73 73 int accumDepth; 74 74 /// time spent for queue repair 75 75 float repairTime; 76 // global cost ratio violations 77 int mGlobalCostMisses; 76 78 77 79 // Constructor … … 88 90 double AvgDepth() const { return accumDepth / (double)Leaves();} 89 91 90 void Reset() 91 { 92 void Reset() 93 { 94 mGlobalCostMisses = 0; 92 95 nodes = 0; 93 96 maxDepth = 0; … … 247 250 248 251 void RunConstruction( 252 const bool repairQueue, 249 253 const VssRayContainer &sampleRays, 250 254 const ObjectContainer &objects, 251 255 AxisAlignedBox3 *forcedViewSpace); 252 256 257 void RunConstruction(const bool repairQueue); 258 253 259 bool ApplySubdivisionCandidate(SubdivisionCandidate *sc); 254 260 … … 306 312 int GetObjectSpaceSubdivisionDepth() const; 307 313 314 void ConstructInterleaved( 315 const VssRayContainer &sampleRays, 316 const ObjectContainer &objects, 317 AxisAlignedBox3 *forcedViewSpace); 318 319 void ConstructMultiLevel( 320 const VssRayContainer &sampleRays, 321 const ObjectContainer &objects, 322 AxisAlignedBox3 *forcedViewSpace); 323 324 void ResetObjectSpaceSubdivision(const ObjectContainer &objects); 325 308 326 protected: 309 327 … … 329 347 SubdivisionCandidate *mCurrentCandidate; 330 348 349 //////// 331 350 //-- global criteria 332 351 float mTermMinGlobalCostRatio; 333 352 int mTermGlobalCostMissTolerance; 334 int mGlobalCostMisses; 335 353 336 354 /// keeps track of cost during subdivision 337 355 float mTotalCost; … … 348 366 349 367 bool mStartWithObjectSpace; 368 369 bool mUseMultiLevelConstruction; 350 370 }; 351 371
Note: See TracChangeset
for help on using the changeset viewer.