 namespace  yav  class  TclInrimage : public TclObject, public Owner<Inrimage>
 namespace  yav  class  TclInrimage : public TclObject, public Owner<Inrimage> Tcl interface for any inrimage
|  enum | CROPARG crop command enum 
 | 
|  Inrimage* | getClient (void) const returns TclObject client | 
|  unsigned  int | getX (void) const return image X dimension | 
|  unsigned  int | getY (void) const return image Y dimension | 
|  unsigned  int | getZ (void) const return image Z dimension | 
|  double | getVX (void) const return image X voxel size | 
|  double | getVY (void) const return image Y voxel size | 
|  double | getVZ (void) const return image Z voxel size | 
|  Inrimage::WORD_TYPE | getType (void) const return image words type | 
|  unsigned  int | getVdim (void) const return image vectorial dimension | 
|  unsigned  int | getWdim (void) const get image words size (in bytes) | 
|  void* | getData (void) const return image data buffer | 
|  void*** | getArray (void) const returns pointer a 3D buffer for a scalar image or interleaved vectorial image | 
|  void**** | getVarray (void) const returns a 4D buffer for a vectorial non-interleaved image | 
|  unsigned  int | getWordSize () const get image word size | 
|  WORD_KIND | getWordKind () const get word kind | 
|  SIGN | getWordSign () const get word sign | 
|  VECTORIAL_MODE | getVectorialMode () const get VECTORIAL_MODE | 
|  void | redraw (void) const refresh inrimage in any viewer it is displayed | 
|  void | resizeAndRedraw (void) const refresh inrimage in any viewer it is displayed resize the viewer to the image size | 
|  void | resizeVoxelsAndRedraw (void) const refresh inrimage in any viewer it is displayed resize the viewer to the image voxel size | 
|  void | rescaleGLAndRedraw (void) const reset GL bounds to inrimage min and max refresh inrimage in any viewer it is displayed | 
|  void | changeAndRedraw (void) redraw new inrimage in any viewer it is displayed | 
|  void | save (const TclString& newname) saves image as | 
|  void | save (void) const saves image using name | 
|  static  Inrimage::WORD_TYPE | typeFromString (char *) returns the inrimage type corresponding to given string | 
|  static  char* | typeToString (Inrimage::WORD_TYPE) returns a static string corresponding to given type | 
|  static  yav::CONNECTIVITY_TYPE | connectivityFromString (char *str) returns the connectivity type corresponding to given string | 
|  static  int | load (TclModule *m, int argc, char **argv) loadImage command callback | 
|  static  TclInrimage* | load (const TclString& name, TclModule *m, bool interlace = true, bool fileinterlace = true) loads an inrimage, catch exceptions and returns an error message in module result string if an error occured | 
|  static  int | create (TclModule *m, int argc, char **argv) createInrimage command callback | 
|  static  int | view (TclModule *m, int argc, char **argv) view command callback | 
|  static  TclInrimage* | getInterface (Inrimage *inr) get TclInrimage from image pointer | 
|  virtual  void | dying (const ObjectPointer < Inrimage > &g) die on inrimage deletion | 
|  static  void | read (const TclString &filename, Scene2D *scn) file scene read method | 
|  int | destroyCmd (int argc, char **argv) -destroy command option | 
|  int | nameCmd (int argc, char **argv) -name command option | 
|  int | sizeCmd (int argc, char **argv) -size command option | 
|  int | saveCmd (int argc, char **argv) -save command option | 
|  int | anisotropicDiffusionCmd (int argc, char **argv) -anisotropicDiffusion command option | 
|  int | copyCmd (int argc, char **argv) -copy command option | 
|  int | histogramCmd (int argc, char **argv) -histogram command option | 
|  int | redrawCmd (int argc, char **argv) -redraw command option | 
|  int | slicecamsCmd (int argc, char **argv) -slicecams command option | 
|  int | vectorialCmd (int argc, char **argv) -vectorial command option | 
|  int | floatingCmd (int argc, char **argv) -floating command option | 
|  int | glboundsCmd (int argc, char **argv) -glbounds command option | 
|  int | cropCmd (int argc, char **argv) -crop command option | 
|  int | isolateRegionCmd (int argc, char **argv) -isolateRegion command option | 
|  int | zeroRegionCmd (int argc, char **argv) -zeroRegion command option | 
|  int | voxelCmd (int argc, char **argv) -voxel command option | 
|  int | windowingCmd (int argc, char **argv) -windowing command option | 
|  int | flipCmd (int argc, char **argv) -flip command option | 
|  int | switchCmd (int argc, char **argv) -switch command option | 
|  int | melCmd (int argc, char **argv) -mel command option | 
|  int | typeCmd (int argc, char **argv) -type command option | 
|  int | arithCmd (int argc, char **argv) -artih command option | 
|  int | logicCmd (int argc, char **argv) -logic command option | 
|  int | thresholdCmd (int argc, char **argv) -threshold command option | 
|  int | lookupCmd (int argc, char **argv) -lookup command option | 
|  int | cropHistogrammCmd (int argc, char **argv) -cropHistogram command option | 
|  int | noiseCmd (int argc, char **argv) -noise command option | 
|  int | connexeCmd (int argc, char **argv) -connexe command option | 
|  int | chamferCmd (int argc, char **argv) -chamfer command option | 
|  int | fillCmd (int argc, char **argv) -fill command option | 
|  int | morphoCmd (int argc, char **argv) -morpho command option | 
|  int | gradientCmd (int argc, char **argv) -gradient command option | 
|  int | convoluteCmd (int argc, char **argv) -convolute command option | 
|  int | recfilterCmd (int argc, char **argv) -recfilters command option | 
|  int | laplacianCmd (int argc, char **argv) -laplacian command option | 
|  int | splitCmd (int argc, char **argv) -split command option | 
|  int | componentsCmd (int argc, char **argv) -component command option | 
|  int | dftCmd (int argc, char **argv) -dft command option | 
|  int | undersampleCmd (int argc, char **argv) -undersample command option | 
|  int | oversampleCmd (int argc, char **argv) -oversample command option | 
|  int | resampleCmd (int argc, char **argv) -resample command option | 
|  int | transformCmd (int argc, char **argv) -transform command option | 
|  int | interpCmd (int argc, char **argv) -interpolation command option | 
|  int | extrapCmd (int argc, char **argv) -extrapolation command option | 
|  int | regionCmd (int argc, char **argv) -region command option | 
|  int | curvatureCmd (int argc, char **argv) -curvature command option | 
|  static  void | CreateInrimagePhotoFormat (void) creates new photo type | 
|   | constructors 
 | ||||||||||||
