- Timestamp:
- 12/15/05 18:45:12 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellsManager.h
r467 r468 62 62 @param contributingSamples returns the number of contributingSamples 63 63 */ 64 void ComputeSampleContributions(const VssRayContainer &rays 65 ); 64 void ComputeSampleContributions(const VssRayContainer &rays); 66 65 67 66 … … 94 93 virtual int GetType() const = 0; 95 94 96 /** Simulates rendering with the given view cell partition.97 @returns render time statistics98 */99 SimulationStatistics SimulateRendering() const;100 101 95 /** Load the input viewcells. The input viewcells should be given as a collection 102 96 of meshes. Each mesh is assume to form a bounded polyhedron defining the interior of … … 176 170 PrintPvsStatistics(ostream &s); 177 171 172 /** Returns probability that view point lies in one view cell. 173 */ 174 virtual float GetProbability(ViewCell *viewCell) = 0; 175 176 /** Returns render cost of a single view cell given the render cost of an object. 177 */ 178 virtual float GetRendercost(ViewCell *viewCell, float objRendercost) = 0; 179 180 /** Returns vector of loaded / generated view cells. 181 */ 182 ViewCellContainer &GetViewCells(); 183 178 184 protected: 179 180 185 181 186 … … 239 244 ~BspViewCellsManager(); 240 245 241 int CastLineSegment(const Vector3 &origin, 242 const Vector3 &termination, 243 ViewCellContainer &viewcells 244 ); 245 246 246 int CastLineSegment(const Vector3 &origin, 247 const Vector3 &termination, 248 ViewCellContainer &viewcells); 249 250 float GetProbability(ViewCell *viewCell); 251 float GetRendercost(ViewCell *viewCell, float objRendercost); 252 247 253 protected: 248 254 … … 305 311 */ 306 312 virtual void PrintStatistics(ostream &s) const; 313 314 float GetProbability(ViewCell *viewCell); 315 float GetRendercost(ViewCell *viewCell, float objRendercost); 307 316 308 317 protected: … … 353 362 int CastLineSegment(const Vector3 &origin, 354 363 const Vector3 &termination, 355 ViewCellContainer &viewcells 356 ) ; 364 ViewCellContainer &viewcells); 365 366 float GetProbability(ViewCell *viewCell); 367 float GetRendercost(ViewCell *viewCell, float objRendercost); 357 368 358 369 protected: … … 394 405 395 406 void PrintStatistics(ostream &s) const; 396 397 int CastLineSegment(const Vector3 &origin, 398 const Vector3 &termination, 399 ViewCellContainer &viewcells 400 ) ; 407 408 int CastLineSegment(const Vector3 &origin, 409 const Vector3 &termination, 410 ViewCellContainer &viewcells); 411 412 float GetProbability(ViewCell *viewCell); 413 float GetRendercost(ViewCell *viewCell, float objRendercost); 414 401 415 402 416 protected:
Note: See TracChangeset
for help on using the changeset viewer.