36#ifndef AIMS_MESH_CONNECTIVITY_MESHCC_H
37#define AIMS_MESH_CONNECTIVITY_MESHCC_H
40#include <aims/mesh/texture.h>
41#include <aims/mesh/surface.h>
54 T threshold,
int mode=1,
int verbose=0 );
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.
unsigned AimsMeshLabelNbConnectedComponent(const AimsSurface< 3, Void > &mesh, const Texture< T > &inittex, const T lab)
AIMSALGO_API Texture< T > AimsMeshLabelConnectedComponent(const AimsSurface< 3, Void > &mesh, const Texture< T > &inittex, T threshold, int mode=1, int verbose=0)
Texture< T > AimsMeshLabelConnectedComponent2Texture(const AimsSurface< 3, Void > &mesh, const Texture< T > &inittex, T threshold)