namespace yav class Voxel a generic class for any image type voxel
| | Voxel () empy |
| | ~Voxel () empty |
| | operator= (const Voxel& v) assign this voxel from another one |
| | getValueAsDouble (void) const returns this voxel value converted to a double |
| | setValueFromDouble (double d) assign this voxel value from a double |
| | getValueAsLong (void) const returns this voxel value converted to an integer |
| | getType (void) assign this voxel value from an integer |
| | print (TclString& value) const converts this voxel value to a string |
| | scan (const TclString& value) throw(InvalidValue) reads this voxel value from a string |
| | setMin (void) set voxel value to min possible value |
| | setMax (void) set voxel value to max possible value |
| | maxValue (void) returns voxel max possible value |
| | minValue (void) returns voxel min possible value |
| | voxelByType (Inrimage::WORD_TYPE type, unsigned int vdim = 1) creates a voxel whose dynamic type is given Value is set to 0 |
| | Exception
|
a generic class for any image type voxel
virtual ~Voxel()
virtual Voxel& operator=(const Voxel& v)
virtual double getValueAsDouble(void) const
virtual void setValueFromDouble(double d)
virtual LONGINT getValueAsLong(void) const
virtual Inrimage::WORD_TYPE getType(void)
virtual void print(TclString& value) const
virtual void scan(const TclString& value) throw(InvalidValue)
virtual void setMin(void)
virtual void setMax(void)
virtual double maxValue(void)
virtual double minValue(void)
static Voxel* voxelByType(Inrimage::WORD_TYPE type, unsigned int vdim = 1)
vdim - for vectorial types only:
creates a scalar voxel type if vdim == 1
and a vectorial voxel type otherwise
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