17 #ifndef __mitkLabel_H_
18 #define __mitkLabel_H_
47 void SetLocked(
bool locked);
48 bool GetLocked()
const;
50 void SetVisible(
bool visible);
51 bool GetVisible()
const;
53 void SetOpacity(
float opacity);
54 float GetOpacity()
const;
56 void SetName(
const std::string &name);
68 void SetValue(PixelType pixelValue);
69 PixelType GetValue()
const;
71 void SetLayer(
unsigned int layer);
72 unsigned int GetLayer()
const;
74 void SetProperty(
const std::string &propertyKey,
BaseProperty *property);
76 using itk::Object::Modified;
82 void PrintSelf(std::ostream &os, itk::Indent indent)
const override;
111 #endif // __mitkLabel_H_
itk::SmartPointer< Self > Pointer
DataCollection - Class to facilitate loading/accessing structured data.
A data structure describing a label.
Key-value list holding instances of BaseProperty.
#define MITKMULTILABEL_EXPORT
Abstract base class for properties.
#define mitkClassMacro(className, SuperClassName)
static const PixelType MAX_LABEL_VALUE
The maximum value a label can get: Since the value is of type unsigned short MAX_LABEL_VALUE = 65535...
itk::RGBPixel< float > Color
Color Standard RGB color typedef (float)
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.
MITKCORE_EXPORT const ScalarType eps
static std::string GetName(std::string fileName, std::string suffix)