Changeset 1558 for GTP/trunk/Lib
- Timestamp:
- 10/03/06 12:07:06 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing
- Files:
-
- 11 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellBsp.cpp
r1557 r1558 271 271 272 272 273 bool BspTree::IsOutOfBounds(ViewCell *vc) const 274 { 275 return vc->GetId() == OUT_OF_BOUNDS_ID; 276 } 277 278 273 279 const BspTreeStatistics &BspTree::GetStatistics() const 274 280 { -
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellBsp.h
r1557 r1558 685 685 void SetViewCellsTree(ViewCellsTree *vct); 686 686 687 /** Returns view cell representing the empty view space. 688 */ 689 BspViewCell *GetOrCreateOutOfBoundsCell(); 687 /** Returns true if this view cell prepresents 688 invalid view space. 689 */ 690 bool IsOutOfBounds(ViewCell *vc) const; 690 691 691 692 protected: … … 726 727 }; 727 728 729 /** Returns view cell representing the empty view space. 730 */ 731 BspViewCell *GetOrCreateOutOfBoundsCell(); 732 728 733 void ExportNode(BspNode *node, OUT_STREAM &stream); 729 734 -
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsParser.cpp
r1551 r1558 662 662 663 663 int viewCellId; 664 665 int len = attributes.getLength(); 664 const int len = attributes.getLength(); 666 665 667 666 for (int i = 0; i < len; ++ i) -
GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.cpp
r1557 r1558 255 255 } 256 256 else 257 { 257 258 DEL_PTR(poly); 259 } 258 260 } 259 261 return (int)mesh->mFaces.size();
Note: See TracChangeset
for help on using the changeset viewer.