Changeset 421 for trunk/VUT/GtpVisibilityPreprocessor/src/VspKdTree.h
- Timestamp:
- 11/18/05 14:02:49 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/VspKdTree.h
r420 r421 421 421 float GetAvgPvsSize(); 422 422 423 /** Parses the environment and stores the global VspKd tree parameters424 */425 static void ParseEnvironment();426 427 /////////////////////////////428 // Construction parameters429 430 /// max depth of the tree431 static int sTermMaxDepth;432 433 /// minimal ratio of the volume of the cell and the query volume434 static float sTermMinSize;435 436 /// minimal pvs per node to still get subdivided437 static int sTermMinPvs;438 439 /// minimal ray number per node to still get subdivided440 static int sTermMinRays;441 442 /// maximal cost ration to subdivide a node443 static float sTermMaxCostRatio;444 445 /// maximal contribution per ray to subdivide the node446 static float sTermMaxRayContribution;447 448 423 /** Returns memory usage in MB. 449 424 */ … … 533 508 int ReleaseMemory(const int time); 534 509 510 bool TerminationCriteriaMet(const VspKdTreeLeaf *leaf, 511 const AxisAlignedBox3 &box) const; 512 535 513 protected: 536 514 ///////////////////////////// … … 575 553 // reusable array of split candidates 576 554 vector<SortableEntry> *splitCandidates; 577 555 556 557 ///////////////////////////// 558 // Construction parameters 559 560 /// max depth of the tree 561 int mTermMaxDepth; 562 563 /// minimal ratio of the volume of the cell and the query volume 564 float mTermMinSize; 565 566 /// minimal pvs per node to still get subdivided 567 int mTermMinPvs; 568 569 /// minimal ray number per node to still get subdivided 570 int mTermMinRays; 571 572 /// maximal cost ration to subdivide a node 573 float mTermMaxCostRatio; 574 575 /// maximal contribution per ray to subdivide the node 576 float mTermMaxRayContribution; 577 578 578 579 ///////////////////////////// 579 580 VspKdStatistics mStat;
Note: See TracChangeset
for help on using the changeset viewer.