Ignore:
Timestamp:
01/23/06 02:56:48 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r562 r564  
    261261                @returns number of refined view cells 
    262262        */ 
    263         int RefineViewCells(const VssRayContainer &rays); 
     263        int RefineViewCells(const VssRayContainer &rays, const ObjectContainer &objects); 
    264264 
    265265        /** Collapses the tree with respect to the view cell partition. 
     
    615615        float GetMemUsage() const; 
    616616 
     617        /** Calculates cost for merge of view cell 1 and 2. 
     618        */ 
    617619        float GetShuffledVcCost(BspLeaf *leaf, BspViewCell *vc1, BspViewCell *vc2) const; 
     620 
     621        void ExportMergedViewCells(ViewCellContainer &viewCells,  
     622                                                           const ObjectContainer &objects, 
     623                                                           const int nViewCells); 
    618624 
    619625        /// Pointer to the root of the tree 
     
    722728        /// the tree is out of memory 
    723729        bool mOutOfMemory; 
     730        /// if merge visualization should be shown 
     731        bool mExportMergedViewCells; 
     732        /// if merge statistics should be exported 
     733        bool mExportMergeStats; 
    724734 
    725735private: 
     
    784794        /// maximal pvs size 
    785795        static int sMaxPvsSize; 
     796        /// minimal pvs size 
     797        //static int sMinPvsSize; 
     798 
    786799        /// overall cost used to normalize cost ratio 
    787800        static float sOverallCost; 
     
    823836        Real collectTime; 
    824837        Real mergeTime; 
     838 
     839        Real overallCost; 
    825840 
    826841        // Constructor 
     
    844859                collectTime = 0; 
    845860                mergeTime = 0; 
     861                overallCost = 0; 
    846862        } 
    847863 
Note: See TracChangeset for help on using the changeset viewer.