Ignore:
Timestamp:
01/15/08 15:37:02 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r2586 r2598  
    77#include "Containers.h" 
    88#include "ViewCell.h" 
     9#include "RandomViewCellsHandler.h" 
     10 
    911 
    1012#define TEST_PACKETS 0 
     
    4547struct BspRay; 
    4648class BspTree; 
    47  
     49//class RandomViewCellsHandler; 
    4850 
    4951 
     
    7779}; 
    7880 
    79 typedef pair<ViewCell *, SimpleRayContainer> ViewCellPoints; 
    8081 
    8182struct VizBuffer 
     
    507508        */ 
    508509        int GetNumViewCells() const; 
    509  
    510         bool GenerateRandomViewCells(ViewCellContainer &viewCells,  
    511                                                                  const int numViewCells); 
    512  
    513         bool GenerateRandomViewCells(vector<ViewCellPoints *> &viewCells, 
    514                                                                  const int nViewCells, 
    515                                                                  const int nViewPoints); 
    516  
    517  
    518         bool GenerateViewPoints(ViewCell *viewCell,  
    519                                                         const int numViewPoints, 
    520                                                         SimpleRayContainer &viewPoints); 
    521  
    522         bool ImportRandomViewCells(const string &filename,  
    523                                                            vector<ViewCellPoints *> &viewCells); 
    524  
    525         bool ImportRandomViewCells(const string &filename); 
    526  
    527         bool ExportRandomViewCells(const string &filename, 
    528                                                            const vector<ViewCellPoints *> &viewCells); 
    529  
     510        /** Returns the stored list of view cells and view points. 
     511        */ 
     512        ViewCellPointsList *GetViewCellPointsList(); 
     513        /** Exports list of random view cells. 
     514        */ 
    530515        bool ExportRandomViewCells(const string &filename); 
    531  
    532         bool GenerateViewPoint(ViewCell *viewCell, SimpleRay &ray); 
    533  
    534         bool IsValidViewSpace(ViewCell *vc); 
     516        /** Imports list of random view cells and view points. 
     517        */ 
     518        bool ImportViewCellsList(const string &filename); 
    535519 
    536520 
     
    642626        { 
    643627                mPreprocessor = p; 
    644         } 
    645  
    646         vector<ViewCellPoints *> *GetViewCellPoints() 
    647         { 
    648                 return &mViewCellPoints; 
    649628        } 
    650629 
     
    822801        bool mCompressViewCells; 
    823802 
    824         vector<ViewCellPoints *> mViewCellPoints; 
     803        /// Handler for generating and loading random view cells. 
     804        RandomViewCellsHandler *mRandomViewCellsHandler; 
    825805 
    826806        /// holds the current view cell statistics 
Note: See TracChangeset for help on using the changeset viewer.