The background of a slicecamera that is linked with an OverlayInrimageView
![]() | TclOverlayBackground (TclModule *m, OverlayInrimageView *inrv, SliceCamera *cam, bool useMinGLScale = true, MinGLScale *minScale = 0, bool useMaxGLScale = true, MaxGLScale *maxScale = 0, bool useSecondMinGLScale=true, MinGLScale *secondMinScale = 0, bool useSecondMaxGLScale=true, MaxGLScale *secondMaxScale = 0, bool useOpacityScale=true, OpacityScale *opacityScale=0, const char *color = "#E8E0D2" ) builds a Tcl object corresponding to photo data block attached to an inrimage in a given slice camera |
![]() | ~TclOverlayBackground () destructor: free buffers |
![]() | scaleValue (const TclScale *scale, double val) scale value changed |
![]() | addSecondMinGLScale (MinGLScale *min) add a minimum grey-level scale to the second image |
![]() | addSecondMaxGLScale (MaxGLScale *max) add a maximum grey-level scale to the second image |
![]() | imageGLChanged (void) resize GL window and redraw |
![]() | inrimageChanged (void) image type changed |
![]() | getSecondInrimage (void) const return second inrimage |
![]() | getGLTransfo2 (void) const returns grey-level transformation mode |
![]() | setGLTransfo2 (GLTRANSFO t, const unsigned char *red=0, const unsigned char *green=0, const unsigned char *blue=0) set grey-level transformation mode |
![]() | setOpacity (double val) set opacity value |
![]() | setSecondMinThreshold (double val) throw(Voxel::InvalidValue) set min voxel value to val |
![]() | setSecondMaxThreshold (double val) throw(Voxel::InvalidValue) set max voxel value to val |
![]() | setSecondGlThresholds (double min, double max) throw(Voxel::InvalidValue) set min and max voxel value to min and max |
![]() | dying (const ObjectPointer<OpacityScale>& obj) max grey level scale owner callback |
![]() | setSecondGlThresholds (const TclString& min, const TclString& max) throw(Voxel::InvalidValue) set min and max voxel value to min and max |
![]() | getMin (const TclScale *scale) const return mn voxel value |
![]() | getMax (const TclScale *scale) const return max voxel value |
![]() | redraw () redraw camera image |
![]() | getLabel (int &x, int &y) return the label coresponding to pixel (x,y) |
![]() | getSecondMinScale () const return the second min scale associated with the second image |
![]() | getSecondMaxScale () const return the second max scale associated with the second image |
![]() | getOpacityScale () const return the opacity scale associated with the background |
![]() | getOverlayView () const return the overlay view that has created this background |
![]() | getOpacity () const return opacity scale value |
![]() | glBounds (void) compute inrimage grey levels bounds |
![]() | create (TclModule *m, int argc, char **argv) new TCL command callback |
![]() | opacityCmd (int argc, char **argv) TCL -opacity command callback |
![]() | scalemode2Cmd (int argc, char **argv) TCL -scalemode2 command callback |
![]() | greyLevelCmd (int argc, char **argv) TCL -greyLevel command callback |
![]() | secondMinScale second Tcl minimim scale for grey-level windowing |
![]() | secondMaxScale second Tcl maximim scale for grey-level windowing |
![]() | secondGlmin min and max GL values for inrimage |
![]() | redColorMap2 the red component colormap for the display of the second image |
![]() | greenColorMap2 the green component colormap for the display of the second image |
![]() | blueColorMap2 the blue component colormap that depends on transfo |
![]() | transfo2 grey level transformation type for the 2nd image |
constructor
destructors
constructors
desstructor
The background of a slicecamera that is linked with an OverlayInrimageView
ObjectPointer <MaxGLScale> secondMaxScale
Voxel* secondGlmin
const unsigned char* redColorMap2
const unsigned char* greenColorMap2
const unsigned char* blueColorMap2
GLTRANSFO transfo2
TclOverlayBackground(TclModule *m, OverlayInrimageView *inrv, SliceCamera *cam, bool useMinGLScale = true, MinGLScale *minScale = 0, bool useMaxGLScale = true, MaxGLScale *maxScale = 0, bool useSecondMinGLScale=true, MinGLScale *secondMinScale = 0, bool useSecondMaxGLScale=true, MaxGLScale *secondMaxScale = 0, bool useOpacityScale=true, OpacityScale *opacityScale=0, const char *color = "#E8E0D2" )
inrv - an inrimage view attached to an Inrimage
cam - slice camera to display image in
useMinScale - if a TclScale controlling the minimum grey-level windowing value should be used
minScale - a TclScale controlling the minimum windowing value
useMaxScale - if a TclScale controlling the maximum grey-level windowing value should be used
maxScale - a TclScale controlling the maximum windowing value
color - color of the widget
useSecondMinScale - if a TclScale controlling the minimum grey-level windowing of the second image should be created if secondMinScale==0
minScale - a TclScale controlling the minimum windowing value of the second image
useSecondMaxScale - if a MaxScale controlling the maximum grey-level windowing value of the second image should be created if secondMaxScale==0
secondMaxScale - a TclScale controlling the maximum windowing value of the second image
useOpacityScale - if a OpacityScale controlling the blending between the 2 images should be created if opacityScale==0
opacityScale - a OpacityScale controlling the blending between the 2 images virtual ~TclOverlayBackground()
virtual void scaleValue(const TclScale *scale, double val)
val - new scale value void addSecondMinGLScale(MinGLScale *min)
void addSecondMaxGLScale(MaxGLScale *max)
virtual void imageGLChanged(void)
void inrimageChanged(void)
Inrimage* getSecondInrimage(void) const
GLTRANSFO getGLTransfo2(void) const
void setGLTransfo2(GLTRANSFO t, const unsigned char *red=0, const unsigned char *green=0, const unsigned char *blue=0)
void setOpacity(double val)
void setSecondMinThreshold(double val) throw(Voxel::InvalidValue)
void setSecondMaxThreshold(double val) throw(Voxel::InvalidValue)
void setSecondGlThresholds(double min, double max) throw(Voxel::InvalidValue)
virtual void dying(const ObjectPointer<OpacityScale>& obj)
void setSecondGlThresholds(const TclString& min, const TclString& max) throw(Voxel::InvalidValue)
virtual double getMin(const TclScale *scale) const
virtual double getMax(const TclScale *scale) const
virtual void redraw()
virtual TclString getLabel(int &x, int &y)
MinGLScale* getSecondMinScale() const
MaxGLScale* getSecondMaxScale() const
OpacityScale* getOpacityScale() const
OverlayInrimageView* getOverlayView() const
double getOpacity() const
virtual void glBounds(void)
static int create(TclModule *m, int argc, char **argv)
int opacityCmd(int argc, char **argv)
int scalemode2Cmd(int argc, char **argv)
int greyLevelCmd(int argc, char **argv)
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