CVR-Lib last update 20 Sep 2009

cvr::gtkCurveSelection Class Reference

Dialog for curve selection. More...

#include <cvrViewer2DGtk.h>

Collaboration diagram for cvr::gtkCurveSelection:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 gtkCurveSelection ()
virtual ~gtkCurveSelection ()
void show ()
void hide ()
void destroy ()
void use (vector< ubyte > &data)

Protected Member Functions

void build ()
void transferFromCurve (GtkCurve *curve)
void transferFromVector (GtkCurve *curve)

Static Protected Member Functions

static gint cbCloseWindow (GtkWidget *widget, GdkEvent *event, gpointer data)
static void cbOnCancelButtonClicked (GtkButton *button, gpointer data)
static void cbOnOkButtonClicked (GtkButton *button, gpointer data)


Detailed Description

Dialog for curve selection.

Constructor & Destructor Documentation

cvr::gtkCurveSelection::gtkCurveSelection (  ) 

Create the dialog.

virtual cvr::gtkCurveSelection::~gtkCurveSelection (  )  [virtual]

Destructor.


Member Function Documentation

void cvr::gtkCurveSelection::build (  )  [protected]

Construct the GTK widgets.

static gint cvr::gtkCurveSelection::cbCloseWindow ( GtkWidget *  widget,
GdkEvent *  event,
gpointer  data 
) [static, protected]

Callback function called when the user selects the "close window" button of the window.

This method overrides the delete structure with a hide().

static void cvr::gtkCurveSelection::cbOnCancelButtonClicked ( GtkButton *  button,
gpointer  data 
) [static, protected]

Callback function called when the user has pressed the cancel button.

static void cvr::gtkCurveSelection::cbOnOkButtonClicked ( GtkButton *  button,
gpointer  data 
) [static, protected]

Callback function called when the user has pressed the cancel button.

void cvr::gtkCurveSelection::destroy (  ) 

Destroy the dialog.

void cvr::gtkCurveSelection::hide (  ) 

Hide the dialog.

void cvr::gtkCurveSelection::show (  ) 

Show the dialog.

void cvr::gtkCurveSelection::transferFromCurve ( GtkCurve *  curve  )  [protected]

Transfer information from the curve to the holder vector.

void cvr::gtkCurveSelection::transferFromVector ( GtkCurve *  curve  )  [protected]

Transfer information from the holder vector to the curve.

void cvr::gtkCurveSelection::use ( vector< ubyte > &  data  ) 

Specify the vector of the curve to be used.

At the end, this vector will be unmodified if the selector is not used or "cancel" is pressed or it will be filled with the corresponding data.

The lenght is not modified.


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

Generated on Sun Sep 20 22:09:10 2009 for CVR-Lib by Doxygen 1.5.8