Changeset 501 for trunk/VUT/GtpVisibilityPreprocessor/src/VspKdTree.h
- Timestamp:
- 01/05/06 10:56:50 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/VspKdTree.h
r500 r501 669 669 670 670 /** Collapses the tree with respect to the view cell partition. 671 */ 672 void CollapseTree(); 671 @returns number of collapsed nodes 672 */ 673 int CollapseTree(); 673 674 674 675 protected: 675 676 676 /** Collapses the tree with respect to the view cell partition. 677 /** Collapses the tree with respect to the view cell partition, 678 i.e. leaves having the same view cell are collapsed. 679 @param node the root of the subtree to be collapsed 680 @param collapsed returns the number of collapsed nodes 677 681 @returns node of type leaf if the node could be collapsed, 678 682 this node otherwise 679 683 */ 680 VspKdNode *CollapseTree(VspKdNode *node); 684 VspKdNode *CollapseTree(VspKdNode *node, int &collapsed); 685 681 686 // incremental construction 682 687 virtual void UpdateRays(VssRayContainer &remove, VssRayContainer &add);
Note: See TracChangeset
for help on using the changeset viewer.