|
ddt 1.2.1
|
#include <ddtColourmapWidget.hpp>
Signals | |
| void | ChangeContrast (ddt::colorMap_t colourmap, ddt::colorMap_t colourmap_inverted, ddt::colorMapARGB_t colourmap_argb, ddt::colorMapARGB_t colourmap_argb_inverted) |
| void | RestoreColourmap () |
| DdtColourmapWidget (QWidget *parent=nullptr) | |
| virtual | ~DdtColourmapWidget () |
| void | mousePressEvent (QMouseEvent *event) final |
| void | mouseMoveEvent (QMouseEvent *event) final |
| void | mouseReleaseEvent (QMouseEvent *event) final |
| void | SetCurrentColourmap (QVector< QRgb > colourmap) |
| void | UpdateColourbarAxis (double min_value, double max_value, int scaling_function) |
| void | Reset () |
| void | InvertColourmap (const bool invert) |
Additional Inherited Members | |
Public Member Functions inherited from DdtWidget | |
| virtual | ~DdtWidget ()=default |
| DdtWidget (QWidget *parent=nullptr) | |
| DdtWidget. | |
| QWidget * | AddParentWidget (QLayout *child_layout) |
| AddParentWidget This will add the given layout to a QGroupBox Widget to integrate in the parent layout. | |
| void | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member) |
| connect Group of overloaded functions that use the QObject::connect method with the Qt::QueuedConnection flag. This defines Qt Signal and Slots connection the same way thought out the QApplication. | |
| void | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
| void | connect (const QObject *sender, const char *signal, const char *member) |
| template<typename Func1 , typename Func2 > | |
| void | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *context, Func2 slot) |
| connect Template version of QObject::connection with fixed Qt::QueuedConnection flag. Normally used to connect a signal with a lambda function. | |
Class for the colourmap widget which displays the currently selected colourmap
|
explicit |
Constructor
| parent | Pointer to the parent widget |
|
virtualdefault |
Destructor
|
signal |
Signal which is sent when the colourbar is changed by the user
|
protectedslot |
Slot which is called when the colourmap was inverted
| invert | True if colourmap was inverted, false otherwise. |
|
final |
|
final |
|
final |
|
protectedslot |
Slot which is called when the image in the image widget is cleared
|
signal |
Signal which is sent when the colourmap should be restored. This is triggered by pressing the mouse wheel on the colourbar.
|
protectedslot |
Receive the current colourmap as qRGB vector
| colourmap | Vector of 255 RGB colour values |
|
protectedslot |
Receive the current scaling function and minimum and maximum value for the scale
| min_value | Minimum pixel value used |
| max_value | Maximum pixel value used |
| scaling_function | The scaling function actively used |