Changeset 426 for trunk/VUT/GtpVisibilityPreprocessor/src/VspKdTree.h
- Timestamp:
- 11/22/05 17:43:29 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/VspKdTree.h
r425 r426 57 57 // max depth nodes 58 58 int minPvsNodes; 59 // nodes with minimum PVS 59 60 int minRaysNodes; 60 61 // max ray contribution nodes … … 65 66 // max number of rays per node 66 67 int maxRayRefs; 68 // maximal PVS size / leaf 69 int maxPvsSize; 70 67 71 // number of dynamically added ray refs 68 72 int addedRayRefs; … … 86 90 rays = queryDomains = 0; 87 91 rayRefs = 0; 92 88 93 maxDepthNodes = 0; 89 94 minPvsNodes = 0; 90 minRaysNodes = 0; 95 minRaysNodes = 0; 96 maxRayContribNodes = 0; 97 minSizeNodes = 0; 98 91 99 maxRayRefs = 0; 92 100 addedRayRefs = removedRayRefs = 0; 101 93 102 initialPvsSize = 0; 94 maxRayContribNodes = 0; 95 minSizeNodes = 0; 103 maxPvsSize = 0; 96 104 } 97 105 … … 146 154 */ 147 155 VspKdTreeInterior *GetParent() const; 156 148 157 /** Sets parent node. 149 158 */ … … 251 260 */ 252 261 int GetPvsSize() const; 253 void SetPvsSize(const int s);254 262 255 263 /** If PVS is not valid, this function recomputes the leaf … … 258 266 void UpdatePvsSize(); 259 267 268 RayInfoContainer &GetRays(); 269 260 270 /** Returns average contribution of a ray to the PVS 261 271 */ … … 278 288 279 289 protected: 280 290 291 /** Manually sets PVS size. 292 @param s the PVS size 293 */ 294 void SetPvsSize(const int s); 295 281 296 int mMailbox; 282 297
Note: See TracChangeset
for help on using the changeset viewer.