Ignore:
Timestamp:
01/17/06 23:28:10 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r542 r547  
    251251        virtual int CastBeam(Beam &beam); 
    252252 
     253        /** Checks if view cell is considered as valid. 
     254        */ 
     255        virtual bool CheckValid(ViewCell *vc) const; 
     256 
     257        /** Returns maximal allowed pvs size. 
     258        */ 
     259        int GetMaxPvsSize() const; 
     260 
     261 
     262        /** Exports view cell geometry. 
     263        */ 
     264        virtual void ExportVcGeometry(Exporter *exporter, ViewCell *vc) const = 0; 
     265 
    253266protected: 
    254267 
     
    258271        */ 
    259272        void CreateUniqueViewCellIds(); 
     273 
    260274        /** Recollects view cells and resets statistics. 
    261275        */ 
     
    281295        virtual void ExportColor(Exporter *exporter, ViewCell *vc) const = 0; 
    282296 
    283         /** Exports view cell geometry. 
    284         */ 
    285         virtual void ExportVcGeometry(Exporter *exporter, ViewCell *vc) const = 0; 
    286  
     297         
    287298        /** Creates meshes from the view cells. 
    288299        */ 
     
    316327        float mTotalAreaValid; 
    317328        float mTotalArea; 
     329 
     330        int mMaxPvsSize; 
     331 
     332        float mMaxPvsRatio; 
    318333 
    319334        ViewCellsStatistics mViewCellsStats; 
     
    324339        /// if view cells should be exported 
    325340        bool mExportViewCells; 
     341 
     342 
    326343        //-- visualization options 
    327344         
     
    380397        void CreateMesh(ViewCell *vc); 
    381398 
     399        void ExportVcGeometry(Exporter *exporter, ViewCell *vc) const; 
     400 
    382401protected: 
    383402 
     
    396415 
    397416        void ExportColor(Exporter *exporter, ViewCell *vc) const; 
    398         void ExportVcGeometry(Exporter *exporter, ViewCell *vc) const; 
     417         
     418 
    399419 
    400420        /// the BSP tree. 
     
    453473        void CreateMesh(ViewCell *vc); 
    454474 
     475        void ExportVcGeometry(Exporter *exporter, ViewCell *vc) const; 
     476 
    455477protected: 
    456478 
     
    459481 
    460482        void ExportColor(Exporter *exporter, ViewCell *vc) const; 
    461         void ExportVcGeometry(Exporter *exporter, ViewCell *vc) const; 
     483 
    462484 
    463485        /// the BSP tree. 
     
    509531        void CreateMesh(ViewCell *vc); 
    510532 
     533        void ExportVcGeometry(Exporter *exporter, ViewCell *vc) const; 
     534 
    511535protected: 
    512536 
     
    517541 
    518542        void ExportColor(Exporter *exporter, ViewCell *vc) const; 
    519         void ExportVcGeometry(Exporter *exporter, ViewCell *vc) const; 
     543 
    520544 
    521545 
     
    573597        int CastBeam(Beam &beam); 
    574598 
     599        void ExportVcGeometry(Exporter *exporter, ViewCell *vc) const; 
     600 
    575601protected: 
    576602 
     
    591617 
    592618        void ExportColor(Exporter *exporter, ViewCell *vc) const; 
    593         void ExportVcGeometry(Exporter *exporter, ViewCell *vc) const; 
    594  
    595619 
    596620        /// the view space partition BSP tree. 
Note: See TracChangeset for help on using the changeset viewer.