13 #ifndef mitkLabeledImageLookupTable_h
14 #define mitkLabeledImageLookupTable_h
48 itkFactorylessNewMacro(Self);
74 const LabelType &label,
const double &r,
const double &g,
const double &b,
const double a = 1.0);
#define MITKDATATYPESEXT_EXPORT
Lookup table for 2D rendering of labeled (segmented) images.
mitk::LevelWindow GetLevelWindow()
Get the LevelWindow settings required for correct 2D color mapping.
mitkCloneMacro(LabeledImageLookupTable)
virtual double * GetColorForLabel(const LabelType &label)
Get the RGBA color assigned to a given label.
virtual void GenerateRandomColor(double &r, double &g, double &b)
LabeledImageLookupTable()
LabeledImageLookupTable & operator=(const LookupTable &other) override
Assignment from a generic LookupTable.
~LabeledImageLookupTable() override
mitkClassMacro(LabeledImageLookupTable, LookupTable)
mitk::LevelWindow m_LevelWindow
virtual void SetColorForLabel(const LabelType &label, const double &r, const double &g, const double &b, const double a=1.0)
Set the RGBA color for a given label.
virtual double GenerateRandomNumber()
LabeledImageLookupTable(const LabeledImageLookupTable &other)
The LevelWindow class Class to store level/window values.
MITK wrapper for a vtkLookupTable.
Find image slices visible on a given plane.