Medical Imaging Interaction Toolkit
2022.10.99-fe4dd45b
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef __mitkLabelSet_H_
14 #define __mitkLabelSet_H_
20 #include <itkObject.h>
21 #include <itkObjectFactory.h>
122 void OnLabelModified();
126 void SetLayer(
unsigned int);
146 void AddLabel(
const std::string &name,
const Color &color);
154 unsigned int GetNumberOfLabels()
const;
158 void SetAllLabelsVisible(
bool);
162 void SetAllLabelsLocked(
bool);
166 void RemoveAllLabels();
168 void SetNextActiveLabel();
184 itkGetMacro(Layer,
int);
186 itkGetConstMacro(Layer,
int);
196 void UpdateLookupTable(
PixelType pixelValue);
206 void PrintSelf(std::ostream &os, itk::Indent indent)
const override;
239 #endif // __mitkLabelSet_H_
const MITKCORE_EXPORT ScalarType eps
#define MITKMULTILABEL_EXPORT
Message AllLabelsModifiedEvent
AllLabelsModifiedEvent is emitted whenever a new label has been removed from the LabelSet.
LookupTable::Pointer m_LookupTable
const Label * GetActiveLabel() const
mitk::Label::PixelType PixelType
LabelContainerType::iterator LabelContainerIteratorType
LabelContainerType m_LabelContainer
itk::RGBPixel< float > Color
Color Standard RGB color typedef (float)
PixelType m_ActiveLabelValue
MITKNEWMODULE_EXPORT bool Equal(mitk::ExampleDataStructure *leftHandSide, mitk::ExampleDataStructure *rightHandSide, mitk::ScalarType eps, bool verbose)
Returns true if the example data structures are considered equal.
The LookupTable class mitk wrapper for a vtkLookupTable.
#define mitkClassMacroItkParent(className, SuperClassName)
DataCollection - Class to facilitate loading/accessing structured data.
A data structure describing a label.
Message RemoveLabelEvent
RemoveLabelEvent is emitted whenever a new label has been removed from the LabelSet.
Class for defining the data type of pixels.
Message ModifyLabelEvent
ModifyLabelEvent is emitted whenever a label has been modified from the LabelSet.
LabelContainerType::const_iterator LabelContainerConstIteratorType
Message AddLabelEvent
AddLabelEvent is emitted whenever a new label has been added to the LabelSet.
#define mitkCloneMacro(classname)
std::map< PixelType, Label::Pointer > LabelContainerType
Message1< PixelType > ActiveLabelEvent
ActiveLabelEvent is emitted whenever a label has been set as active in the LabelSet.
Event/message/notification class.