|   | destructor | ||||||||||||
|   | returns TclObject client | 
|   | constructors 
 | 
|  static  char* | types [] inrimage type strings | 
Tcl interface for any inrimage
 constructors
  constructors 
 TclInrimage(const std::type_info& info, TclModule *m, const TclString& name, bool headerOnly = false, VECTORIAL_MODE vm = VM_INTERLACED, VECTORIAL_MODE filevm = VM_INTERLACED) throw(Inrimage::ImageNotFound, Inrimage::UnknownImageType, Inrimage::InvalidHeader, Inrimage::InvalidData, Inrimage::UnknownType)
  TclInrimage(const std::type_info& info, TclModule *m, const TclString& name, bool headerOnly = false, VECTORIAL_MODE vm = VM_INTERLACED, VECTORIAL_MODE filevm = VM_INTERLACED) throw(Inrimage::ImageNotFound, Inrimage::UnknownImageType, Inrimage::InvalidHeader, Inrimage::InvalidData, Inrimage::UnknownType)
 
 TclInrimage(const std::type_info& info, TclModule *m, unsigned int xdim, unsigned int ydim, unsigned int zdim, unsigned int vdim = 1, unsigned int wdim = 1, WORD_KIND wordKind = WK_FIXED, SIGN sign = SGN_SIGNED, float vx = 1.0, float vy = 1.0, float vz = 1.0) throw(Inrimage::InvalidSize, Inrimage::UnknownType, Inrimage::InvalidVoxelSize)
  TclInrimage(const std::type_info& info, TclModule *m, unsigned int xdim, unsigned int ydim, unsigned int zdim, unsigned int vdim = 1, unsigned int wdim = 1, WORD_KIND wordKind = WK_FIXED, SIGN sign = SGN_SIGNED, float vx = 1.0, float vy = 1.0, float vz = 1.0) throw(Inrimage::InvalidSize, Inrimage::UnknownType, Inrimage::InvalidVoxelSize)
