Changeset 2726 for GTP/trunk/Lib/Vis/Preprocessing/src/GvsPreprocessor.h
- Timestamp:
- 05/30/08 02:37:07 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/GvsPreprocessor.h
r2705 r2726 39 39 mGvsRuns = 0; 40 40 41 mRandomSamples = 0; 42 mGvsSamples = 0; 41 43 mTotalPvs = 0; 42 44 mViewCells = 0; … … 54 56 public: 55 57 58 int mRandomSamples; 59 int mGvsSamples; 56 60 int mPass; 57 61 int mTotalSamples; … … 141 145 b) if triangle was found reverse sampling 142 146 */ 143 bool HandleRay(VssRay *ray);147 inline bool HandleRay(VssRay *ray); 144 148 145 149 /** The adaptive border sampling step. It aims to find neighbouring … … 157 161 const VssRay &oldRay); 158 162 163 bool ReverseSampling2(const VssRay ¤tRay, 164 const Triangle3 &hitTriangle, 165 const VssRay &oldRay, 166 VssRayContainer &reverseRays); 167 159 168 /** Returns true if we sampled a closer triangle than with the previous ray. 160 169 Does reverse sampling if gap found. … … 167 176 with respect to the previous ray. 168 177 */ 169 void EnqueueRays(VssRayContainer &samples , VssRayContainer &invalidSamples);178 void EnqueueRays(VssRayContainer &samples); 170 179 171 180 /** Hepler function for adaptive border sampling. It finds … … 239 248 */ 240 249 void UpdateStatsForVisualization(KdIntersectable *kdInt); 250 251 void CompileViewCellsFromPointList(); 252 253 void ComputeStats(); 254 255 int ConvertObjectPvs(); 241 256 /** Keep count of new objects for stats. Returns number of new pvs entries. 242 257 */ 243 int CountObject(Intersectable *triObj); 244 245 void CompileViewCellsFromPointList(); 246 247 bool AddTriangleObject(Intersectable *triObj); 248 249 void ComputeStats(); 250 251 int ConvertObjectPvs(); 258 inline int CountObject(Intersectable *triObj); 259 260 inline bool AddTriangleObject(Intersectable *triObj); 261 262 inline void AddKdNodeToPvs(const Vector3 &termination); 252 263 253 264
Note: See TracChangeset
for help on using the changeset viewer.