36 #ifndef AIMS_DISTANCEMAP_MESHDISTANCE_H
37 #define AIMS_DISTANCEMAP_MESHDISTANCE_H
50 namespace meshdistance
59 float radius_close,
float radius_erode) ;
73 float max_dist = FLT_MAX );
84 typename MapType=std::vector< std::map<size_t, float> > >
89 float max_dist = FLT_MAX );
97 template <
typename MapType=std::vector< std::map<
size_t,
float> > >
101 float max_dist = FLT_MAX )
116 std::vector<std::map<size_t, float> > & distmaps,
119 float max_dist = FLT_MAX );
Texture< float > GeodesicDepth(const AimsSurface< 3, Void > &mesh, const carto::rc_ptr< carto::Volume< short > > &vol, float radius_close, float radius_erode)
Compute the geodesic depth of a triangulation The vol define the object and the background The radius...
void pairwiseDistanceMaps(const AimsSurface< 3, Void > &mesh, MapType &distmaps, const Texture< T > &inittex, float max_dist=FLT_MAX)
Computes a distance matrix over a mesh.
Texture< float > MeshDistance(const AimsSurface< 3, Void > &mesh, const Texture< T > &inittex, bool allowUnreached, float max_dist=FLT_MAX)
Computes a distance texture over a mesh.