module -  this image was created in
xdim -  image number of columns
ydim -  image number of rows
zdim -  image number of planes
vdim -  image vectorial dimension
wdim -  image word size in bytes
wordKind -  image word kind
sign -  image word sign
vx -  distance between voxels in the X direction
vy -  distance between voxels in the Y direction
vz -  distance between voxels in the Z direction TclInrimage(const std::type_info& info, TclModule *m, unsigned int xdim, unsigned int ydim, unsigned int zdim, Inrimage::WORD_TYPE wt, unsigned int vdim = 1, VECTORIAL_MODE vm = VM_NON_INTERLACED, float vx = 1.0, float vy = 1.0, float vz = 1.0) throw(Inrimage::InvalidSize, Inrimage::UnknownType, Inrimage::InvalidVoxelSize)
  TclInrimage(const std::type_info& info, TclModule *m, unsigned int xdim, unsigned int ydim, unsigned int zdim, Inrimage::WORD_TYPE wt, unsigned int vdim = 1, VECTORIAL_MODE vm = VM_NON_INTERLACED, float vx = 1.0, float vy = 1.0, float vz = 1.0) throw(Inrimage::InvalidSize, Inrimage::UnknownType, Inrimage::InvalidVoxelSize)
InvalidVoxelSize  voxels size should be > 0.0 
m -  module this image was created in
xdim -  image number of columns
ydim -  image number of rows
zdim -  image number of planes
wt -  image type
vdim -  vectorial dimension (for WT_FLOAT_VECTOR and WT_DOUBLE_VECTOR only, ignored otherwise)
vm -  vectorial mode (for WT_FLOAT_VECTOR and WT_DOUBLE_VECTOR only, ignored otherwise)
vx -  distance between voxels in the X direction
vy -  distance between voxels in the Y direction
vz -  distance between voxels in the Z direction
 constructors
  constructors 
 TclInrimage(TclModule *m, const std::type_info& info, Inrimage *data)
  TclInrimage(TclModule *m, const std::type_info& info, Inrimage *data)
 
 
 
 
 TclInrimage(TclModule *m, const TclString& name, bool headerOnly = false, VECTORIAL_MODE vm = VM_INTERLACED, VECTORIAL_MODE filevm = VM_INTERLACED) throw(Inrimage::ImageNotFound, Inrimage::UnknownImageType, Inrimage::InvalidHeader, Inrimage::InvalidData, Inrimage::UnknownType)
  TclInrimage(TclModule *m, const TclString& name, bool headerOnly = false, VECTORIAL_MODE vm = VM_INTERLACED, VECTORIAL_MODE filevm = VM_INTERLACED) throw(Inrimage::ImageNotFound, Inrimage::UnknownImageType, Inrimage::InvalidHeader, Inrimage::InvalidData, Inrimage::UnknownType)
InvalidHeader  invalid inrimage header
InvalidData  invalid image data
UnknownType  unknown file format 
name -  inrimage file name
headerOnly -  only image header is read if headerOnly is set to true
vm -  if image has a vectorial type, it can be read interlaced (default) or non interlaced by giving WM_NON_INTERLACED as third argument
filevm -  if VM_NON_INTERLACED, data is considered as non-interlaced
@excpetion ImageNotFound image file not found
 TclInrimage(TclModule *m, unsigned int xdim, unsigned int ydim, unsigned int zdim, unsigned int vdim = 1, unsigned int wdim = 1, WORD_KIND wordKind = WK_FIXED, SIGN sign = SGN_SIGNED, float vx = 1.0, float vy = 1.0, float vz = 1.0) throw(Inrimage::InvalidSize, Inrimage::UnknownType, Inrimage::InvalidVoxelSize)
  TclInrimage(TclModule *m, unsigned int xdim, unsigned int ydim, unsigned int zdim, unsigned int vdim = 1, unsigned int wdim = 1, WORD_KIND wordKind = WK_FIXED, SIGN sign = SGN_SIGNED, float vx = 1.0, float vy = 1.0, float vz = 1.0) throw(Inrimage::InvalidSize, Inrimage::UnknownType, Inrimage::InvalidVoxelSize)
