Changeset 2237 for GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.h
- Timestamp:
- 03/12/07 18:30:52 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.h
r2233 r2237 801 801 */ 802 802 float EvalRenderCostDecrease(VspSubdivisionCandidate &splitData, 803 float &normalizedOldRenderCost) const; 803 float &normalizedOldRenderCost, 804 const float totalPvs, 805 const float pvsFront, 806 const float pvsBack) const; 804 807 805 808 /** Collects view cells in the subtree under root. … … 890 893 float EvalPvsCost(const RayInfoContainer &rays) const; 891 894 892 int EvalPvsEntriesIncr(VspSubdivisionCandidate &splitCandidate) const; 895 int EvalPvsEntriesIncr(VspSubdivisionCandidate &splitCandidate, 896 const int oldPvsSize, 897 const int fPvsSize, 898 const int bPvsSize) const; 893 899 894 900 /** Returns number of effective entries in the pvs. … … 919 925 /** Evaluates contribution of min event to pvs 920 926 */ 921 inline int EvalMinEventContribution(const VssRay &ray, const bool isTermination) const;927 inline float EvalMinEventContribution(const VssRay &ray, const bool isTermination) const; 922 928 923 929 /** Evaluates contribution of max event to pvs 924 930 */ 925 inline int EvalMaxEventContribution(const VssRay &ray, const bool isTermination) const;931 inline float EvalMaxEventContribution(const VssRay &ray, const bool isTermination) const; 926 932 927 933 /** Evaluates contribution of kd leaf when encountering a min event 928 934 */ 929 inline int EvalMinEventContribution(KdLeaf *leaf) const;935 inline float EvalMinEventContribution(KdLeaf *leaf) const; 930 936 931 937 /** Evaluates contribution of kd leaf when encountering a max event 932 938 */ 933 inline int EvalMaxEventContribution(KdLeaf *leaf) const;939 inline float EvalMaxEventContribution(KdLeaf *leaf) const; 934 940 935 941 /** Prepares objects for the heuristics. … … 1011 1017 const bool countEntries) const; 1012 1018 1019 inline void UpdateContributionsToPvs(BvhLeaf *leaf, 1020 const int cf, 1021 float &frontPvs, float &backPvs, float &totalPvs, 1022 int &frontSize, int &backSize, int &totalSize) const; 1023 1013 1024 /** Evaluates the contribution for kd leaves. 1014 1025 */ … … 1085 1096 /** Evaluates pvs contribution of this ray. 1086 1097 */ 1087 int EvalContributionToPvs(const VssRay &ray, const bool isTermination) const;1098 float EvalContributionToPvs(const VssRay &ray, const bool isTermination) const; 1088 1099 1089 1100 /** Evaluates pvs contribution of a kd node. 1090 1101 */ 1091 int EvalContributionToPvs(KdLeaf *leaf) const;1102 float EvalContributionToPvs(KdLeaf *leaf) const; 1092 1103 1093 1104 /** Creates new root of hierarchy and computes bounding box.
Note: See TracChangeset
for help on using the changeset viewer.