- Timestamp:
- 09/22/06 16:31:02 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/SubdivisionCandidate.h
r1313 r1473 17 17 enum {OBJECT_SPACE, VIEW_SPACE}; 18 18 19 /// the current split plane20 //AxisAlignedPlane mSplitPlane;21 /// split axis of this plane (0, 1, 2, or 3 if non-axis-aligned)22 int mSplitAxis;23 /// the number of misses of max cost ratio until this split24 int mMaxCostMisses;25 26 19 SubdivisionCandidate(): mRenderCostDecrease(0) {}; 27 20 … … 33 26 /** Set render cost decrease achieved through this split. 34 27 */ 35 void SetRenderCostDecrease(const float renderCostDecr)28 inline void SetRenderCostDecrease(const float renderCostDecr) 36 29 { 37 30 mRenderCostDecrease = renderCostDecr; 38 31 } 39 32 40 float GetRenderCostDecrease() const33 inline float GetRenderCostDecrease() const 41 34 { 42 35 return mRenderCostDecrease; … … 49 42 return mPosition; 50 43 } 44 45 /// split axis of this plane (0, 1, 2, or 3 if non-axis-aligned) 46 int mSplitAxis; 47 /// the number of misses of max cost ratio until this split 48 int mMaxCostMisses; 51 49 52 50 protected:
Note: See TracChangeset
for help on using the changeset viewer.