xdim -  image number of columns
ydim -  image number of rows
zdim -  image number of planes
vdim -  image vectorial dimension
wdim -  image word size in bytes
wordKind -  image word kind
sign -  image word sign
vx -  distance between voxels in the X direction
vy -  distance between voxels in the Y direction
vz -  distance between voxels in the Z direction TclInrimage(TclModule *m, unsigned int xdim, unsigned int ydim, unsigned int zdim, void *data, unsigned int vdim = 1, unsigned int wdim = 1, WORD_KIND wordKind = WK_FIXED, SIGN sign = SGN_SIGNED, float vx = 1.0, float vy = 1.0, float vz = 1.0) throw(Inrimage::InvalidSize, Inrimage::UnknownType, Inrimage::InvalidVoxelSize)
  TclInrimage(TclModule *m, unsigned int xdim, unsigned int ydim, unsigned int zdim, void *data, unsigned int vdim = 1, unsigned int wdim = 1, WORD_KIND wordKind = WK_FIXED, SIGN sign = SGN_SIGNED, float vx = 1.0, float vy = 1.0, float vz = 1.0) throw(Inrimage::InvalidSize, Inrimage::UnknownType, Inrimage::InvalidVoxelSize)
InvalidVoxelSize  voxels size should be > 0.0 
xdim -  image number of columns
ydim -  image number of rows
zdim -  image number of planes
data -  image data buffer
vdim -  image vectorial dimension
wdim -  image word size in bytes
wordKind -  image word kind
sign -  image word sign
vx -  distance between voxels in the X direction
vy -  distance between voxels in the Y direction
vz -  distance between voxels in the Z direction
 TclInrimage(TclModule *m, unsigned int xdim, unsigned int ydim, unsigned int zdim, Inrimage::WORD_TYPE wt, unsigned int vdim = 1, VECTORIAL_MODE vm = VM_NON_INTERLACED, float vx = 1.0, float vy = 1.0, float vz = 1.0) throw(Inrimage::InvalidSize, Inrimage::UnknownType, Inrimage::InvalidVoxelSize)
  TclInrimage(TclModule *m, unsigned int xdim, unsigned int ydim, unsigned int zdim, Inrimage::WORD_TYPE wt, unsigned int vdim = 1, VECTORIAL_MODE vm = VM_NON_INTERLACED, float vx = 1.0, float vy = 1.0, float vz = 1.0) throw(Inrimage::InvalidSize, Inrimage::UnknownType, Inrimage::InvalidVoxelSize)
InvalidVoxelSize  voxels size should be > 0.0 
xdim -  image number of columns
ydim -  image number of rows
zdim -  image number of planes
wt -  image type
vdim -  vectorial dimension (for WT_FLOAT_VECTOR and WT_DOUBLE_VECTOR only, ignored otherwise)
vm -  vectorial mode (for WT_FLOAT_VECTOR and WT_DOUBLE_VECTOR only, ignored otherwise)
vx -  distance between voxels in the X direction
vy -  distance between voxels in the Y direction
vz -  distance between voxels in the Z direction
 TclInrimage(const TclInrimage& img) throw(Inrimage::InvalidSize, Inrimage::InvalidVectorialMode, Inrimage::InvalidVoxelSize, Inrimage::NotEnoughMemory)
  TclInrimage(const TclInrimage& img) throw(Inrimage::InvalidSize, Inrimage::InvalidVectorialMode, Inrimage::InvalidVoxelSize, Inrimage::NotEnoughMemory)
