3D image data
![]() | getX (void) const returns X dimension |
![]() | ncols (void) const returns X dimension |
![]() | getY (void) const returns Y dimension |
![]() | nrows (void) const returns Y dimension |
![]() | getZ (void) const returns Z dimension |
![]() | nplanes (void) const returns Z dimension |
![]() | getVX (void) const returns X voxel size |
![]() | getVC (void) const returns X voxel size |
![]() | getVY (void) const returns Y voxel size |
![]() | getVR (void) const returns Y voxel size |
![]() | getVZ (void) const returns Z voxel size |
![]() | getVP (void) const returns Z voxel size |
![]() | redraw (Camera3D *) all graphics objects can be drawn |
![]() | updateCenter (Vec3 Returns the graphic object center and weight |
![]() | updateRadius (const Vec3 Returns the graphic object radius given its center |
![]() | computeClosestDistance (DataTypes::MouseClick& mc) const The routine that allows the camera to select an object by computing the distance of an object from its radial line |
![]() | getBoxColor (float &r, float &g, float &b) const returns R, G and B bounding box color (each component is between 0 and 1) |
![]() | getBoxWidth (void) const returns bounding box line width |
![]() | getGridColor (float &r, float &g, float &b) const returns R, G and B slices grid color (each component is between 0 and 1) |
![]() | getGridWidth (void) const returns slices grid line width |
![]() | setBoxColor (float r, float g, float b) Set R, G and B bounding box (each component should be between 0 and 1) |
![]() | setBoxWidth (double width) set bounding box line width |
![]() | setGridColor (float r, float g, float b) Set grid R, G and B components (each component should be between 0 and 1) |
![]() | setGridWidth (double width) set slices grid line width |
![]() | AreBlackPixelsShown () const indicates if the black pixels should be shown or not |
![]() | setShowBlackPixels (const bool b) set the boolean indicating if the black pixels should be shown or not |
![]() | display (bool showImage) set which inrimage should be displayed |
![]() | getGridDisplay (void) const get current grid display mode |
![]() | setGridDisplay (GRID_DISPLAY gd) set new grid display mode |
![]() | getSlicesDisplay (void) const get current grid display mode |
![]() | setSlicesDisplay (SLICES_DISPLAY sd) set new grid display mode |
![]() | getResolution (void) const returns display resolution |
![]() | setResolution (unsigned int resolution) set display resolution |
![]() | setBlending (bool blending, double alpha = 0.3333333333333) set slices blending behavior |
![]() | clearLists (void) clear all display lists |
![]() | clearGridLists (void) clear all grid display lists |
![]() | clearSliceLists (void) clear all slice display lists |
![]() | getNSlices (void) const returns volume rendering number of slices |
![]() | getVolumeBlending (void) const returns volume rendering blend mode |
![]() | setNSlices (unsigned int nslices) set number of slices to perform volume rendering |
![]() | setVolumeBlending (ImageData::BLENDING blend) set volume blending mode |
![]() | setVolumeTransparency (double *trs, float ot) set voxels transparency from voxel intensity for volume rendering |
![]() | sliceCreation (SliceCameraBackground *b) function called when a TclInrimageBackground is created |
![]() | sliceDestruction (SliceCameraBackground *b) function called when a TclInrimageBackground is deleted |
![]() | sliceUpdate (SliceCameraBackground *b) function called when a TclInrimageBackground is modified |
![]() | imageUpdate (const Inrimage *i) function called when the inrimage is modified |
![]() | imageDestroyed (const Inrimage *i) function called when the inrimage is deleted |
![]() | getInterface (void) const cast object interface in a TCL interface object |
![]() | constructors
| ||||
![]() | destructor
|
![]() | SliceInfo one slice display information
|
![]() | glmin storing the minimum intensity value of the image |
![]() | glmax storing the maximum intensity value of the image |
![]() | image intensity image |
![]() | boxColor [3] inrimage bounding box color |
![]() | boxWidth inrimage line width |
![]() | gridColor [3] slices grid color |
![]() | gridWidth slices grid line width |
![]() | showBlackPixels if we should show or hide black pixels |
![]() | allCameras whether to track all cameras or only ones that display image inrimage |
![]() | sliceMap slice camera inrimage background |
![]() | showImage which image to display |
![]() | gridDisplay grid display mode |
![]() | slicesDisplay slices display mode |
![]() | resolution display resolution |
![]() | blending use blending ? |
![]() | alpha blending factor |
![]() | volumeList OpenGL display list for volume rendering mode |
![]() | volumeBlending volume rendering blending mode |
![]() | nslices number of slices for volume rendering |
![]() | clipPlaneEqn [6][4] clip plane equations |
![]() | lookupTable volume rendering lookup table |
![]() | textbg [4] texture bg color |
![]() | textmap texture map mode |
![]() | init (void) constructors common code |
![]() | setImage (Inrimage *inr) set new intensity image and resize data image |
![]() | resetImage (Inrimage *inr) removed all display list stored for each slice |
![]() | volumeDisplayList () computes volume rendering display list |
![]() | sliceDisplayList (const SliceCameraBackground *b) computes one slice display list |
![]() | gridDisplayList (unsigned int slice, SliceCamera::SLICE_ORIENTATION geom) const computes one slice grid display list |
![]() | clearSlices (void) delete all ImageData::Slice structures |
3D image data
Voxel* glmax
Inrimage* image
float boxColor[3]
double boxWidth
float gridColor[3]
double gridWidth
bool showBlackPixels
bool allCameras
void init(void)
constructors
ImageData(Inrimage *inr, Scene3D *scene = 0, bool allCameras = false)
scene - scene to create image in
allCameras - whether to track all cameras or only ones that display image inrimage ImageData(const TclString& fileName, Scene3D *scene = 0, bool allCameras = false) throw(Inrimage::ImageNotFound, Inrimage::UnknownImageType, Inrimage::InvalidHeader, Inrimage::InvalidData, Inrimage::UnknownType)
Inrimage ::UnknownImageType unknown image file format
Inrimage ::InvalidHeader invalid inrimage header
Inrimage ::InvalidData invalid inrimage data
Inrimage ::UnknownType unhandled inrimage type
scene - scene to create image in
allCameras - whether to track all cameras or only ones that display image inrimage destructor
unsigned int getX(void) const
unsigned int ncols(void) const
unsigned int getY(void) const
unsigned int nrows(void) const
unsigned int getZ(void) const
unsigned int nplanes(void) const
double getVX(void) const
double getVC(void) const
double getVY(void) const
double getVR(void) const
double getVZ(void) const
double getVP(void) const
virtual void redraw(Camera3D *)
virtual void updateCenter(Vec3
n - returned barycentric weight virtual double updateRadius(const Vec3
virtual double computeClosestDistance(DataTypes::MouseClick& mc) const
void getBoxColor(float &r, float &g, float &b) const
g - returned green component
b - returned blue component double getBoxWidth(void) const
void getGridColor(float &r, float &g, float &b) const
g - returned green component
b - returned blue component double getGridWidth(void) const
void setBoxColor(float r, float g, float b)
g - green component
b - blue component void setBoxWidth(double width)
void setGridColor(float r, float g, float b)
g - green component
b - blue component void setGridWidth(double width)
bool AreBlackPixelsShown() const
void setShowBlackPixels(const bool b)
virtual bool display(bool showImage)
enum GRID_DISPLAY
GRID_DISPLAY getGridDisplay(void) const
void setGridDisplay(GRID_DISPLAY gd)
enum SLICES_DISPLAY
SLICES_DISPLAY getSlicesDisplay(void) const
void setSlicesDisplay(SLICES_DISPLAY sd)
unsigned int getResolution(void) const
void setResolution(unsigned int resolution)
void setBlending(bool blending, double alpha = 0.3333333333333)
void clearLists(void)
void clearGridLists(void)
void clearSliceLists(void)
enum BLENDING
OVER
ATTENUATE
unsigned int getNSlices(void) const
BLENDING getVolumeBlending(void) const
void setNSlices(unsigned int nslices)
void setVolumeBlending(ImageData::BLENDING blend)
void setVolumeTransparency(double *trs, float ot)
ot - overall blending factor virtual void sliceCreation(SliceCameraBackground *b)
virtual void sliceDestruction(SliceCameraBackground *b)
virtual void sliceUpdate(SliceCameraBackground *b)
virtual void imageUpdate(const Inrimage *i)
virtual void imageDestroyed(const Inrimage *i)
void setImage(Inrimage *inr)
void resetImage(Inrimage *inr)
struct SliceInfo
SliceInfo(GLuint dl, GLuint dlg)
~SliceInfo()
GLuint GLlist
GLuint GLgridlist
std::map
bool showImage
GLuint volumeDisplayList()
GLuint sliceDisplayList(const SliceCameraBackground *b)
GLuint gridDisplayList(unsigned int slice, SliceCamera::SLICE_ORIENTATION geom) const
geom - slice geometry virtual void clearSlices(void)
GRID_DISPLAY gridDisplay
SLICES_DISPLAY slicesDisplay
unsigned int resolution
bool blending
double alpha
GLuint volumeList
BLENDING volumeBlending
unsigned int nslices
GLdouble clipPlaneEqn[6][4]
float* lookupTable
float textbg[4]
GLfloat textmap
TclImageData* getInterface(void) const
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