Ignore:
Timestamp:
07/10/06 17:59:24 (18 years ago)
Author:
mattausch
Message:

erronous version using kd viewcell pvss

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/VspOspTree.h

    r1108 r1109  
    367367        */ 
    368368        void ReplaceChildLink(VspNode *oldChild, VspNode *newChild); 
     369 
    369370        /** Replace front and back child. 
    370371        */ 
    371         void SetupChildLinks(VspNode *b, VspNode *f); 
     372        void SetupChildLinks(VspNode *front, VspNode *back); 
    372373 
    373374        friend ostream &operator<<(ostream &s, const VspInterior &A) 
     
    467468        public: 
    468469                /// the current node 
    469                 VspNode *mNode; 
     470                VspLeaf *mNode; 
    470471                /// current depth 
    471472                int mDepth; 
     
    502503                {} 
    503504                 
    504                 VspTraversalData(VspNode *node,  
     505                VspTraversalData(VspLeaf *node,  
    505506                                                 const int depth,  
    506507                                                 RayInfoContainer *rays, 
     
    732733        ViewCellsTree *mViewCellsTree; 
    733734 
     735        /** Remove the references of the parent view cell from the kd nodes associated with 
     736                the objects. 
     737        */ 
     738        void RemoveParentViewCellReferences(ViewCell *parent); 
     739        /** Adds references to the view cell to the kd nodes associated with the objects. 
     740        */ 
     741        void AddViewCellReferences(ViewCell *vc) const; 
     742 
    734743 
    735744protected: 
     
    751760   
    752761                SortableEntry() {} 
    753                 SortableEntry(const int t, const float v, VssRay *r):type(t), 
    754                                           value(v), ray(r)  
     762                SortableEntry(const int t, const float v, VssRay *r):  
     763                type(t), value(v), ray(r)  
    755764                { 
    756765                } 
Note: See TracChangeset for help on using the changeset viewer.