a class that store all information necessary for computing an external force based on the image classification
![]() | informationName name stored in the Range Information |
![]() | range the half-distance along which the highest gradient voxel is searched |
![]() | nin number of elements in in array
|
![]() | nout number of elements in out array
|
![]() | in class values that should be inside the model |
![]() | out class values that should be outside the model |
![]() | inlength minimum length of inside voxels |
![]() | outlength minimum length of outside voxels |
a class that store all information necessary for computing an external force based on the image classification
double range
unsigned int nin
in
array
unsigned int nout
out
array
unsigned char* in
unsigned char* out
double inlength
double outlength
constructor
ClassInrimageInformation(double max = 10.0, unsigned int _nint = 0, unsigned char *_in=0, unsigned int _nout = 0, unsigned char *_out=0)
_nint - the number of elements in the array describing the inside class labels
_in - the array describing the inside class labels
_nout - the number of elements in the array describing the outside class labels
_out - the array describing the outside class labels destructor
static RangeInformation* readClassInformation(GFInput &input)
virtual RangeInformation* duplicate()
virtual void writeInFile(GFOutput &output)
double getMaxDistance(void) const
void setMaxDistance(double r)
double getInlength(void) const
double getOutlength(void) const
void setInlength(double d)
void setOutlength(double d)
unsigned int getMaxInClasses() const
unsigned int getMaxOutClasses() const
unsigned char getIn(unsigned int i)
unsigned char getOut(unsigned int i)
const unsigned char* getInArray(unsigned int& _nin) const
const unsigned char* getOutArray(unsigned int& _nout) const
void setInArray(unsigned int _nin, const unsigned char *_in)
array - of inner class values void setOutArray(unsigned int _nout, const unsigned char *_out)
array - of outter class values
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de