Changeset 1297 for GTP/trunk/Lib/Vis/Preprocessing/src/BvHierarchy.h
- Timestamp:
- 08/30/06 04:39:53 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/BvHierarchy.h
r1294 r1297 35 35 class VspTree; 36 36 class ViewCellsContainer; 37 class BvhSubdivisionCandidate; 38 37 39 38 40 /** View space partition statistics. … … 45 47 // number of splits 46 48 int splits; 47 48 49 // maximal reached depth 49 50 int maxDepth; 50 51 // minimal depth 51 52 int minDepth; 52 53 53 // max depth nodes 54 54 int maxDepthNodes; … … 123 123 enum {Interior, Leaf}; 124 124 125 BvhNode ::BvhNode();125 BvhNode(); 126 126 BvhNode(const AxisAlignedBox3 &bbox); 127 127 BvhNode(const AxisAlignedBox3 &bbox, BvhInterior *parent); … … 183 183 /// the bounding box of the node 184 184 AxisAlignedBox3 mBoundingBox; 185 186 185 /// parent of this node 187 186 BvhInterior *mParent; … … 246 245 bool IsLeaf() const; 247 246 248 SubdivisionCandidate *GetSubdivisionCandidate() const247 SubdivisionCandidate *GetSubdivisionCandidate()// const 249 248 { 250 249 return mSubdivisionCandidate; 251 250 } 252 251 252 void SetSubdivisionCandidate(SubdivisionCandidate *candidate) 253 { 254 mSubdivisionCandidate = candidate; 255 } 256 253 257 public: 254 258 255 259 /// Rays piercing this leaf. 256 260 VssRayContainer mVssRays; 257 258 261 /// objects 259 262 ObjectContainer mObjects; 260 261 263 /// universal counter 262 264 int mCounter; 263 264 265 265 266 protected:
Note: See TracChangeset
for help on using the changeset viewer.