Changeset 660 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.h
- Timestamp:
- 02/21/06 17:42:39 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.h
r651 r660 320 320 virtual void ExportViewCellGeometry(Exporter *exporter, 321 321 ViewCell *vc, 322 const Plane3 *c uttingPlane = NULL) const = 0;322 const Plane3 *clipPlane = NULL) const = 0; 323 323 324 324 virtual void FinalizeViewCells(const bool createMesh); … … 352 352 void CollectViewCells(const int n); 353 353 354 /** Returns true if this (logical) view cell is equal to a spatial node. 355 */ 354 356 virtual bool EqualToSpatialNode(ViewCell *viewCell) const { return false;} 355 357 358 /** Sets current view cells set to active, i.e., the sampling is done in this view cell set. 359 */ 360 void SetViewCellsActive(); 361 362 /** Evaluates worth of current view cell hierarchy. 363 */ 364 void EvalViewCellPartition(); 356 365 357 366 protected: … … 407 416 void CreateViewCellMeshes(); 408 417 409 410 418 /** Takes different measures to prepares the view cells after loading them from disc. 411 419 */ 412 420 virtual void PrepareLoadedViewCells() {}; 413 421 414 415 void CreateCuttingPlane(); 416 417 Plane3 mCuttingPlane; 418 bool mUseCuttingPlaneForViz; 422 /** Creates clip plane for visualization. 423 */ 424 void CreateClipPlane(); 425 426 Plane3 mClipPlane; 427 bool mUseClipPlaneForViz; 419 428 420 429 … … 441 450 float mMaxPvsRatio; 442 451 452 int mSamplingType; 443 453 int mNumActiveViewCells; 444 454 bool mCompressViewCells; 445 455 446 ViewCellsStatistics m ViewCellsStats;456 ViewCellsStatistics mCurrentViewCellsStats; 447 457 /// the scene bounding box 448 458 AxisAlignedBox3 mViewSpaceBox; … … 517 527 void ExportViewCellGeometry(Exporter *exporter, 518 528 ViewCell *vc, 519 const Plane3 *c uttingPlane = NULL) const;529 const Plane3 *clipPlane = NULL) const; 520 530 521 531 void CollectMergeCandidates(const VssRayContainer &rays, … … 600 610 void ExportViewCellGeometry(Exporter *exporter, 601 611 ViewCell *vc, 602 const Plane3 *c uttingPlane = NULL) const;612 const Plane3 *clipPlane = NULL) const; 603 613 604 614 void CollectMergeCandidates(const VssRayContainer &rays, … … 666 676 void ExportViewCellGeometry(Exporter *exporter, 667 677 ViewCell *vc, 668 const Plane3 *c uttingPlane = NULL) const;678 const Plane3 *clipPlane = NULL) const; 669 679 670 680 void CollectMergeCandidates(const VssRayContainer &rays, vector<MergeCandidate> &candidates); … … 735 745 void ExportViewCellGeometry(Exporter *exporter, 736 746 ViewCell *vc, 737 const Plane3 *c uttingPlane = NULL) const;747 const Plane3 *clipPlane = NULL) const; 738 748 739 749 //float GetVolume(ViewCell *viewCell) const;
Note: See TracChangeset
for help on using the changeset viewer.