Ignore:
Timestamp:
08/11/06 15:23:47 (18 years ago)
Author:
bittner
Message:

code merge

File:
1 edited

Legend:

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

    r860 r1199  
    3838  HoleSamplingPass(); 
    3939   
    40   /** Casts a bundle of sample rays into the scene. 
    41                 @param sampleContributions the number of sample contributions 
    42                 @param contributingSamples the number of samples contributing 
    43         */ 
    44         void 
    45         CastRays(const RayContainer &rays); 
    46          
    47         /** Casts a single ray into the scene. 
    48                 @returns sample contributions 
    49         */ 
    50         int CastRay(Ray &ray); 
    51          
    52         /** Verify if the exact visibility for this object was established. 
    53         */ 
    54         void 
    55         VerifyVisibility(Intersectable *object); 
    56  
    57         /** Sample the shiluette of objects in order to find visibility changes 
    58                 along the visibility skeleton. 
    59         */ 
    60         int  
    61         CastEdgeSamples( 
    62                                         Intersectable *object, 
    63                                         const Vector3 &point, 
    64                                         MeshInstance *mi, 
    65                                         const int samples 
    66                                         ); 
    67  
    68         /** Processes the view cells during a pass. 
    69                 @param newRays the newly cast rays 
    70                 @param sampleContributions returns the accumulated contribution of the samples 
    71                 @param contributingSamples returns the samples contributing to pvs 
    72         */ 
    73          
    74         void ProcessViewCells(const RayContainer &newRays, 
    75                                                   const ObjectContainer &objects, 
    76                                                   int &sampleContributions, 
    77                                                   int &contributingSamples); 
    78  
    79         /** 
    80                 Returns random node as target for the current sample ray. 
    81         */ 
    82         KdNode *GetNodeToSample(Intersectable *object); 
    83  
     40   
     41  Intersectable * 
     42  CastRay( 
     43                  const Vector3 &origin, 
     44                  const Vector3 &direction 
     45                  ); 
     46   
     47  /** Verify if the exact visibility for this object was established. 
     48   */ 
     49  void 
     50  VerifyVisibility(Intersectable *object); 
     51   
    8452 
    8553protected: 
Note: See TracChangeset for help on using the changeset viewer.