OTB  6.7.0
Orfeo Toolbox
Classes | Public Slots | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
mvd::HistogramWidget Class Reference

#include <mvdHistogramWidget.h>

+ Inheritance diagram for mvd::HistogramWidget:
+ Collaboration diagram for mvd::HistogramWidget:

Classes

struct  Bounds
 

Public Slots

void Replot ()
 

Public Member Functions

void Clear ()
 
double GetPrecision () const
 
 HistogramWidget (QWidget *p=NULL, Qt::WindowFlags flags=0)
 
void RefreshScale (bool iqr)
 
void SetBounds (RgbwChannel channel, double xMin, double xMax, double yMin, double yMax)
 
void SetData (RgbwChannel channel, double *const x, double *const y, vcl_size_t size, double xMin, double yMin, double xMax, double yMax)
 
void SetGrayscaleActivated (bool activated)
 
void SetHighMarker (RgbwChannel channel, double high)
 
void SetLowMarker (RgbwChannel channel, double low)
 
void SetPrecision (double)
 
 ~HistogramWidget () override
 

Private Slots

void on_channelComboBox_currentIndexChanged (int index)
 
void on_zoom1Button_clicked ()
 
void on_zoomQButton_clicked ()
 
void OnChanged (const QPolygon &)
 
void OnMoved (const QPointF &)
 
void OnMoved (const QPoint &)
 
void OnSelected (const QPointF &)
 
void OnSelected (const QRectF &)
 
void OnSelected (const QPolygon &)
 
void OnSelected (const QVector< QPointF > &)
 
void OnAppended (const QPointF &)
 
void OnAppended (const QPoint &)
 

Private Member Functions

void UpdateCurvesVisibility (CountType index)
 

Private Attributes

Bounds m_Bounds [CURVE_COUNT]
 
QwtPlotMarker * m_HighPlotMarkers [CURVE_COUNT]
 
bool m_IsGrayscaleActivated
 
QwtPlotMarker * m_LowPlotMarkers [CURVE_COUNT]
 
QwtPlotCurve * m_PlotCurves [CURVE_COUNT]
 
QwtPlotGrid * m_PlotGrid
 
QwtPlotMagnifier * m_PlotMagnifier
 
QwtPlotPanner * m_PlotPanner
 
HistogramPlotPickerm_PlotPicker
 
double m_Precision
 
Ui::HistogramWidget * m_UI
 

Static Private Attributes

static const QColor BAR_COLORS [HistogramWidget::CURVE_COUNT]
 
static const QColor CURVE_COLORS [HistogramWidget::CURVE_COUNT]
 
static const CountType CURVE_COUNT = 4
 
static const char * CURVE_NAMES [HistogramWidget::CURVE_COUNT]
 
static const QColor MARKER_COLORS [HistogramWidget::CURVE_COUNT]
 
static const QColor RUBBER_BAND_COLORS [HistogramWidget::CURVE_COUNT]
 

Detailed Description

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

Definition at line 95 of file mvdHistogramWidget.h.

Constructor & Destructor Documentation

mvd::HistogramWidget::HistogramWidget ( QWidget *  p = NULL,
Qt::WindowFlags  flags = 0 
)

Constructor.

mvd::HistogramWidget::~HistogramWidget ( )
override

Destructor.

Member Function Documentation

void mvd::HistogramWidget::Clear ( )
double mvd::HistogramWidget::GetPrecision ( ) const
void mvd::HistogramWidget::on_channelComboBox_currentIndexChanged ( int  index)
privateslot
void mvd::HistogramWidget::on_zoom1Button_clicked ( )
privateslot
void mvd::HistogramWidget::on_zoomQButton_clicked ( )
privateslot
void mvd::HistogramWidget::OnAppended ( const QPointF &  )
privateslot
void mvd::HistogramWidget::OnAppended ( const QPoint &  )
privateslot
void mvd::HistogramWidget::OnChanged ( const QPolygon &  )
privateslot
void mvd::HistogramWidget::OnMoved ( const QPointF &  )
privateslot
void mvd::HistogramWidget::OnMoved ( const QPoint &  )
privateslot
void mvd::HistogramWidget::OnSelected ( const QPointF &  )
privateslot
void mvd::HistogramWidget::OnSelected ( const QRectF &  )
privateslot
void mvd::HistogramWidget::OnSelected ( const QPolygon &  )
privateslot
void mvd::HistogramWidget::OnSelected ( const QVector< QPointF > &  )
privateslot
void mvd::HistogramWidget::RefreshScale ( bool  iqr)
void mvd::HistogramWidget::Replot ( )
slot
void mvd::HistogramWidget::SetBounds ( RgbwChannel  channel,
double  xMin,
double  xMax,
double  yMin,
double  yMax 
)
void mvd::HistogramWidget::SetData ( RgbwChannel  channel,
double *const  x,
double *const  y,
vcl_size_t  size,
double  xMin,
double  yMin,
double  xMax,
double  yMax 
)
void mvd::HistogramWidget::SetGrayscaleActivated ( bool  activated)
void mvd::HistogramWidget::SetHighMarker ( RgbwChannel  channel,
double  high 
)
void mvd::HistogramWidget::SetLowMarker ( RgbwChannel  channel,
double  low 
)
void mvd::HistogramWidget::SetPrecision ( double  )
void mvd::HistogramWidget::UpdateCurvesVisibility ( CountType  index)
private

Member Data Documentation

const QColor mvd::HistogramWidget::BAR_COLORS[HistogramWidget::CURVE_COUNT]
staticprivate

Definition at line 250 of file mvdHistogramWidget.h.

const QColor mvd::HistogramWidget::CURVE_COLORS[HistogramWidget::CURVE_COUNT]
staticprivate

Definition at line 246 of file mvdHistogramWidget.h.

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

Definition at line 238 of file mvdHistogramWidget.h.

const char* mvd::HistogramWidget::CURVE_NAMES[HistogramWidget::CURVE_COUNT]
staticprivate

Definition at line 242 of file mvdHistogramWidget.h.

Bounds mvd::HistogramWidget::m_Bounds[CURVE_COUNT]
private

Definition at line 300 of file mvdHistogramWidget.h.

QwtPlotMarker* mvd::HistogramWidget::m_HighPlotMarkers[CURVE_COUNT]
private

Definition at line 296 of file mvdHistogramWidget.h.

bool mvd::HistogramWidget::m_IsGrayscaleActivated
private

Definition at line 308 of file mvdHistogramWidget.h.

QwtPlotMarker* mvd::HistogramWidget::m_LowPlotMarkers[CURVE_COUNT]
private

Definition at line 292 of file mvdHistogramWidget.h.

QwtPlotCurve* mvd::HistogramWidget::m_PlotCurves[CURVE_COUNT]
private

Definition at line 288 of file mvdHistogramWidget.h.

QwtPlotGrid* mvd::HistogramWidget::m_PlotGrid
private

Definition at line 267 of file mvdHistogramWidget.h.

QwtPlotMagnifier* mvd::HistogramWidget::m_PlotMagnifier
private

Definition at line 279 of file mvdHistogramWidget.h.

QwtPlotPanner* mvd::HistogramWidget::m_PlotPanner
private

Definition at line 283 of file mvdHistogramWidget.h.

HistogramPlotPicker* mvd::HistogramWidget::m_PlotPicker
private

Definition at line 271 of file mvdHistogramWidget.h.

double mvd::HistogramWidget::m_Precision
private

Definition at line 304 of file mvdHistogramWidget.h.

Ui::HistogramWidget* mvd::HistogramWidget::m_UI
private

uic generated.

Definition at line 263 of file mvdHistogramWidget.h.

const QColor mvd::HistogramWidget::MARKER_COLORS[HistogramWidget::CURVE_COUNT]
staticprivate

Definition at line 254 of file mvdHistogramWidget.h.

const QColor mvd::HistogramWidget::RUBBER_BAND_COLORS[HistogramWidget::CURVE_COUNT]
staticprivate

Definition at line 258 of file mvdHistogramWidget.h.


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