|
| mitkClassMacro (Label, mitk::PropertyList) |
|
| mitkNewMacro2Param (Self, PixelType, const std::string &) |
|
void | SetLocked (bool locked) |
|
bool | GetLocked () const |
|
void | SetVisible (bool visible) |
|
bool | GetVisible () const |
|
void | SetOpacity (float opacity) |
|
float | GetOpacity () const |
|
void | SetName (const std::string &name) |
|
std::string | GetName () const |
|
void | SetCenterOfMassIndex (const mitk::Point3D ¢er) |
|
mitk::Point3D | GetCenterOfMassIndex () const |
|
void | SetCenterOfMassCoordinates (const mitk::Point3D ¢er) |
|
mitk::Point3D | GetCenterOfMassCoordinates () const |
|
void | SetColor (const mitk::Color &) |
|
const mitk::Color & | GetColor () const |
|
void | SetValue (PixelType pixelValue) |
|
PixelType | GetValue () const |
|
void | SetLayer (unsigned int layer) |
|
unsigned int | GetLayer () const |
|
void | SetProperty (const std::string &propertyKey, BaseProperty *property, const std::string &contextName="", bool fallBackOnDefaultContext=false) override |
| Add new or change existent property. More...
|
|
void | Modified () |
|
| Label () |
|
| Label (PixelType value, const std::string &name) |
|
| ~Label () override |
|
virtual std::vector< std::string > | GetClassHierarchy () const |
|
virtual const char * | GetClassName () const |
|
Pointer | Clone () const |
|
BaseProperty::ConstPointer | GetConstProperty (const std::string &propertyKey, const std::string &contextName="", bool fallBackOnDefaultContext=true) const override |
| Get property by its key. More...
|
|
std::vector< std::string > | GetPropertyKeys (const std::string &contextName="", bool includeDefaultContext=false) const override |
| Query keys of existing properties. More...
|
|
std::vector< std::string > | GetPropertyContextNames () const override |
| Query names of existing contexts. More...
|
|
BaseProperty * | GetNonConstProperty (const std::string &propertyKey, const std::string &contextName="", bool fallBackOnDefaultContext=true) override |
| Get property by its key. More...
|
|
void | RemoveProperty (const std::string &propertyKey, const std::string &contextName="", bool fallBackOnDefaultContext=false) override |
| Removes a property. If the property does not exist, nothing will be done. More...
|
|
mitk::BaseProperty * | GetProperty (const std::string &propertyKey) const |
| Get a property by its name. More...
|
|
void | ReplaceProperty (const std::string &propertyKey, BaseProperty *property) |
| Set a property object in the list/map by reference. More...
|
|
void | ConcatenatePropertyList (PropertyList *pList, bool replace=false) |
| Set a property object in the list/map by reference. More...
|
|
template<typename T > |
bool | GetPropertyValue (const char *propertyKey, T &value) const |
| Convenience access method for GenericProperty<T> properties (T being the type of the second parameter) More...
|
|
bool | GetBoolProperty (const char *propertyKey, bool &boolValue) const |
| Convenience method to access the value of a BoolProperty. More...
|
|
bool | Get (const char *propertyKey, bool &boolValue) const |
| ShortCut for the above method. More...
|
|
void | SetBoolProperty (const char *propertyKey, bool boolValue) |
| Convenience method to set the value of a BoolProperty. More...
|
|
void | Set (const char *propertyKey, bool boolValue) |
| ShortCut for the above method. More...
|
|
bool | GetIntProperty (const char *propertyKey, int &intValue) const |
| Convenience method to access the value of an IntProperty. More...
|
|
bool | Get (const char *propertyKey, int &intValue) const |
| ShortCut for the above method. More...
|
|
void | SetIntProperty (const char *propertyKey, int intValue) |
| Convenience method to set the value of an IntProperty. More...
|
|
void | Set (const char *propertyKey, int intValue) |
| ShortCut for the above method. More...
|
|
bool | GetFloatProperty (const char *propertyKey, float &floatValue) const |
| Convenience method to access the value of a FloatProperty. More...
|
|
bool | Get (const char *propertyKey, float &floatValue) const |
| ShortCut for the above method. More...
|
|
void | SetFloatProperty (const char *propertyKey, float floatValue) |
| Convenience method to set the value of a FloatProperty. More...
|
|
void | Set (const char *propertyKey, float floatValue) |
| ShortCut for the above method. More...
|
|
bool | GetDoubleProperty (const char *propertyKey, double &doubleValue) const |
| Convenience method to access the value of a DoubleProperty. More...
|
|
bool | Get (const char *propertyKey, double &doubleValue) const |
| ShortCut for the above method. More...
|
|
void | SetDoubleProperty (const char *propertyKey, double doubleValue) |
| Convenience method to set the value of a DoubleProperty. More...
|
|
void | Set (const char *propertyKey, double doubleValue) |
| ShortCut for the above method. More...
|
|
bool | GetStringProperty (const char *propertyKey, std::string &stringValue) const |
| Convenience method to access the value of a StringProperty. More...
|
|
bool | Get (const char *propertyKey, std::string &stringValue) const |
| ShortCut for the above method. More...
|
|
void | SetStringProperty (const char *propertyKey, const char *stringValue) |
| Convenience method to set the value of a StringProperty. More...
|
|
void | Set (const char *propertyKey, const char *stringValue) |
| ShortCut for the above method. More...
|
|
void | Set (const char *propertyKey, const std::string &stringValue) |
| ShortCut for the above method. More...
|
|
itk::ModifiedTimeType | GetMTime () const override |
| Get the timestamp of the last change of the map or the last change of one of the properties store in the list (whichever is later). More...
|
|
bool | DeleteProperty (const std::string &propertyKey) |
| Remove a property from the list/map. More...
|
|
const PropertyMap * | GetMap () const |
|
bool | IsEmpty () const |
|
virtual void | Clear () |
|
void | ToJSON (nlohmann::json &j) const |
| Serialize the property list to JSON. More...
|
|
void | FromJSON (const nlohmann::json &j) |
| Deserialize the property list from JSON. More...
|
|
| ~IPropertyOwner () override |
|
virtual | ~IPropertyProvider () |
|
A data structure describing a label.
Definition at line 29 of file mitkLabel.h.