#include <mitkPropertyFilters.h>
Definition at line 21 of file mitkPropertyFilters.h.
◆ PropertyFilters()
mitk::PropertyFilters::PropertyFilters |
( |
| ) |
|
◆ ~PropertyFilters()
mitk::PropertyFilters::~PropertyFilters |
( |
| ) |
|
|
override |
◆ AddFilter()
bool mitk::PropertyFilters::AddFilter |
( |
const PropertyFilter & |
filter, |
|
|
const std::string & |
className, |
|
|
bool |
overwrite |
|
) |
| |
|
overridevirtual |
Add a property filter.
- Parameters
-
[in] | filter | The property filter. |
[in] | className | Optional data node class name to which the filter is restricted. |
[in] | overwrite | Overwrite already existing filter. |
- Returns
- True if filter was added auccessfully.
Implements mitk::IPropertyFilters.
◆ ApplyFilter()
Apply property filter to property list.
- Parameters
-
[in] | propertyMap | Property list to which the filter is applied. |
[in] | className | Optional data node class name for which the filter is chosen. |
- Returns
- Filtered property list.
Implements mitk::IPropertyFilters.
◆ GetFilter()
PropertyFilter mitk::PropertyFilters::GetFilter |
( |
const std::string & |
className | ) |
const |
|
overridevirtual |
Get the current property filter.
- Parameters
-
[in] | className | Optional data node class name for which the filter is returned. |
- Returns
- The current property filter.
Implements mitk::IPropertyFilters.
◆ HasFilter()
bool mitk::PropertyFilters::HasFilter |
( |
const std::string & |
className | ) |
const |
|
overridevirtual |
Check if a specific data node class name has a property filter.
- Parameters
-
[in] | className | The data node class name or empty string for global property filter. |
- Returns
- True if data node class name has a filter, false otherwise.
Implements mitk::IPropertyFilters.
◆ RemoveAllFilters()
void mitk::PropertyFilters::RemoveAllFilters |
( |
| ) |
|
|
overridevirtual |
◆ RemoveFilter()
void mitk::PropertyFilters::RemoveFilter |
( |
const std::string & |
className | ) |
|
|
overridevirtual |
Remove property filter for a specific data node class name.
- Parameters
-
[in] | className | The data node class name or empty string for global property filter. |
Implements mitk::IPropertyFilters.
The documentation for this class was generated from the following file: