Ignore:
Timestamp:
08/30/06 04:39:53 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r1294 r1297  
    3535class VspTree; 
    3636class ViewCellsContainer; 
     37class BvhSubdivisionCandidate; 
     38 
    3739 
    3840/** View space partition statistics. 
     
    4547        // number of splits 
    4648        int splits; 
    47          
    4849        // maximal reached depth 
    4950        int maxDepth; 
    5051        // minimal depth 
    5152        int minDepth; 
    52          
    5353        // max depth nodes 
    5454        int maxDepthNodes; 
     
    123123        enum {Interior, Leaf}; 
    124124 
    125         BvhNode::BvhNode(); 
     125        BvhNode(); 
    126126        BvhNode(const AxisAlignedBox3 &bbox); 
    127127        BvhNode(const AxisAlignedBox3 &bbox, BvhInterior *parent); 
     
    183183        /// the bounding box of the node 
    184184        AxisAlignedBox3 mBoundingBox; 
    185  
    186185        /// parent of this node 
    187186        BvhInterior *mParent; 
     
    246245        bool IsLeaf() const; 
    247246         
    248         SubdivisionCandidate *GetSubdivisionCandidate() const  
     247        SubdivisionCandidate *GetSubdivisionCandidate()// const 
    249248        {  
    250249                return mSubdivisionCandidate;  
    251250        } 
    252251 
     252        void SetSubdivisionCandidate(SubdivisionCandidate *candidate) 
     253        {  
     254                mSubdivisionCandidate = candidate;  
     255        } 
     256 
    253257public: 
    254258 
    255259        /// Rays piercing this leaf. 
    256260        VssRayContainer mVssRays; 
    257          
    258261        /// objects 
    259262        ObjectContainer mObjects; 
    260  
    261263        /// universal counter 
    262264        int mCounter; 
    263  
    264265 
    265266protected: 
Note: See TracChangeset for help on using the changeset viewer.