sequence of 3D inrimages
![]() | getArray (void) const returns 4D index array |
![]() | getBounds (Voxel *min, Voxel *max, bool vectorNorm = true) const compute inrimage grey level bounds |
![]() | readInrNames (GFInput &input) general format read function for Inrimage names module |
![]() | skipInrNames (GFInput &input) general format skip function for Inrimage names module |
![]() | writeInrNames (GFOutput &output) general format write function for Inrimage names module |
![]() | getVoxel (unsigned int x, unsigned int y, unsigned int z, unsigned int t) const returns a Voxel representing given image voxel |
![]() | getVoxel (unsigned int x, unsigned int y, unsigned int z, unsigned int t, Voxel& v) const stores voxel (x, y, z) value in v |
![]() | setVoxel (unsigned int x, unsigned int y, unsigned int z, unsigned int t, const Voxel& v) set given image voxel with transmitted voxel value |
![]() | getInrimage (unsigned int& i) Returns 3D inrimage at instant i |
![]() | getFirstInrimage () const returns 3D inrimage at first instant |
![]() | getInrimages (void) returns inrimages vector |
![]() | getInrimageList (void) returns inrimages list |
![]() | dying (const ObjectPointer<Inrimage> & obj) an image owned by this 4D image is being destroyed : destroy 4D image |
![]() | getName (void) const returns 4D inrimage file name |
![]() | setName (const char *_name) set new 4D inrimage file name |
![]() | getVectorialMode () const get VECTORIAL_MODE |
![]() | getType (void) const returns inrimage type |
![]() | getTimeDimension () const get image time dimension |
![]() | getX () const get image x dimension |
![]() | getY () const get image y dimension |
![]() | getZ () const get image z dimension |
![]() | getVdim (void) const get image vectorial dimension |
![]() | getWdim (void) const get image words size (in bytes) |
![]() | getVX () const get image voxel size in x dimension |
![]() | getVY () const get image voxel size in y dimension |
![]() | getVZ () const get image voxel size in z dimension |
![]() | getVT () const get image voxel size in time dimension |
![]() | setVT (const float &_vt) set the voxel size in the time dimension |
![]() | setVoxelSize (float _vx, float _vy, float _vz, float _vt) throw(BaseInrimage::InvalidVoxelSize) set the voxel size including time dimension |
![]() | crop (unsigned int x1, unsigned int y1, unsigned int z1, unsigned int x2, unsigned int y2, unsigned int z2) throw(Inrimage::InvalidArguments) crops region between (x1, y1, z1) and (x2, y2, z2) in each 3D inrimage Crop expects x1 < x2, y1 < y2 and z1 < z2 |
![]() | exception | ||||
![]() | constructors
| ||||
![]() | destructor
|
![]() | name 4D inrimage file name |
![]() | inrs list of 3D inrimages |
![]() | inrPointers list of pointers on 3D inrimages |
![]() | array 4D index array to access [T][Z][Y][X] voxel |
![]() | vt voxel size in the time dimension |
![]() | Inrimage4D (void) construtors used by Inrimage4DClient |
![]() | buildArray (void) build 4D array to index each 4D vertex |
![]() | init (void) constructors common code |
sequence of 3D inrimages
std::vector <Inrimage *> inrs
std::vector
void**** array
float vt
exception
class ReadError: public Exception
class EmptyInrimageList: public Exception
class DifferentImageType: public Exception
class DifferentImageSize: public Exception
constructors
Inrimage4D(const char *filename) throw(GeneralFormat::FileNotFound, Inrimage::ImageNotFound, ReadError, EmptyInrimageList, DifferentImageType, DifferentImageSize)
scene - scene to hold this object
@excpetion ImageNotFound image file not found
Inrimage4D(std::list<Inrimage *> inrs) throw(EmptyInrimageList, DifferentImageType, DifferentImageSize)
scene - scene to hold this object
data - 3D data composing the 4D data inrimage destructor
void**** getArray(void) const
void getBounds(Voxel *min, Voxel *max, bool vectorNorm = true) const
max - max GL voxel value (max should have been allocated with inrimage dynamic type)
vectorNorm - if true, this method returns min and max vector norm for vectorial inrimages, otherwise it returns min and max vector component void readInrNames(GFInput &input)
void skipInrNames(GFInput &input)
void writeInrNames(GFOutput &output)
Voxel* getVoxel(unsigned int x, unsigned int y, unsigned int z, unsigned int t) const
y - Y voxel coordinate
z - Z voxel coordinate
t - Time voxel coordinate Voxel& getVoxel(unsigned int x, unsigned int y, unsigned int z, unsigned int t, Voxel& v) const
y - Y voxel coordinate
z - Z voxel coordinate
t - Time voxel coordinate
v - voxel to store value void setVoxel(unsigned int x, unsigned int y, unsigned int z, unsigned int t, const Voxel& v)
y - Y voxel coordinate
z - Z voxel coordinate
t - Time voxel coordinate
v - voxel value Inrimage* getInrimage(unsigned int& i)
Inrimage* getFirstInrimage() const
std::vector <Inrimage *> & getInrimages(void)
std::list <Inrimage *> getInrimageList(void)
virtual void dying(const ObjectPointer<Inrimage> & obj)
const TclString& getName(void) const
void setName(const char *_name)
VECTORIAL_MODE getVectorialMode() const
Inrimage::WORD_TYPE getType(void) const
unsigned int getTimeDimension() const
unsigned int getX() const
unsigned int getY() const
unsigned int getZ() const
unsigned int getVdim(void) const
unsigned int getWdim(void) const
float getVX() const
float getVY() const
float getVZ() const
float getVT() const
void setVT(const float &_vt)
void setVoxelSize(float _vx, float _vy, float _vz, float _vt) throw(BaseInrimage::InvalidVoxelSize)
void crop(unsigned int x1, unsigned int y1, unsigned int z1, unsigned int x2, unsigned int y2, unsigned int z2) throw(Inrimage::InvalidArguments)
y1 - first crop box corner Y coordinate
z1 - first crop box corner Z coordinate
x2 - second crop box corner X coordinate (x1 should be < x2)
y2 - secont crop box corner Y coordinate (y1 should be < y2)
z2 - second crop box corner Z coordinate (z1 should be < z2)
Inrimage4D(void)
void buildArray(void)
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