35 #ifndef AIMS_DISTANCEMAP_FASTMARCHING_H 36 #define AIMS_DISTANCEMAP_FASTMARCHING_H 48 namespace fastmarching
97 bool mid_interface =
false );
99 void setVerbose(
bool x );
110 int16_t worklabel, int16_t inlabel, int16_t outlabel);
119 const std::set<int16_t> & worklabels,
120 const std::set<int16_t> & seedlabels);
130 int16_t label2 )
const;
137 int16_t label2 )
const;
142 std::vector<std::pair<int16_t,int16_t> > midInterfaceLabels ()
const;
144 RCType voronoiVol()
const;
166 void clearSpeedMap();
183 namespace fastmarching
186 template <
typename T>
197 static const LowLevelType &
lowlevel(
const RCType & x )
201 template <
typename T>
211 {
return x->begin().second; }
212 static const LowLevelType &
lowlevel(
const RCType & x )
213 {
return x->begin().second; }
static LowLevelType & lowlevel(RCType &x)
carto::Volume< T > LowLevelType
carto::Volume< float > FloatType
BucketMap< T >::Bucket LowLevelType
internal::fastmarching::StorageTrait< FloatType >::RCType RCFloatType
carto::rc_ptr< BucketMap< T > > RCType
std::map< Point3d, T, BucketMapLess > Bucket
internal::fastmarching::StorageTrait< T >::RCType RCType
static const LowLevelType & lowlevel(const RCType &x)
Fast marching algorithm implementation, for images or buckets.
static const LowLevelType & lowlevel(const RCType &x)
carto::VolumeRef< T > RCType
carto::rc_ptr< T > RCType
static LowLevelType & lowlevel(RCType &x)
BucketMap< float > FloatType
internal::fastmarching::StorageTrait< T >::FloatType FloatType