36 #ifndef AIMS_MESH_CONNECTIVITY_MESHCC_H
37 #define AIMS_MESH_CONNECTIVITY_MESHCC_H
54 T threshold,
int mode=1);
74 const T & background = 0,
unsigned long ncomp = 1,
75 unsigned long min_npts = 0,
float min_surf = 0. );
const int FORBIDDEN
hum, should not be there as a global, non-namespaced variable...
Texture< T > AimsMeshFilterConnectedComponent(const AimsSurface< 3, Void > &mesh, const Texture< T > &inittex, T label, const T &background=0, unsigned long ncomp=1, unsigned long min_npts=0, float min_surf=0.)
Split label "label" into connected components, then filter smaller ones out.
Texture< T > AimsMeshLabelConnectedComponent2Texture(const AimsSurface< 3, Void > &mesh, const Texture< T > &inittex, T threshold)
AIMSALGO_API Texture< T > AimsMeshLabelConnectedComponent(const AimsSurface< 3, Void > &mesh, const Texture< T > &inittex, T threshold, int mode=1)
unsigned AimsMeshLabelNbConnectedComponent(const AimsSurface< 3, Void > &mesh, const Texture< T > &inittex, const T lab)