Ignore:
Timestamp:
07/12/06 18:30:48 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r1123 r1129  
    738738                                                                ViewCellContainer &viewCells) const; 
    739739 
     740        /** Remove the references of the parent view cell from the kd nodes associated with 
     741                the objects. 
     742        */ 
     743        void RemoveParentViewCellReferences(ViewCell *parent) const; 
     744 
     745        /** Adds references to the view cell to the kd nodes associated with the objects. 
     746        */ 
     747        void AddViewCellReferences(ViewCell *vc) const; 
     748 
     749 
     750 
    740751        /// pointer to the hierarchy of view cells 
    741752        ViewCellsTree *mViewCellsTree; 
    742  
    743         /** Remove the references of the parent view cell from the kd nodes associated with 
    744                 the objects. 
    745         */ 
    746         void RemoveParentViewCellReferences(ViewCell *parent) const; 
    747  
    748         /** Adds references to the view cell to the kd nodes associated with the objects. 
    749         */ 
    750         void AddViewCellReferences(ViewCell *vc) const; 
    751  
    752753 
    753754protected: 
     
    15481549                @returns pvs size of the node 
    15491550        */ 
    1550         int PrepareHeuristics(const ObjectContainer &objects); 
    1551  
    1552         int PrepareHeuristics(Intersectable *object); 
    1553  
     1551        float PrepareHeuristics(const ObjectContainer &objects); 
     1552 
     1553        /** Evaluates contribution for one object  
     1554                to heuristics preparation. 
     1555        */ 
     1556        float PrepareHeuristics(Intersectable *object); 
     1557 
     1558        /** Prepares construction for vsp and osp trees. 
     1559        */ 
    15541560        void PrepareConstruction(const ObjectContainer &objects, 
    15551561                AxisAlignedBox3 *forcedBoundingBox); 
     
    15581564                vector<SplitCandidate *> &dirtyList); 
    15591565 
     1566        /** Collect view cells which see this kd leaf. 
     1567        */ 
    15601568        void CollectViewCells(KdLeaf *leaf,  
    15611569                ViewCellContainer &viewCells); 
     1570 
    15621571 
    15631572protected: 
     
    16271636 
    16281637 
    1629         bool mUseSah; 
     1638        bool mUseEqualWeightForHeuristics; 
    16301639 
    16311640        /// subdivision stats output file 
Note: See TracChangeset for help on using the changeset viewer.