LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::histogramViewer::mainWindow Class Reference

GTK Widget for the main class of the histogram viewer. More...

#include <ltiHistogramViewer.h>

Inheritance diagram for lti::histogramViewer::mainWindow:
Inheritance graph
[legend]
Collaboration diagram for lti::histogramViewer::mainWindow:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 mainWindow ()
 mainWindow (const mainWindow &other)
 ~mainWindow ()
void putData (const thistogram< double > &hist)
const parametersgetParameters () 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

Detailed Description

GTK Widget for the main class of the histogram viewer.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

Parameters:
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.


Member Data Documentation

maximum of theHistogram

pointer to external histogram with the data to be converted


The documentation for this class was generated from the following file:

Generated on Sat Apr 10 15:28:58 2010 for LTI-Lib by Doxygen 1.6.1