Changeset 1926 for GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.h
- Timestamp:
- 01/02/07 01:44:59 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/Preprocessor.h
r1900 r1926 111 111 */ 112 112 bool LoadSamples(VssRayContainer &samples, 113 113 ObjectContainer &objects) const; 114 114 115 115 /** Exports samples to file. … … 121 121 bool ExportKdTree(const string filename); 122 122 123 124 125 126 127 128 123 virtual bool 124 ExportRays(const char *filename, 125 const VssRayContainer &vssRays, 126 const int number 127 ); 128 129 129 virtual int 130 GenerateRays(const int number,131 132 133 134 135 136 130 GenerateRays(const int number, 131 SamplingStrategy &strategy, 132 SimpleRayContainer &rays); 133 134 virtual int GenerateRays(const int number, 135 const int raysType, 136 SimpleRayContainer &rays); 137 137 138 138 bool GenerateRayBundle(SimpleRayContainer &rayBundle, … … 142 142 143 143 virtual void CastRays(SimpleRayContainer &rays, 144 145 146 144 VssRayContainer &vssRays, 145 const bool castDoubleRays, 146 const bool pruneInvalidRays = true); 147 147 148 148 /** Returns a view cells manager of the given name. … … 157 157 158 158 Intersectable *GetParentObject(const int index) const; 159 Vector3 GetParentNormal(const int index) const; 159 Vector3 GetParentNormal(const int index) const; 160 161 /** Sets a Preprocessor thread. 162 */ 163 void SetThread(PreprocessorThread *t); 164 165 /** Returns a Preprocessor thread. 166 */ 167 PreprocessorThread *GetThread() const; 168 169 170 160 171 //////////////////////////////////////////////// 161 172 … … 205 216 int mPass; 206 217 207 bool mDelayVisibilityComputation;208 218 bool mStopComputation; 209 219 210 220 bool mExportObj; 211 221 212 213 222 bool mExportRays; 223 int mExportNumRays; 214 224 215 225 ofstream mStats; 216 226 217 GlRendererBuffer *renderer; 218 219 void SetThread(PreprocessorThread *t) { 220 mThread = t; 221 } 222 223 PreprocessorThread *GetThread() const { 224 return mThread; 225 } 227 GlRendererBuffer *renderer; 228 226 229 227 230 protected: … … 255 258 bool mUseViewSpaceBox; 256 259 257 260 PreprocessorThread *mThread; 258 261 }; 259 262
Note: See TracChangeset
for help on using the changeset viewer.