In file graphics2D/SliceCamera.h:

class SliceCameraBackground

Background image in a slice camera

Inheritance:


Public Methods

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

Public

constructor
destructor

Protected Fields

SliceCamera* slicecam
the slice camera attached to the background

Documentation

Background image in a slice camera
SliceCamera* slicecam
the slice camera attached to the background

constructor

destructor

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)
Parameters:
x1 - visible area X first coordinate
y1 - visible area Y first coordinate
z1 - visible area Z first coordinate
x2 - visible area X second coordinate
y2 - visible area Y second coordinate
z2 - visible area Z second coordinate

SliceCamera* getCamera() const
return the SliceCamera attached to the background


Direct child classes:
TimeSliceCameraBackground

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