|
latest version v1.9 - last update 10 Apr 2010 |
|
GTK Widget for the main class of the histogram viewer. More...
#include <ltiHistogramViewer.h>


Public Member Functions | |
| mainWindow () | |
| mainWindow (const mainWindow &other) | |
| ~mainWindow () | |
| void | putData (const thistogram< double > &hist) |
| const parameters & | getParameters () const |
Protected Member Functions | |
| virtual bool | validData (void) |
| virtual void | indicateDataHide (void) |
| virtual void | dataToImage () |
| void | his3DToImage () |
| void | his2DToImage () |
| void | his1DToImage () |
| virtual void | prepareParameters (void) |
| virtual void | mouseMovedHandler (const int &button, const point &pos, const bool shift, const bool ctrl) |
Protected Attributes | |
| const thistogram< double > * | theHistogram |
| double | histMaximum |
GTK Widget for the main class of the histogram viewer.
| lti::histogramViewer::mainWindow::mainWindow | ( | ) |
default constructor
| lti::histogramViewer::mainWindow::mainWindow | ( | const mainWindow & | other | ) |
copy constructor
Reimplemented from lti::viewerBase3D::mainWindow.
| lti::histogramViewer::mainWindow::~mainWindow | ( | ) |
destructor
Reimplemented from lti::viewerBase3D::mainWindow.
| virtual void lti::histogramViewer::mainWindow::dataToImage | ( | ) | [protected, virtual] |
convert the histogram into a color image
Reimplemented from lti::viewerBase3D::mainWindow.
| const parameters& lti::histogramViewer::mainWindow::getParameters | ( | ) | const |
returns used parameters
| void lti::histogramViewer::mainWindow::his1DToImage | ( | ) | [protected] |
convert the histogram into a color image
| void lti::histogramViewer::mainWindow::his2DToImage | ( | ) | [protected] |
convert the histogram into a color image
| void lti::histogramViewer::mainWindow::his3DToImage | ( | ) | [protected] |
convert the histogram into a color image
| virtual void lti::histogramViewer::mainWindow::indicateDataHide | ( | void | ) | [protected, virtual] |
set the data pointer to NULL to indicate that the window is hidden
Reimplemented from lti::viewerBase3D::mainWindow.
| virtual void lti::histogramViewer::mainWindow::mouseMovedHandler | ( | const int & | button, | |
| const point & | pos, | |||
| const bool | shift, | |||
| const bool | ctrl | |||
| ) | [protected, virtual] |
this function is called when the right button is pressed and moved.
| button | which button is pressed (0 means none, 1 left button, 3 right button) | |
| pos | actual position of mouse pointer | |
| shift | true if the shift-key has been pressed while moving the mouse. | |
| ctrl | true if the control-key has been pressed while moving the mouse. |
Reimplemented from lti::viewerBase3D::mainWindow.
| virtual void lti::histogramViewer::mainWindow::prepareParameters | ( | void | ) | [protected, virtual] |
prepares the parameters before the settings dialog is started
Reimplemented from lti::viewerBase3D::mainWindow.
| void lti::histogramViewer::mainWindow::putData | ( | const thistogram< double > & | hist | ) |
indicate which data should be used when drawing.
| virtual bool lti::histogramViewer::mainWindow::validData | ( | void | ) | [protected, virtual] |
indicate if there are valid data to show
Reimplemented from lti::viewerBase3D::mainWindow.
double lti::histogramViewer::mainWindow::histMaximum [protected] |
maximum of theHistogram
const thistogram<double>* lti::histogramViewer::mainWindow::theHistogram [protected] |
pointer to external histogram with the data to be converted