InvalidVectorialMode  img has scalar vectorial mode for vectorial image or opposite
InvalidVoxelSize  img has <= 0 voxel size
NotEnoughMemory  unable to allocate image buffer 
 destructor
  destructor 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 Inrimage*  getClient(void) const
 Inrimage*  getClient(void) const 
 
  
 unsigned  int  getX(void) const
 unsigned  int  getX(void) const 
 unsigned  int  getY(void) const
 unsigned  int  getY(void) const 
 unsigned  int  getZ(void) const
 unsigned  int  getZ(void) const 
 double  getVX(void) const
 double  getVX(void) const 
 double  getVY(void) const
 double  getVY(void) const 
 double  getVZ(void) const
 double  getVZ(void) const 
 Inrimage::WORD_TYPE  getType(void) const
 Inrimage::WORD_TYPE  getType(void) const 
 unsigned  int  getVdim(void) const
 unsigned  int  getVdim(void) const 
 unsigned  int  getWdim(void) const
 unsigned  int  getWdim(void) const 
 void*  getData(void) const
 void*  getData(void) const 
 void***  getArray(void) const
 void***  getArray(void) const 
 void****  getVarray(void) const
 void****  getVarray(void) const 
 unsigned  int  getWordSize() const
 unsigned  int  getWordSize() const 
 WORD_KIND  getWordKind() const
 WORD_KIND  getWordKind() const 
 SIGN  getWordSign() const
 SIGN  getWordSign() const 
 VECTORIAL_MODE  getVectorialMode() const
 VECTORIAL_MODE  getVectorialMode() const 
 void  redraw(void) const
 void  redraw(void) const 
 void  resizeAndRedraw(void) const
 void  resizeAndRedraw(void) const 
 void  resizeVoxelsAndRedraw(void) const
 void  resizeVoxelsAndRedraw(void) const 
 void  rescaleGLAndRedraw(void) const
 void  rescaleGLAndRedraw(void) const 
 void  changeAndRedraw(void)
 void  changeAndRedraw(void)
 void  save(const TclString& newname)
 void  save(const TclString& newname)
 void  save(void) const
 void  save(void) const 
 enum  CROPARG
  enum  CROPARG
 static  Inrimage::WORD_TYPE  typeFromString(char *)
 static  Inrimage::WORD_TYPE  typeFromString(char *)
 static  char*  typeToString(Inrimage::WORD_TYPE)
 static  char*  typeToString(Inrimage::WORD_TYPE)
 static  yav::CONNECTIVITY_TYPE  connectivityFromString(char *str)
 static  yav::CONNECTIVITY_TYPE  connectivityFromString(char *str)
 static  int  load(TclModule *m, int argc, char **argv)
 static  int  load(TclModule *m, int argc, char **argv)
 static  TclInrimage*  load(const TclString& name, TclModule *m, bool interlace = true, bool fileinterlace = true)
 static  TclInrimage*  load(const TclString& name, TclModule *m, bool interlace = true, bool fileinterlace = true)
