21 #ifndef __qSlicerColorsModuleWidget_h 22 #define __qSlicerColorsModuleWidget_h 28 #include "qSlicerColorsModuleExport.h" 30 class qSlicerColorsModuleWidgetPrivate;
32 class vtkScalarBarWidget;
47 Q_INVOKABLE
virtual vtkScalarBarWidget* scalarBar();
51 void updateNumberOfColors();
52 void setLookupTableRange(
double min,
double max);
53 void copyCurrentColorNode();
54 void setUseColorNameAsLabel(
bool);
55 void setCenterLabel(
bool);
58 void onMRMLColorNodeChanged(
vtkMRMLNode* newColorNode);
61 void setup()
override;
65 QScopedPointer<qSlicerColorsModuleWidgetPrivate>
d_ptr;
A set of MRML Nodes that supports serialization and undo/redo.
Abstract Superclass for all specific types of MRML nodes.