Changeset 1667 for GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.h
- Timestamp:
- 10/23/06 20:24:14 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.h
r1666 r1667 41 41 class BvHierarchy; 42 42 class Exporter; 43 class ViewCellsParseHandlers; 44 43 45 44 46 #define COUNT_ORIGIN_OBJECTS 1 … … 130 132 class HierarchyManager 131 133 { 132 friend VspTree;133 friend OspTree;134 friend BvHierarchy;135 friend ViewCellsParseHandlers;136 137 134 public: 138 135 /** Constructor with the view space partition tree and … … 233 230 } 234 231 232 HierarchyStatistics &GetHierarchyStats() { return mHierarchyStats; }; 233 234 inline bool ConsiderMemory() const { return mConsiderMemory; } 235 235 236 protected: 236 237 … … 254 255 float GetObjectSpaceMemUsage() const; 255 256 257 256 258 ////////////////////////////// 257 259 // the main loop 258 //////////////////////259 260 260 261 /** This is for interleaved construction / sequential construction. … … 270 271 int RunConstruction(SplitQueue &splitQueue, 271 272 SubdivisionCandidateContainer &chosenCandidates, 272 const float minRenderCostDecr, 273 //const float minRenderCostDecr, 274 SubdivisionCandidate *oldCandidate, 273 275 const int minSteps); 274 276 … … 344 346 bool StartViewSpaceSubdivision() const; 345 347 348 346 349 //////////////////////////// 347 350 // Helper function for preparation of subdivision 348 ///////349 351 350 352 /** Prepare bv hierarchy for subdivision … … 493 495 float mTermMaxMemory; 494 496 497 495 498 //////////////////// 496 499 500 /// number of minimal steps of the same type 497 501 int mMinStepsOfSameType; 498 502 … … 532 536 533 537 float mMemoryConst; 538 539 540 friend VspTree; 541 friend OspTree; 542 friend BvHierarchy; 543 friend ViewCellsParseHandlers; 544 534 545 }; 535 546
Note: See TracChangeset
for help on using the changeset viewer.