|
ddt
1.0.0
|
#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. More... | |
| QWidget * | AddParentWidget (QLayout *child_layout) |
| AddParentWidget This will add the given layout to a QGroupBox Widget to integrate in the parent layout. More... | |
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 |