Ignore:
Timestamp:
11/02/07 09:00:20 (17 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r2543 r2559  
    7878 
    7979        // pool of vss rays to be used in one pass of the sampling 
    80         struct VssRayPool { 
     80        struct VssRayPool  
     81        { 
    8182                VssRayPool(): mRays(NULL), mIndex(0), mNumber(0)  
    8283                {} 
     
    8788                } 
    8889 
    89                 void Reserve(const int number) { 
     90                void Reserve(const int number)  
     91                { 
    9092                        DEL_PTR(mRays); 
    9193                        mRays = new VssRay[number]; 
     
    9395                } 
    9496 
    95                 void Clear() { 
     97                void Clear()  
     98                { 
    9699                        mIndex = 0; 
    97100                } 
    98                 VssRay *Alloc() { 
     101                 
     102                VssRay *Alloc()  
     103                { 
    99104                        // reset pool 
    100105                        if (mIndex == mNumber) 
     
    110115        VssRayPool mVssRayPool; 
    111116 
    112         void ReserveVssRayPool(const int n) { 
     117        void ReserveVssRayPool(const int n)  
     118        { 
    113119                mVssRayPool.Reserve(n); 
    114120        } 
    115121 
    116         void InitPass() { 
     122        void InitPass()  
     123        { 
    117124                mVssRayPool.Clear(); 
    118125        } 
Note: See TracChangeset for help on using the changeset viewer.