13 #ifndef __mitkLabel_H_ 14 #define __mitkLabel_H_ 43 void SetLocked(
bool locked);
44 bool GetLocked()
const;
46 void SetVisible(
bool visible);
47 bool GetVisible()
const;
49 void SetOpacity(
float opacity);
50 float GetOpacity()
const;
52 void SetName(
const std::string &name);
64 void SetValue(PixelType pixelValue);
65 PixelType GetValue()
const;
67 void SetLayer(
unsigned int layer);
68 unsigned int GetLayer()
const;
70 void SetProperty(
const std::string &propertyKey,
BaseProperty *property,
const std::string &contextName =
"",
bool fallBackOnDefaultContext =
false)
override;
72 using itk::Object::Modified;
78 void PrintSelf(std::ostream &os, itk::Indent indent)
const override;
83 itk::LightObject::Pointer InternalClone()
const override;
107 #endif // __mitkLabel_H_
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)