|
ddt
0.1
|
#include <ddtColourmapWidget.hpp>
Public Member Functions | |
| DdtColourmapWidget (QWidget *parent=nullptr) | |
| virtual | ~DdtColourmapWidget () |
Public Member Functions inherited from DdtWidget | |
| DdtWidget (QWidget *parent=nullptr) | |
| DdtWidget. More... | |
| virtual | ~DdtWidget ()=default |
| QLayout * | addParentLayout (QLayout *childLayout) |
| addParentLayout This will add the given layout to the layout of the parent inside the group box. More... | |
Protected Slots | |
| void | SetCurrentColourmap (QVector< QRgb > colourmap) |
| void | UpdateColourbarAxis (double min_value, double max_value, int scaling_function) |
Class for the colourmap widget which displays the currently selected colourmap
|
explicit |
Constructor
| parent | Pointer to the parent widget |
|
virtualdefault |
Destructor
|
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 |