Ignore:
Timestamp:
07/13/06 09:06:21 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r1112 r1133  
    1212class AxisAlignedBox3; 
    1313class Intersectable; 
     14class KdNode; 
    1415 
    1516class VssRay { 
     
    5051  ViewCellContainer mViewCells; 
    5152   
     53 
    5254  //////////////////////// 
    5355  // members related to importance sampling 
     
    7072   
    7173  ////////////////////////////// 
     74 
     75   
     76  /// the kd node holding the termination point 
     77  KdNode *mTerminationNode; 
     78  /// the kd node holding the origin point 
     79  KdNode *mOriginNode; 
     80 
     81 
    7282  VssRay( 
    7383                 const Vector3 &origin, 
     
    8898        mViewCells(0), 
    8999        mWeightedPvsContribution(0), 
    90         mPdf(pdf) 
    91   { 
    92     Precompute(); 
    93   } 
     100        mPdf(pdf), 
     101        mTerminationNode(NULL), 
     102        mOriginNode(NULL) 
     103        { 
     104                Precompute(); 
     105        } 
    94106         
    95107  VssRay(const Ray &ray): 
     
    100112        mPass(0), 
    101113        mViewCells(0), 
    102         mPdf(1.0f) 
     114        mPdf(1.0f), 
     115        mTerminationNode(NULL), 
     116        mOriginNode(NULL) 
    103117  { 
    104118        if (ray.sourceObject.mObject) 
Note: See TracChangeset for help on using the changeset viewer.