m -  module to create interface
interlace -  whether vectorial data should be interlaced
fileinterlace -  whether source file is interlaced
 static  int  create(TclModule *m, int argc, char **argv)
 static  int  create(TclModule *m, int argc, char **argv)
 static  int  view(TclModule *m, int argc, char **argv)
 static  int  view(TclModule *m, int argc, char **argv)
 static  TclInrimage*  getInterface(Inrimage *inr)
 static  TclInrimage*  getInterface(Inrimage *inr)
 virtual  void  dying(const ObjectPointer < Inrimage > &g)
 virtual  void  dying(const ObjectPointer < Inrimage > &g)
 static  void  read(const TclString &filename, Scene2D *scn)
 static  void  read(const TclString &filename, Scene2D *scn)
 int  destroyCmd(int argc, char **argv)
 int  destroyCmd(int argc, char **argv)
 int  nameCmd(int argc, char **argv)
 int  nameCmd(int argc, char **argv)
 int  sizeCmd(int argc, char **argv)
 int  sizeCmd(int argc, char **argv)
 int  saveCmd(int argc, char **argv)
 int  saveCmd(int argc, char **argv)
 int  anisotropicDiffusionCmd(int argc, char **argv)
 int  anisotropicDiffusionCmd(int argc, char **argv)
 int  copyCmd(int argc, char **argv)
 int  copyCmd(int argc, char **argv)
 int  histogramCmd(int argc, char **argv)
 int  histogramCmd(int argc, char **argv)
 int  redrawCmd(int argc, char **argv)
 int  redrawCmd(int argc, char **argv)
 int  slicecamsCmd(int argc, char **argv)
 int  slicecamsCmd(int argc, char **argv)
 int  vectorialCmd(int argc, char **argv)
 int  vectorialCmd(int argc, char **argv)
 int  floatingCmd(int argc, char **argv)
 int  floatingCmd(int argc, char **argv)
 int  glboundsCmd(int argc, char **argv)
 int  glboundsCmd(int argc, char **argv)
 int  cropCmd(int argc, char **argv)
 int  cropCmd(int argc, char **argv)
 int  isolateRegionCmd(int argc, char **argv)
 int  isolateRegionCmd(int argc, char **argv)
 int  zeroRegionCmd(int argc, char **argv)
 int  zeroRegionCmd(int argc, char **argv)
 int  voxelCmd(int argc, char **argv)
 int  voxelCmd(int argc, char **argv)
 int  windowingCmd(int argc, char **argv)
 int  windowingCmd(int argc, char **argv)
 int  flipCmd(int argc, char **argv)
 int  flipCmd(int argc, char **argv)
 int  switchCmd(int argc, char **argv)
 int  switchCmd(int argc, char **argv)
 int  melCmd(int argc, char **argv)
 int  melCmd(int argc, char **argv)
 int  typeCmd(int argc, char **argv)
 int  typeCmd(int argc, char **argv)
 int  arithCmd(int argc, char **argv)
 int  arithCmd(int argc, char **argv)
 int  logicCmd(int argc, char **argv)
 int  logicCmd(int argc, char **argv)
 int  thresholdCmd(int argc, char **argv)
 int  thresholdCmd(int argc, char **argv)
 int  lookupCmd(int argc, char **argv)
 int  lookupCmd(int argc, char **argv)
 int  cropHistogrammCmd(int argc, char **argv)
 int  cropHistogrammCmd(int argc, char **argv)
 int  noiseCmd(int argc, char **argv)
 int  noiseCmd(int argc, char **argv)
 int  connexeCmd(int argc, char **argv)
 int  connexeCmd(int argc, char **argv)
 int  chamferCmd(int argc, char **argv)
 int  chamferCmd(int argc, char **argv)
 int  fillCmd(int argc, char **argv)
 int  fillCmd(int argc, char **argv)
 int  morphoCmd(int argc, char **argv)
 int  morphoCmd(int argc, char **argv)
 int  gradientCmd(int argc, char **argv)
 int  gradientCmd(int argc, char **argv)
 int  convoluteCmd(int argc, char **argv)
 int  convoluteCmd(int argc, char **argv)
 int  recfilterCmd(int argc, char **argv)
 int  recfilterCmd(int argc, char **argv)
 int  laplacianCmd(int argc, char **argv)
 int  laplacianCmd(int argc, char **argv)
 int  splitCmd(int argc, char **argv)
 int  splitCmd(int argc, char **argv)
 int  componentsCmd(int argc, char **argv)
 int  componentsCmd(int argc, char **argv)
 int  dftCmd(int argc, char **argv)
 int  dftCmd(int argc, char **argv)
 int  undersampleCmd(int argc, char **argv)
 int  undersampleCmd(int argc, char **argv)
 int  oversampleCmd(int argc, char **argv)
 int  oversampleCmd(int argc, char **argv)
 int  resampleCmd(int argc, char **argv)
 int  resampleCmd(int argc, char **argv)
 int  transformCmd(int argc, char **argv)
 int  transformCmd(int argc, char **argv)
 int  interpCmd(int argc, char **argv)
 int  interpCmd(int argc, char **argv)
 int  extrapCmd(int argc, char **argv)
 int  extrapCmd(int argc, char **argv)
 int  regionCmd(int argc, char **argv)
 int  regionCmd(int argc, char **argv)
 int  curvatureCmd(int argc, char **argv)
 int  curvatureCmd(int argc, char **argv)
 static  void  CreateInrimagePhotoFormat(void)
 static  void  CreateInrimagePhotoFormat(void)