Ignore:
Timestamp:
09/15/06 17:33:22 (18 years ago)
Author:
mattausch
Message:

fixed sah for objeect partition
loader for single triangles also for x3d

File:
1 edited

Legend:

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

    r1370 r1379  
    312312        friend class HierarchyManager; 
    313313 
    314 public: 
    315          
     314protected: 
    316315        struct SortableEntry; 
    317316        typedef vector<SortableEntry> SortableEntryContainer; 
    318317 
     318public: 
     319         
    319320        /** Additional data which is passed down the BSP tree during traversal. 
    320321        */ 
     
    589590        void EvalPriority(BvhTraversalData &tData) const; 
    590591 
    591         /** Evaluates render cost of next split. 
    592         */ 
    593         float EvalRenderCost( 
    594                 const BvhTraversalData &tData, 
    595                 const ObjectContainer &objectsLeft, 
    596                 const ObjectContainer &objectsRight) const; 
     592        /** Evaluates render cost of the bv induced by these objects 
     593        */ 
     594        float EvalRenderCost(const ObjectContainer &objects) const; 
    597595 
    598596        /** Evaluates tree stats in the BSP tree leafs. 
     
    704702        AxisAlignedBox3 ComputeBoundingBox( 
    705703                const ObjectContainer &objects,  
    706                 const AxisAlignedBox3 *parentBox = NULL); 
     704                const AxisAlignedBox3 *parentBox = NULL) const; 
    707705 
    708706        /** Collects list of invalid candidates. Candidates 
     
    785783        /// pointer to the hierarchy of view cells 
    786784        ViewCellsTree *mViewCellsTree; 
    787         /// pointer to the view space partition tree 
    788         VspTree *mVspTree; 
    789785        /// The view cells manager 
    790786        ViewCellsManager *mViewCellsManager; 
Note: See TracChangeset for help on using the changeset viewer.