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

#include <mvdColorDynamicsWidget.h>

+ Inheritance diagram for mvd::ColorDynamicsWidget:
+ Collaboration diagram for mvd::ColorDynamicsWidget:

Public Slots

void SetNoDataButtonChecked (bool checked)
 

Signals

void ApplyAllClicked (RgbwChannel, double, double)
 
void GammaCursorPositionChanged (int value)
 
void GammaValueChanged (double value)
 
void HighIntensityChanged (RgbwChannel, double)
 
void HighQuantileChanged (RgbwChannel, double)
 
void LinkToggled (RgbwChannel, bool)
 
void LowIntensityChanged (RgbwChannel, double)
 
void LowQuantileChanged (RgbwChannel, double)
 
void NoDataButtonPressed ()
 
void NoDataFlagToggled (bool enabled)
 
void NoDataValueChanged (double value)
 
void ResetIntensityClicked (RgbwChannel)
 
void ResetQuantileClicked (RgbwChannel)
 

Public Member Functions

 ColorDynamicsWidget (QWidget *p=NULL, Qt::WindowFlags flags=0)
 
const ColorBandDynamicsWidgetGetChannel (RgbwChannel) const
 
ColorBandDynamicsWidgetGetChannel (RgbwChannel)
 
double GetGamma () const
 
int GetGammaCursorPosition () const
 
int GetGammaStep () const
 
int GetMaxGamma () const
 
int GetMinGamma () const
 
double GetNoDataValue () const
 
bool IsGrayscaleActivated () const
 
bool IsNoDataChecked () const
 
void SetGamma (double value)
 
void SetGammaCursorPosition (int value)
 
void SetGammaStep (int value)
 
void SetGrayscaleActivated (bool activated)
 
void SetMaxGamma (int value)
 
void SetMinGamma (int value)
 
void SetNoDataChecked (bool checked)
 
void SetNoDataValue (double value)
 
 ~ColorDynamicsWidget () override
 

Properties

double Gamma
 
int GammaCursorPosition
 
int GammaStep
 
bool isNoDataChecked
 
int MaxGamma
 
int MinGamma
 
double NoDataValue
 

Private Slots

void on_gammaResetButton_clicked ()
 
void on_gammaSlider_valueChanged (int gamma)
 
void on_noDataButton_toggled (bool checked)
 
void on_noDataCheckBox_toggled (bool enabled)
 
void on_noDataLineEdit_textChanged (const QString &text)
 

Private Member Functions

void ConnectChild (ColorBandDynamicsWidget *child, RgbwChannel channel)
 

Private Attributes

bool m_IsGrayscaleActivated
 
QDoubleValidator * m_NoDataValidator
 
Ui::ColorDynamicsWidget * m_UI
 

Static Private Attributes

static const char * COLOR_BAND_DYNAMICS_WIDGET_NAMES []
 

Detailed Description

Definition at line 79 of file mvdColorDynamicsWidget.h.

Constructor & Destructor Documentation

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

Constructor.

mvd::ColorDynamicsWidget::~ColorDynamicsWidget ( )
override

Destructor.

Member Function Documentation

void mvd::ColorDynamicsWidget::ApplyAllClicked ( RgbwChannel  ,
double  ,
double   
)
signal
void mvd::ColorDynamicsWidget::ConnectChild ( ColorBandDynamicsWidget child,
RgbwChannel  channel 
)
private

Connect signals of color-band dynamics child widget to slots of this widget.

Parameters
childColor-band dynamics child widget.
channelRGBAW channel setup of child widget.
void mvd::ColorDynamicsWidget::GammaCursorPositionChanged ( int  value)
signal
void mvd::ColorDynamicsWidget::GammaValueChanged ( double  value)
signal
const ColorBandDynamicsWidget * mvd::ColorDynamicsWidget::GetChannel ( RgbwChannel  channel) const
inline

Definition at line 344 of file mvdColorDynamicsWidget.h.

References COLOR_BAND_DYNAMICS_WIDGET_NAMES.

ColorBandDynamicsWidget * mvd::ColorDynamicsWidget::GetChannel ( RgbwChannel  channel)
inline

Definition at line 355 of file mvdColorDynamicsWidget.h.

References COLOR_BAND_DYNAMICS_WIDGET_NAMES.

