Ignore:
Timestamp:
08/18/06 19:28:12 (18 years ago)
Author:
mattausch
Message:

added intel ray tracing

File:
1 edited

Legend:

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

    r1197 r1221  
    2626class VspTree; 
    2727class OspTree; 
     28class Intersectable; 
    2829 
    2930/** Namespace for the external visibility preprocessor 
     
    131132  }; 
    132133   
     134  enum { 
     135          INTERNAL_RAYCASTER, 
     136          INTEL_RAYCASTER 
     137  }; 
     138 
    133139  virtual bool 
    134140  GenerateRays( 
     
    144150  */ 
    145151  ViewCellsManager *CreateViewCellsManager(const char *name); 
     152 
     153    
     154  GlRendererBuffer *GetRenderer() { return renderer;} 
     155 
     156  bool InitRayCast(const string externKdTree); 
     157 
     158  //////////////////////////////////////////////// 
    146159 
    147160  /// scene graph loaded from file 
     
    192205 
    193206  float mVisibilityFilterWidth; 
    194    
    195   GlRendererBuffer *GetRenderer() { return renderer;} 
    196    
     207  
     208  int GetRayCastMethod() { return mRayCastMethod; } 
     209  void SetRayCastMethod(int rayCastMethod) { mRayCastMethod = rayCastMethod; } 
     210 
    197211protected: 
    198212 
    199213  ///////////////////////// 
    200214 
     215        int mRayCastMethod; 
    201216  /// samples used for construction of the BSP view cells tree. 
    202217  int mBspConstructionSamples; 
     
    207222  RenderSimulator *mRenderSimulator; 
    208223 
     224  vector<Intersectable *> mFaceParents; 
    209225  GlRendererBuffer *renderer; 
    210226// matt: remove qt dependencies  
Note: See TracChangeset for help on using the changeset viewer.