Changeset 2117 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.h
- Timestamp:
- 02/15/07 13:19:17 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.h
r2116 r2117 382 382 383 383 384 // resort pvss after a pass of the algorithm 385 void 386 SortViewCellPvs(); 387 388 // map the ray intersection objects from triangles to high level objects... 389 void 390 DeterminePvsObjects( 391 VssRayContainer &rays, 392 const bool useHitObjects = false); 384 // resort pvss after a pass of the algorithm 385 void SortViewCellPvs(); 386 387 // map the ray intersection objects from triangles to high level objects... 388 void DeterminePvsObjects(VssRayContainer &rays, 389 const bool useHitObjects = false); 393 390 394 391 /** Sets validity of view cell … … 404 401 405 402 406 /** set valid viewcells in the range of pvs. sorts the viewcells407 408 403 /** Set valid viewcells in the range of pvs. sorts the viewcells 404 according to the pvs and then pickups those in the ranges 405 */ 409 406 void SetValidityPercentage(const float minValid, const float maxValid); 410 407 … … 420 417 */ 421 418 int GetMinPvsSize() const; 419 422 420 /** Returns maximal ratio. i.e., currentPVs / maxPvs, 423 421 where pvs is still considered valid. 424 422 */ 425 423 float GetMaxPvsRatio() const; 424 426 425 /** Exports view cell geometry. 427 426 */ 428 virtual void ExportViewCellGeometry( 429 Exporter *exporter, 430 ViewCell *vc, 431 const AxisAlignedBox3 *box, 432 const AxisAlignedPlane *clipPlane = NULL 433 ) const = 0; 427 virtual void ExportViewCellGeometry(Exporter *exporter, 428 ViewCell *vc, 429 const AxisAlignedBox3 *box, 430 const AxisAlignedPlane *clipPlane = NULL 431 ) const = 0; 434 432 435 433 /** Brings the view cells into their final state, computes meshes and volume. … … 446 444 float &avgRenderCost); 447 445 448 449 446 /** Returns hierarchy of the view cells. 450 447 */ … … 488 485 /** Evaluautes histogram for a given number of view cells. 489 486 */ 490 void EvalViewCellHistogramForPvsSize(const string filename, const int nViewCells); 487 void EvalViewCellHistogramForPvsSize(const string filename, 488 const int nViewCells); 491 489 492 490 void EvalViewCellHistogramForPvsSize(const string filename, … … 500 498 of the hierarchy. 501 499 */ 502 void UpdateScalarPvsSize(ViewCell *vc, const float pvsCost, const int entriesInPvs) const; 500 void UpdateScalarPvsSize(ViewCell *vc, 501 const float pvsCost, 502 const int entriesInPvs) const; 503 503 504 504 /** Returns bounding box of a view cell. … … 508 508 /** Exports bounding boxes of objects to file. 509 509 */ 510 bool ExportBoundingBoxes(const string filename, const ObjectContainer &objects) const; 510 bool ExportBoundingBoxes(const string filename, 511 const ObjectContainer &objects) const; 511 512 512 513 /** Load the bounding boxes into the container. 513 514 */ 514 bool LoadBoundingBoxes(const string filename, IndexedBoundingBoxContainer &boxes) const; 515 bool LoadBoundingBoxes(const string filename, 516 IndexedBoundingBoxContainer &boxes) const; 515 517 516 518 /** Returns true if pvs should be exported together with the view cells. … … 523 525 const ViewCellContainer &viewCells) const; 524 526 527 /** Compress the view cells. 528 */ 525 529 virtual void CompressViewCells(); 526 530 … … 616 620 /** Returns the bounding box of filter width. 617 621 */ 618 AxisAlignedBox3 GetFilterBBox(const Vector3 &viewPoint, const float width) const; 622 AxisAlignedBox3 GetFilterBBox(const Vector3 &viewPoint, 623 const float width) const; 619 624 620 625 //////////////////////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.