virtual void | getPixelPositionFromImageCoordinates (const unsigned int vx, const unsigned int vy, const unsigned int vz, int &x, int&y) const
Given a point in image (voxel) coordinates returns the position in
screen coordinates
|
virtual void | getPixelPositionFromWorldCoordinates (const double px, const double py, const double pz, int &x, int&y) const
Given a point in world coordinates returns the position in
screen coordinates
|
virtual void | getImageCoordinates (const int x, const int y, unsigned int &vx, unsigned int &vy, unsigned int &vz ) const
return the position in image coordinates of a pixel located at (x,y)
|
virtual void | getWorldCoordinates (const int x, const int y, double &px, double &py, double &pz ) const
return the position in world coordinates of a pixel located at (x,y)
|
virtual TclString | getLabel (int &x, int &y)
return the label coresponding to pixel (x,y)
|
virtual const unsigned int* | getVisibleArea () const
return the viewport of the background
|
virtual const double* | getScaleVector ()
return the 3 scales in the X, Y,Z direction that is used between
image and world coordinates
|
virtual const double* | getVoxelSize ()
return the 3 voxel sizes in the X, Y,Z direction
|
virtual void | setVisibleArea (void)
set visible area to whole image
|
virtual double | getMinIntensity () const
get the minimum intensity value in the background
|
virtual double | getMaxIntensity () const
get the maximum intensity value in the background
|
virtual const unsigned char* | getRedColorMap () const
get the array of 255 char corresponding to the red colormap
|
virtual const unsigned char* | getGreenColorMap () const
get the array of 255 char corresponding to the green colormap
|
virtual const unsigned char* | getBlueColorMap () const
get the array of 255 char corresponding to the blue colormap
|
virtual void | setVisibleArea (unsigned int x1, unsigned int y1, unsigned int z1, unsigned int x2, unsigned int y2, unsigned int z2)
set visible area to given bounds (truncate to image size if needed)
|
SliceCamera* | getCamera () const
return the SliceCamera attached to the background
|