double mvd::ColorDynamicsWidget::GetGamma ( ) const
int mvd::ColorDynamicsWidget::GetGammaCursorPosition ( ) const
int mvd::ColorDynamicsWidget::GetGammaStep ( ) const
int mvd::ColorDynamicsWidget::GetMaxGamma ( ) const
int mvd::ColorDynamicsWidget::GetMinGamma ( ) const
double mvd::ColorDynamicsWidget::GetNoDataValue ( ) const
void mvd::ColorDynamicsWidget::HighIntensityChanged ( RgbwChannel  ,
double   
)
signal
void mvd::ColorDynamicsWidget::HighQuantileChanged ( RgbwChannel  ,
double   
)
signal
bool mvd::ColorDynamicsWidget::IsGrayscaleActivated ( ) const
inline

Definition at line 366 of file mvdColorDynamicsWidget.h.

bool mvd::ColorDynamicsWidget::IsNoDataChecked ( ) const
void mvd::ColorDynamicsWidget::LinkToggled ( RgbwChannel  ,
bool   
)
signal
void mvd::ColorDynamicsWidget::LowIntensityChanged ( RgbwChannel  ,
double   
)
signal
void mvd::ColorDynamicsWidget::LowQuantileChanged ( RgbwChannel  ,
double   
)
signal
void mvd::ColorDynamicsWidget::NoDataButtonPressed ( )
signal
void mvd::ColorDynamicsWidget::NoDataFlagToggled ( bool  enabled)
signal
void mvd::ColorDynamicsWidget::NoDataValueChanged ( double  value)
signal
void mvd::ColorDynamicsWidget::on_gammaResetButton_clicked ( )
privateslot
void mvd::ColorDynamicsWidget::on_gammaSlider_valueChanged ( int  gamma)
privateslot
void mvd::ColorDynamicsWidget::on_noDataButton_toggled ( bool  checked)
privateslot
void mvd::ColorDynamicsWidget::on_noDataCheckBox_toggled ( bool  enabled)
privateslot
void mvd::ColorDynamicsWidget::on_noDataLineEdit_textChanged ( const QString &  text)
privateslot
void mvd::ColorDynamicsWidget::ResetIntensityClicked ( RgbwChannel  )
signal
void mvd::ColorDynamicsWidget::ResetQuantileClicked ( RgbwChannel  )
signal
void mvd::ColorDynamicsWidget::SetGamma ( double  value)
void mvd::ColorDynamicsWidget::SetGammaCursorPosition ( int  value)
void mvd::ColorDynamicsWidget::SetGammaStep ( int  value)
void mvd::ColorDynamicsWidget::SetGrayscaleActivated ( bool  activated)
void mvd::ColorDynamicsWidget::SetMaxGamma ( int  value)
void mvd::ColorDynamicsWidget::SetMinGamma ( int  value)
void mvd::ColorDynamicsWidget::SetNoDataButtonChecked ( bool  checked)
slot
void mvd::ColorDynamicsWidget::SetNoDataChecked ( bool  checked)
void mvd::ColorDynamicsWidget::SetNoDataValue ( double  value)

Member Data Documentation

const char* mvd::ColorDynamicsWidget::COLOR_BAND_DYNAMICS_WIDGET_NAMES[]
staticprivate

Definition at line 292 of file mvdColorDynamicsWidget.h.

Referenced by GetChannel().

bool mvd::ColorDynamicsWidget::m_IsGrayscaleActivated
private

Definition at line 305 of file mvdColorDynamicsWidget.h.

QDoubleValidator* mvd::ColorDynamicsWidget::m_NoDataValidator
private

Definition at line 301 of file mvdColorDynamicsWidget.h.

Ui::ColorDynamicsWidget* mvd::ColorDynamicsWidget::m_UI
private

uic generated.

Definition at line 297 of file mvdColorDynamicsWidget.h.

Property Documentation

double mvd::ColorDynamicsWidget::Gamma
readwrite

Definition at line 109 of file mvdColorDynamicsWidget.h.

int mvd::ColorDynamicsWidget::GammaCursorPosition
readwrite

Definition at line 93 of file mvdColorDynamicsWidget.h.

int mvd::ColorDynamicsWidget::GammaStep
readwrite

Definition at line 105 of file mvdColorDynamicsWidget.h.

bool mvd::ColorDynamicsWidget::isNoDataChecked
readwrite

Definition at line 85 of file mvdColorDynamicsWidget.h.

int mvd::ColorDynamicsWidget::MaxGamma
readwrite

Definition at line 101 of file mvdColorDynamicsWidget.h.

int mvd::ColorDynamicsWidget::MinGamma
readwrite

Definition at line 97 of file mvdColorDynamicsWidget.h.

double mvd::ColorDynamicsWidget::NoDataValue
readwrite

Definition at line 89 of file mvdColorDynamicsWidget.h.


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