Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkPropertyFilters.h>
Public Member Functions | |
PropertyFilters () | |
~PropertyFilters () | |
bool | AddFilter (const PropertyFilter &filter, const std::string &className, bool overwrite) override |
Add a property filter. More... | |
std::map< std::string, BaseProperty::Pointer > | ApplyFilter (const std::map< std::string, BaseProperty::Pointer > &propertyMap, const std::string &className) const override |
Apply property filter to property list. More... | |
PropertyFilter | GetFilter (const std::string &className) const override |
Get the current property filter. More... | |
bool | HasFilter (const std::string &className) const override |
Check if a specific data node class name has a property filter. More... | |
void | RemoveAllFilters () override |
Remove all property filters. More... | |
void | RemoveFilter (const std::string &className) override |
Remove property filter for a specific data node class name. More... | |
Public Member Functions inherited from mitk::IPropertyFilters | |
virtual | ~IPropertyFilters () |
Definition at line 25 of file mitkPropertyFilters.h.
mitk::PropertyFilters::PropertyFilters | ( | ) |
Definition at line 21 of file mitkPropertyFilters.cpp.
mitk::PropertyFilters::~PropertyFilters | ( | ) |
Definition at line 25 of file mitkPropertyFilters.cpp.
|
overridevirtual |
Add a property filter.
[in] | filter | The property filter. |
[in] | className | Optional data node class name to which the filter is restricted. |
[in] | overwrite | Overwrite already existing filter. |
Implements mitk::IPropertyFilters.
Definition at line 29 of file mitkPropertyFilters.cpp.
References mitk::PropertyFilter::IsEmpty().
|
overridevirtual |
Apply property filter to property list.
[in] | propertyMap | Property list to which the filter is applied. |
[in] | className | Optional data node class name for which the filter is chosen. |
Implements mitk::IPropertyFilters.
Definition at line 48 of file mitkPropertyFilters.cpp.
References mitk::PropertyFilter::Apply(), and mitk::PropertyFilter::IsEmpty().
|
overridevirtual |
Get the current property filter.
[in] | className | Optional data node class name for which the filter is returned. |
Implements mitk::IPropertyFilters.
Definition at line 68 of file mitkPropertyFilters.cpp.
|
overridevirtual |
Check if a specific data node class name has a property filter.
[in] | className | The data node class name or empty string for global property filter. |
Implements mitk::IPropertyFilters.
Definition at line 78 of file mitkPropertyFilters.cpp.
|
overridevirtual |
Remove all property filters.
Implements mitk::IPropertyFilters.
Definition at line 83 of file mitkPropertyFilters.cpp.
|
overridevirtual |
Remove property filter for a specific data node class name.
[in] | className | The data node class name or empty string for global property filter. |
Implements mitk::IPropertyFilters.
Definition at line 88 of file mitkPropertyFilters.cpp.