Ignore:
Timestamp:
01/21/06 18:32:30 (18 years ago)
Author:
bittner
Message:

rss sampling changes, preprocessor::GenerateRays?

File:
1 edited

Legend:

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

    r562 r563  
    6868                @param rays bundle of rays used to find intersections with view cells and  
    6969                adding the contribution 
    70                 @param castRays true if ray should be cast to gain the information, false if rays 
    71                 already hold the view cells intersection information and need not be recast. 
    72                 @param sampleContributions returns the number of sample contributions 
    73                 @param contributingSamples returns the number of contributingSamples 
    74         */ 
    75         void  ComputeSampleContributions(const VssRayContainer &rays); 
    76  
     70                @param addRays true if rays should be added to the PVSs of the viewcells they 
     71                intersect */ 
     72  float ComputeSampleContributions(const VssRayContainer &rays, 
     73                                                                   const bool addContributions = true); 
     74 
     75  /** Add sample contributions to the viewcells they intersect */ 
     76  void AddSampleContributions(const VssRayContainer &rays); 
     77   
    7778 
    7879        /** Computes sample contribution of a simgle ray to the view cells PVS. 
     
    8384                @returns number of sample contributions 
    8485        */ 
    85         virtual void ComputeSampleContributions(VssRay &ray); 
    86    
     86        virtual float ComputeSampleContributions(VssRay &ray, const bool addRays = true); 
     87 
     88  virtual void AddSampleContributions(VssRay &ray); 
     89 
    8790        /** Prints out statistics of the view cells. 
    8891        */ 
Note: See TracChangeset for help on using the changeset viewer.