Ignore:
Timestamp:
01/05/06 10:56:50 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/VspKdTree.h

    r500 r501  
    669669 
    670670        /** Collapses the tree with respect to the view cell partition. 
    671         */ 
    672         void CollapseTree(); 
     671                @returns number of collapsed nodes 
     672        */ 
     673        int CollapseTree(); 
    673674 
    674675protected: 
    675676 
    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 
    677681                @returns node of type leaf if the node could be collapsed,  
    678682                this node otherwise 
    679683        */ 
    680         VspKdNode *CollapseTree(VspKdNode *node); 
     684        VspKdNode *CollapseTree(VspKdNode *node, int &collapsed); 
     685 
    681686        // incremental construction 
    682687        virtual void UpdateRays(VssRayContainer &remove, VssRayContainer &add); 
Note: See TracChangeset for help on using the changeset viewer.