35 #ifndef AIMS_ROI_CLUSTERARG_H
36 #define AIMS_ROI_CLUSTERARG_H
52 int minsz = 0,
const std::string & mtxfile =
"",
53 bool mkmesh =
true,
float maxclear = 5.,
54 float maxerr = 0.1,
uint minfac = 50,
bool bin =
false,
55 float low = -FLT_MAX,
float up = FLT_MAX );
59 std::string
filename()
const {
return( _fileout ); }
65 { _matrix = mtxfile; }
82 template<
typename T>
void make(
91 float _deciMaxClearance;
std::string filename() const
void setConnectivity(Connectivity::Type conn)
void setUpperThershold(float x)
float decimationMaxClearance() const
std::string transformationFilename() const
void setFilename(const std::string &n)
void setTransformationFilename(const std::string &mtxfile)
int minClusterSize() const
Connectivity::Type connectivity() const
void setDecimationMaxClearance(float x)
void setDecimationMaxError(float x)
ClusterArgMaker(const std::string &outfilename, Connectivity::Type conn=Connectivity::CONNECTIVITY_18_XYZ, int minsz=0, const std::string &mtxfile="", bool mkmesh=true, float maxclear=5., float maxerr=0.1, uint minfac=50, bool bin=false, float low=-FLT_MAX, float up=FLT_MAX)
float lowThreshold() const
float decimationMaxError() const
void setMinFacetNumber(uint x)
void setLowThreshold(float x)
void make(Graph &gr, const carto::rc_ptr< carto::Volume< T > > &data)
uint minFacetNumber() const
float upperThreshold() const
void setMinClusterSize(int sz)