Generic interface class to data filters. More...
#include <mia/core/filter.hh>
Public Types | |
| typedef D | Image |
| defines the image type handled by the image filter More... | |
| typedef D | plugin_data |
| plugin handler helper type More... | |
| typedef filter_type | plugin_type |
| plugin handler helper type More... | |
| typedef std::shared_ptr < TDataFilter< D > > | Pointer |
| pointer type of the data filtered by this filter More... | |
| typedef TFilter < std::shared_ptr< D > >::result_type | result_type |
| result type of this filter More... | |
Public Types inherited from TFilter< std::shared_ptr< D > > | |
| typedef std::shared_ptr< D > | result_type |
| defines the return type of the filter function More... | |
Public Types inherited from CPropertyFlagHolder | |
| typedef std::set< const char * > | Set |
| define the type of the set of flags More... | |
Public Member Functions | |
| result_type | filter (const Image &image) const |
| result_type | filter (std::shared_ptr< D > pimage) const |
| virtual | ~TDataFilter () |
Public Member Functions inherited from CProductBase | |
| const char * | get_init_string () const |
| void | set_init_string (const char *init) |
| void | set_module (PPluginModule module) |
Public Member Functions inherited from CPropertyFlagHolder | |
| void | add (const char *property) |
| Set | get_missing_properties (const CPropertyFlagHolder &testset) const |
| bool | has (const char *property) const |
| bool | has_all_in (const CPropertyFlagHolder &testset) const |
| virtual | ~CPropertyFlagHolder () |
Generic interface class to data filters.
This class provides the basic interface to image filtering.
| D | the data type to be filtered |
Definition at line 84 of file core/filter.hh.
| typedef D TDataFilter< D >::Image |
defines the image type handled by the image filter
Definition at line 93 of file core/filter.hh.
| typedef D TDataFilter< D >::plugin_data |
plugin handler helper type
Definition at line 88 of file core/filter.hh.
| typedef filter_type TDataFilter< D >::plugin_type |
plugin handler helper type
Definition at line 90 of file core/filter.hh.
| typedef std::shared_ptr<TDataFilter<D> > TDataFilter< D >::Pointer |
pointer type of the data filtered by this filter
Definition at line 96 of file core/filter.hh.
| typedef TFilter< std::shared_ptr<D > >::result_type TDataFilter< D >::result_type |
result type of this filter
Definition at line 99 of file core/filter.hh.
|
virtual |
Definition at line 533 of file core/filter.hh.
| TDataFilter< D >::result_type TDataFilter< D >::filter | ( | const Image & | image | ) | const |
run the filter
| image | must be of a type that has Binder trait defined. |
Definition at line 539 of file core/filter.hh.
| TDataFilter< D >::result_type TDataFilter< D >::filter | ( | std::shared_ptr< D > | pimage | ) | const |
run the filter from a pointer type
| pimage | must be of a type D that has Binder trait defined. |
Definition at line 546 of file core/filter.hh.
1.8.6