OTB  6.7.0
Orfeo Toolbox
Public Member Functions | Private Slots | Private Member Functions | List of all members
mvd::HistogramController Class Reference

#include <mvdHistogramController.h>

+ Inheritance diagram for mvd::HistogramController:
+ Collaboration diagram for mvd::HistogramController:

Public Member Functions

 HistogramController (HistogramWidget *widget, QObject *p=NULL)
 
 ~HistogramController () override
 
- Public Member Functions inherited from mvd::AbstractModelController
const AbstractModelGetModel () const
 
AbstractModelGetModel ()
 
template<typename TModel >
const TModel * GetModel () const
 
template<typename TModel >
TModel * GetModel ()
 
const QWidget * GetWidget () const
 
QWidget * GetWidget ()
 
template<typename TWidget >
const TWidget * GetWidget () const
 
template<typename TWidget >
TWidget * GetWidget ()
 
void SetModel (AbstractModel *)
 
 ~AbstractModelController () override
 

Private Slots

void OnGrayChannelIndexChanged (int band)
 
void OnGrayscaleActivated (bool activated)
 
void OnHighIntensityChanged (RgbwChannel channel, double value, bool refresh)
 
void OnHistogramRefreshed ()
 
void OnLowIntensityChanged (RgbwChannel channel, double value, bool refresh)
 
void OnRgbChannelIndexChanged (RgbwChannel channel, int band)
 

Private Member Functions

void ClearWidget () override
 
void Connect (AbstractModel *) override
 
void Disconnect (AbstractModel *) override
 
void ResetWidget (RgbwChannel channel)
 
void virtual_ResetWidget (bool=false) override
 

Additional Inherited Members

- Public Slots inherited from mvd::AbstractModelController
void ResetWidget ()
 
- Signals inherited from mvd::AbstractModelController
void AboutToConnectModel (AbstractModel *)
 
void AboutToDisconnectModel (AbstractModel *)
 
void ModelConnected (AbstractModel *)
 
void ModelDisconnected (AbstractModel *)
 
void ModelUpdated ()
 
- Protected Member Functions inherited from mvd::AbstractModelController
 AbstractModelController (QWidget *widget, QObject *p=NULL)
 

Detailed Description

Color-setup widget controller for VectorImageModel objects.

Definition at line 79 of file mvdHistogramController.h.

Constructor & Destructor Documentation

mvd::HistogramController::HistogramController ( HistogramWidget widget,
QObject *  p = NULL 
)

Constructor.

Parameters
widgetControlled widget.
parentParent QObject of this QObject.
mvd::HistogramController::~HistogramController ( )
override

Destructor.

Member Function Documentation

void mvd::HistogramController::ClearWidget ( )
overrideprivatevirtual
void mvd::HistogramController::Connect ( AbstractModel )
overrideprivatevirtual
void mvd::HistogramController::Disconnect ( AbstractModel )
overrideprivatevirtual
void mvd::HistogramController::OnGrayChannelIndexChanged ( int  band)
privateslot

Slot called when the band-index of the white (gray) channel has changed.

Parameters
bandThe new band-index of the white (gray) channel.
void mvd::HistogramController::OnGrayscaleActivated ( bool  activated)
privateslot

Slot called when the activation-state of the grayscale-mode has changed.

Parameters
activatedThe new grayscale-mode activation state.
void mvd::HistogramController::OnHighIntensityChanged ( RgbwChannel  channel,
double  value,
bool  refresh 
)
privateslot
void mvd::HistogramController::OnHistogramRefreshed ( )
privateslot
void mvd::HistogramController::OnLowIntensityChanged ( RgbwChannel  channel,
double  value,
bool  refresh 
)
privateslot
void mvd::HistogramController::OnRgbChannelIndexChanged ( RgbwChannel  channel,
int  band 
)
privateslot

Slot called when the band-index of a RGB channel has changed.

Parameters
channelThe RGB channel for which the band-index has changed.
bandThe new band-index of the RGB channel.
void mvd::HistogramController::ResetWidget ( RgbwChannel  channel)
private
void mvd::HistogramController::virtual_ResetWidget ( bool  = false)
overrideprivatevirtual

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