- Timestamp:
- 01/17/06 23:28:10 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellsManager.h
r542 r547 251 251 virtual int CastBeam(Beam &beam); 252 252 253 /** Checks if view cell is considered as valid. 254 */ 255 virtual bool CheckValid(ViewCell *vc) const; 256 257 /** Returns maximal allowed pvs size. 258 */ 259 int GetMaxPvsSize() const; 260 261 262 /** Exports view cell geometry. 263 */ 264 virtual void ExportVcGeometry(Exporter *exporter, ViewCell *vc) const = 0; 265 253 266 protected: 254 267 … … 258 271 */ 259 272 void CreateUniqueViewCellIds(); 273 260 274 /** Recollects view cells and resets statistics. 261 275 */ … … 281 295 virtual void ExportColor(Exporter *exporter, ViewCell *vc) const = 0; 282 296 283 /** Exports view cell geometry. 284 */ 285 virtual void ExportVcGeometry(Exporter *exporter, ViewCell *vc) const = 0; 286 297 287 298 /** Creates meshes from the view cells. 288 299 */ … … 316 327 float mTotalAreaValid; 317 328 float mTotalArea; 329 330 int mMaxPvsSize; 331 332 float mMaxPvsRatio; 318 333 319 334 ViewCellsStatistics mViewCellsStats; … … 324 339 /// if view cells should be exported 325 340 bool mExportViewCells; 341 342 326 343 //-- visualization options 327 344 … … 380 397 void CreateMesh(ViewCell *vc); 381 398 399 void ExportVcGeometry(Exporter *exporter, ViewCell *vc) const; 400 382 401 protected: 383 402 … … 396 415 397 416 void ExportColor(Exporter *exporter, ViewCell *vc) const; 398 void ExportVcGeometry(Exporter *exporter, ViewCell *vc) const; 417 418 399 419 400 420 /// the BSP tree. … … 453 473 void CreateMesh(ViewCell *vc); 454 474 475 void ExportVcGeometry(Exporter *exporter, ViewCell *vc) const; 476 455 477 protected: 456 478 … … 459 481 460 482 void ExportColor(Exporter *exporter, ViewCell *vc) const; 461 void ExportVcGeometry(Exporter *exporter, ViewCell *vc) const; 483 462 484 463 485 /// the BSP tree. … … 509 531 void CreateMesh(ViewCell *vc); 510 532 533 void ExportVcGeometry(Exporter *exporter, ViewCell *vc) const; 534 511 535 protected: 512 536 … … 517 541 518 542 void ExportColor(Exporter *exporter, ViewCell *vc) const; 519 void ExportVcGeometry(Exporter *exporter, ViewCell *vc) const; 543 520 544 521 545 … … 573 597 int CastBeam(Beam &beam); 574 598 599 void ExportVcGeometry(Exporter *exporter, ViewCell *vc) const; 600 575 601 protected: 576 602 … … 591 617 592 618 void ExportColor(Exporter *exporter, ViewCell *vc) const; 593 void ExportVcGeometry(Exporter *exporter, ViewCell *vc) const;594 595 619 596 620 /// the view space partition BSP tree.
Note: See TracChangeset
for help on using the changeset viewer.