OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
mvd::HistogramPlotPicker Class Reference

#include <mvdHistogramPlotPicker.h>

+ Inheritance diagram for mvd::HistogramPlotPicker:
+ Collaboration diagram for mvd::HistogramPlotPicker:

Public Types

typedef std::vector
< QwtPlotCurve * > 
PlotCurveVector
 

Public Member Functions

void drawRubberBand (QPainter *painter) const override
 
 HistogramPlotPicker (const PlotCurveVector &curves, QwtPlotCanvas *canvas)
 
 HistogramPlotPicker (const PlotCurveVector &curves, int xAxis, int yAxis, QwtPlotCanvas *canvas)
 
 HistogramPlotPicker (const PlotCurveVector &curves, int xAxis, int yAxis, DisplayMode trackerMode, QwtPlotCanvas *canvas)
 
void SetGrayscaleActivated (bool isGrayscale)
 
void SetRubberBandPen (RgbwChannel channel, const QPen &pen)
 
 ~HistogramPlotPicker () override
 

Protected Member Functions

QwtText trackerTextF (const QPointF &) const override
 

Private Member Functions

double Find (const QwtPlotCurve *curve, double x) const
 
CountType Find (const QwtPlotCurve *curve, double x, double &xmin, double &xmax, double &y) const
 

Private Attributes

bool m_IsGrayscaleActivated: 1
 
PlotCurveVector m_PlotCurves
 
QPen m_RubberBandPens [CURVE_COUNT]
 

Static Private Attributes

static const CountType CURVE_COUNT = 4
 

Detailed Description

Widget template skeleton to copy-paste when adding a new widget class.

Definition at line 86 of file mvdHistogramPlotPicker.h.

Member Typedef Documentation

typedef std::vector< QwtPlotCurve* > mvd::HistogramPlotPicker::PlotCurveVector

Definition at line 92 of file mvdHistogramPlotPicker.h.

Constructor & Destructor Documentation

mvd::HistogramPlotPicker::HistogramPlotPicker ( const PlotCurveVector curves,
QwtPlotCanvas *  canvas 
)

Constructor.

mvd::HistogramPlotPicker::HistogramPlotPicker ( const PlotCurveVector curves,
int  xAxis,
int  yAxis,
QwtPlotCanvas *  canvas 
)

Constructor.

mvd::HistogramPlotPicker::HistogramPlotPicker ( const PlotCurveVector curves,
int  xAxis,
int  yAxis,
DisplayMode  trackerMode,
QwtPlotCanvas *  canvas 
)

Constructor.

mvd::HistogramPlotPicker::~HistogramPlotPicker ( )
override

Destructor.

Member Function Documentation

void mvd::HistogramPlotPicker::drawRubberBand ( QPainter *  painter) const
override
double mvd::HistogramPlotPicker::Find ( const QwtPlotCurve *  curve,
double  x 
) const
private
CountType mvd::HistogramPlotPicker::Find ( const QwtPlotCurve *  curve,
double  x,
double &  xmin,
double &  xmax,
double &  y 
) const
private
void mvd::HistogramPlotPicker::SetGrayscaleActivated ( bool  isGrayscale)
void mvd::HistogramPlotPicker::SetRubberBandPen ( RgbwChannel  channel,
const QPen &  pen 
)
QwtText mvd::HistogramPlotPicker::trackerTextF ( const QPointF &  ) const
overrideprotected

Member Data Documentation

const CountType mvd::HistogramPlotPicker::CURVE_COUNT = 4
staticprivate

Definition at line 194 of file mvdHistogramPlotPicker.h.

bool mvd::HistogramPlotPicker::m_IsGrayscaleActivated
private

Definition at line 207 of file mvdHistogramPlotPicker.h.

PlotCurveVector mvd::HistogramPlotPicker::m_PlotCurves
private

Definition at line 199 of file mvdHistogramPlotPicker.h.

QPen mvd::HistogramPlotPicker::m_RubberBandPens[CURVE_COUNT]
private

Definition at line 203 of file mvdHistogramPlotPicker.h.


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