Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkPropertyExtensions_h
14 #define mitkPropertyExtensions_h
29 const std::string &className,
30 bool overwrite)
override;
32 bool HasExtension(
const std::string &propertyName,
const std::string &className)
override;
34 void RemoveExtension(
const std::string &propertyName,
const std::string &className)
override;
37 typedef std::map<std::string, PropertyExtension::Pointer> ExtensionMap;
38 typedef ExtensionMap::const_iterator ExtensionMapConstIterator;
39 typedef ExtensionMap::iterator ExtensionMapIterator;
44 std::map<std::string, ExtensionMap> m_Extensions;
Interface of property extensions service.
void RemoveAllExtensions(const std::string &className) override
Remove all property extensions.
~PropertyExtensions() override
PropertyExtension::Pointer GetExtension(const std::string &propertyName, const std::string &className) override
Get the extension of a specific property.
bool HasExtension(const std::string &propertyName, const std::string &className) override
Check if a specific property has an extension.
Find image slices visible on a given plane.
bool AddExtension(const std::string &propertyName, PropertyExtension::Pointer extension, const std::string &className, bool overwrite) override
Add an extension to a specific property.
void RemoveExtension(const std::string &propertyName, const std::string &className) override
Remove extension of a specific property.