Ignore:
Timestamp:
01/22/08 18:59:25 (16 years ago)
Author:
mattausch
Message:

added new view cell
deleted other view cell generation stuff (please use generate_viewcells.sh script)
added visualizaton method for gvs

File:
1 edited

Legend:

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

    r2615 r2625  
    8484        based on heuristical sampling of view space. 
    8585*/ 
    86 class GvsPreprocessor : public Preprocessor { 
     86class GvsPreprocessor : public Preprocessor  
     87{ 
    8788 
    8889public: 
     
    190191                                                 Vector3 &newPoint) const; 
    191192 
    192         bool NextViewCell(); 
     193        ViewCell *NextViewCell(); 
    193194 
    194195        void GlobalComputation(); 
    195196 
     197        /** Loops over aall view cellls. 
     198        */ 
    196199        void PerViewCellComputation(); 
     200        void PerViewCellComputation2(); 
    197201 
    198202        void VisualizeViewCells(); 
     
    205209        void UpdatePvs(ViewCell *currentViewCell); 
    206210 
     211        void ClearRayQueue(); 
     212 
     213        void CompileViewCellsList(); 
     214 
     215        void GetObjectPvs(ObjectContainer &trianglePvs) const; 
     216 
     217        bool HasContribution(VssRay &ray); 
     218 
     219        void IntersectWithViewCell(); 
     220 
     221        void DeterminePvsObjects(VssRayContainer &rays); 
     222 
     223        void StorePvs(const ObjectContainer &objectPvs); 
     224 
     225        void ComputeViewCell(ViewCell *vc); 
     226        /** Runs gvs on the current view cell. 
     227        */ 
    207228        void ProcessViewCell(); 
    208         void ClearRayQueue(); 
    209  
    210         void CompileViewCellsList(); 
    211  
    212         void GetObjectPvs(ObjectContainer &trianglePvs) const; 
    213  
    214         bool HasContribution(VssRay &ray); 
    215  
    216         void IntersectWithViewCell(); 
    217  
    218         void DeterminePvsObjects(VssRayContainer &rays); 
    219  
    220         //virtual void ComputeRenderError(); 
    221  
    222         void StorePvs(const ObjectContainer &objectPvs); 
     229 
    223230 
    224231 
     
    266273 
    267274        bool mEvaluatePixelError; 
     275 
     276        Vector3 mCurrentViewPoint; 
    268277}; 
    269278 
Note: See TracChangeset for help on using the changeset viewer.