Ignore:
Timestamp:
09/22/06 16:31:02 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/SubdivisionCandidate.h

    r1313 r1473  
    1717        enum {OBJECT_SPACE, VIEW_SPACE}; 
    1818 
    19         /// the current split plane 
    20         //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 split 
    24         int mMaxCostMisses; 
    25  
    2619        SubdivisionCandidate(): mRenderCostDecrease(0) {}; 
    2720 
     
    3326        /** Set render cost decrease achieved through this split. 
    3427        */ 
    35         void SetRenderCostDecrease(const float renderCostDecr) 
     28        inline void SetRenderCostDecrease(const float renderCostDecr) 
    3629        { 
    3730                mRenderCostDecrease = renderCostDecr; 
    3831        } 
    3932         
    40         float GetRenderCostDecrease() const 
     33        inline float GetRenderCostDecrease() const 
    4134        { 
    4235                return mRenderCostDecrease; 
     
    4942                return mPosition; 
    5043        } 
     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; 
    5149 
    5250protected: 
Note: See TracChangeset for help on using the changeset viewer.