Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Interface of property filters service. More...
#include <mitkIPropertyFilters.h>
Public Member Functions | |
virtual | ~IPropertyFilters () |
virtual bool | AddFilter (const PropertyFilter &filter, const std::string &className="", bool overwrite=false)=0 |
Add a property filter. More... | |
virtual std::map< std::string, BaseProperty::Pointer > | ApplyFilter (const std::map< std::string, BaseProperty::Pointer > &propertyMap, const std::string &className="") const =0 |
Apply property filter to property list. More... | |
virtual PropertyFilter | GetFilter (const std::string &className="") const =0 |
Get the current property filter. More... | |
virtual bool | HasFilter (const std::string &className="") const =0 |
Check if a specific data node class name has a property filter. More... | |
virtual void | RemoveAllFilters ()=0 |
Remove all property filters. More... | |
virtual void | RemoveFilter (const std::string &className="")=0 |
Remove property filter for a specific data node class name. More... | |
Interface of property filters service.
This service allows you manage property name filters. A mitk::PropertyFilter consist of blacklist and whitelist entries and can be restricted to certain data node types. The property view only displays filtered properties if filters were found.
Definition at line 38 of file mitkIPropertyFilters.h.
|
virtual |
Definition at line 19 of file mitkIPropertyFilters.cpp.
|
pure virtual |
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. |
Implemented in mitk::PropertyFilters.
Referenced by mitkPropertyFiltersTest().
|
pure virtual |
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. |
Implemented in mitk::PropertyFilters.
Referenced by mitkPropertyFiltersTest().
|
pure virtual |
Get the current property filter.
[in] | className | Optional data node class name for which the filter is returned. |
Implemented in mitk::PropertyFilters.
|
pure virtual |
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. |
Implemented in mitk::PropertyFilters.
|
pure virtual |
Remove all property filters.
Implemented in mitk::PropertyFilters.
|
pure virtual |
Remove property filter for a specific data node class name.
[in] | className | The data node class name or empty string for global property filter. |
Implemented in mitk::PropertyFilters.