casa::ToolTipPicker Class Reference
#include <ToolTipPicker.h>
List of all members.
Public Member Functions |
| ToolTipPicker (int xAxis, int yAxis, int selectionFlags, RubberBand rubberBand, DisplayMode trackorMode, QwtPlotCanvas *canvas) |
void | setData (const std::vector< float > &xVal, const std::vector< float > &yVal) |
void | setLogScaleY (bool logScale) |
virtual QwtText | trackerText (const QwtDoublePoint &pos) const |
virtual | ~ToolTipPicker () |
Private Member Functions |
int | findClosestPoint (float xValue, float yValue) const |
std::pair< float, float > | getRangeY () const |
Private Attributes |
std::vector< float > | xVector |
std::vector< float > | yVector |
bool | logScaleY |
Detailed Description
Definition at line 35 of file ToolTipPicker.h.
Constructor & Destructor Documentation
casa::ToolTipPicker::ToolTipPicker |
( |
int |
xAxis, |
|
|
int |
yAxis, |
|
|
int |
selectionFlags, |
|
|
RubberBand |
rubberBand, |
|
|
DisplayMode |
trackorMode, |
|
|
QwtPlotCanvas * |
canvas | |
|
) |
| | |
virtual casa::ToolTipPicker::~ToolTipPicker |
( |
|
) |
[virtual] |
Member Function Documentation
int casa::ToolTipPicker::findClosestPoint |
( |
float |
xValue, |
|
|
float |
yValue | |
|
) |
| | const [private] |
std::pair<float,float> casa::ToolTipPicker::getRangeY |
( |
|
) |
const [private] |
void casa::ToolTipPicker::setData |
( |
const std::vector< float > & |
xVal, |
|
|
const std::vector< float > & |
yVal | |
|
) |
| | |
void casa::ToolTipPicker::setLogScaleY |
( |
bool |
logScale |
) |
|
virtual QwtText casa::ToolTipPicker::trackerText |
( |
const QwtDoublePoint & |
pos |
) |
const [virtual] |
Member Data Documentation
The documentation for this class was generated from the following file: