Ignore:
Timestamp:
12/14/05 19:17:40 (19 years ago)
Author:
mattausch
Message:

worked on vspkd leaves merge, implemented post merge collapse

File:
1 edited

Legend:

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

    r463 r465  
    299299{ 
    300300public: 
     301 
    301302        friend class VspKdTree; 
    302303 
     
    670671        bool MergeViewCells(VspKdLeaf *l1, VspKdLeaf *l2); 
    671672 
    672          
     673        /** Collapses the tree with respect to the view cell partition. 
     674                @returns node of type leaf if the node could be collapsed, this node otherwise 
     675        */ 
     676        VspKdNode *CollapseTree(VspKdNode *node); 
     677         
     678        /** Helper function revalidating the view cell leaf list after merge. 
     679        */ 
     680        void ValidateViewCellLeaves(); 
     681 
    673682protected: 
    674683         
     
    749758        int mMaxViewCells; 
    750759 
     760        /// minimal number of view cells 
     761        int mMinViewCells; 
     762 
    751763        ///////////////////////////// 
    752764        VspKdStatistics mStat;   
Note: See TracChangeset for help on using the changeset viewer.