CTopographicMap2DView Class Reference
Inherits CTopographicMapDrawable.
Public Member Functions | |
CTopographicMap2DView (CTopographicMapDatabase &rTopographicMapDatabase, OpenViBE::uint64 ui64DefaultInterpolation, OpenViBE::float64 f64Delay) | |
Constructor. | |
virtual | ~CTopographicMap2DView () |
Destructor. | |
void | getWidgets (::GtkWidget *&pWidget,::GtkWidget *&pToolbarWidget) |
Get pointers to plugin main widget and (optional) toolbar widget. | |
ETopographicMap2DView | getCurrentView (void) |
Get ID of current view. | |
CSignalDisplayDrawable implementation | |
virtual void | init () |
Initialize widgets. | |
virtual void | redraw () |
Redraw map. | |
CTopographicMapDrawable implementation | |
virtual OpenViBE::CMatrix * | getSampleCoordinatesMatrix () |
Get matrix of sample points coordinates (places where to interpolate values) | |
virtual OpenViBE::boolean | setSampleValuesMatrix (OpenViBE::IMatrix *pSampleValuesMatrix) |
Set matrix of sample points values (values interpolated at places specified in sample coordinates matrix) | |
Callbacks | |
void | resizeCB (OpenViBE::uint32 ui32Width, OpenViBE::uint32 ui32Height) |
void | toggleElectrodesCB () |
void | setProjectionCB (::GtkWidget *pWidget) |
void | setViewCB (::GtkWidget *pWidget) |
void | setInterpolationCB (::GtkWidget *pWidget) |
void | setDelayCB (OpenViBE::float64 f64Delay) |
Detailed Description
This class contains everything necessary to setup a GTK window and display a 2D topographic map
Constructor & Destructor Documentation
CTopographicMap2DView | ( | CTopographicMapDatabase & | rTopographicMapDatabase, |
OpenViBE::uint64 | ui64DefaultInterpolation, | ||
OpenViBE::float64 | f64Delay | ||
) |
Constructor.
- Parameters:
-
rTopographicMapDatabase Datastore ui64DefaultInterpolation Interpolation mode ui64Delay Delay to apply to displayed data
Member Function Documentation
virtual OpenViBE::CMatrix* getSampleCoordinatesMatrix | ( | ) | [virtual] |
Get matrix of sample points coordinates (places where to interpolate values)
- Returns:
- Pointer to matrix of sample points coordinates
virtual OpenViBE::boolean setSampleValuesMatrix | ( | OpenViBE::IMatrix * | pSampleValuesMatrix | ) | [virtual] |
Set matrix of sample points values (values interpolated at places specified in sample coordinates matrix)
- Parameters:
-
[in] pSampleValuesMatrix Pointer to matrix of sample points values
- Returns:
- True if values were successfully set, false otherwise
void getWidgets | ( | ::GtkWidget *& | pWidget, |
::GtkWidget *& | pToolbarWidget | ||
) |
Get pointers to plugin main widget and (optional) toolbar widget.
- Parameters:
-
[out] pWidget Pointer to main widget [out] pToolbarWidget Pointer to (optional) toolbar widget
ETopographicMap2DView getCurrentView | ( | void | ) |
Get ID of current view.
- Returns:
- ID of current view
Generated on Tue Jun 26 2012 15:25:54 for Documentation by 1.7.4