casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casa::ToolTipPicker Class Reference

#include <ToolTipPicker.h>

Inheritance diagram for casa::ToolTipPicker:

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

bool casa::ToolTipPicker::logScaleY
private

Definition at line 55 of file ToolTipPicker.h.

std::vector<float> casa::ToolTipPicker::xVector
private

Definition at line 53 of file ToolTipPicker.h.

std::vector<float> casa::ToolTipPicker::yVector
private

Definition at line 54 of file ToolTipPicker.h.


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