Changeset 501 for trunk/VUT/GtpVisibilityPreprocessor/src/VspBspTree.h
- Timestamp:
- 01/05/06 10:56:50 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/VspBspTree.h
r497 r501 258 258 259 259 /** Collapses the tree with respect to the view cell partition. 260 */ 261 void CollapseTree(); 262 263 ViewCell * 264 GetViewCell(const Vector3 &point); 260 @returns number of collapsed nodes 261 */ 262 int CollapseTree(); 263 264 /** Returns view cell the current point is located in. 265 */ 266 ViewCell *GetViewCell(const Vector3 &point); 265 267 266 268 /** Constructs bsp rays for post processing and visualization. … … 314 316 /** Collapses the tree with respect to the view cell partition, 315 317 i.e. leaves having the same view cell are collapsed. 318 @param node the root of the subtree to be collapsed 319 @param collapsed returns the number of collapsed nodes 316 320 @returns node of type leaf if the node could be collapsed, 317 321 this node otherwise 318 322 */ 319 BspNode *CollapseTree(BspNode *node );323 BspNode *CollapseTree(BspNode *node, int &collapsed); 320 324 /** Shuffles the leaves, i.e., tests if exchanging 321 325 the leaves helps in improving the view cells.
Note: See TracChangeset
for help on using the changeset viewer.