Public Types | Public Member Functions
TDataFilter< D > Class Template Referenceabstract

Generic interface class to data filters. More...

#include <mia/core/filter.hh>

Inheritance diagram for TDataFilter< D >:
TFilter< std::shared_ptr< D > > CProductBase CPropertyFlagHolder

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 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 ()
 

Detailed Description

template<class D>
class TDataFilter< D >

Generic interface class to data filters.

This class provides the basic interface to image filtering.

Template Parameters
Dthe data type to be filtered

Definition at line 84 of file core/filter.hh.

Member Typedef Documentation

template<class D>
typedef D TDataFilter< D >::Image

defines the image type handled by the image filter

Definition at line 93 of file core/filter.hh.

template<class D>
typedef D TDataFilter< D >::plugin_data

plugin handler helper type

Definition at line 88 of file core/filter.hh.

template<class D>
typedef filter_type TDataFilter< D >::plugin_type

plugin handler helper type

Definition at line 90 of file core/filter.hh.

template<class D>
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.

template<class D>
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.

Constructor & Destructor Documentation

template<class D >
TDataFilter< D >::~TDataFilter ( )
virtual

Definition at line 533 of file core/filter.hh.

Member Function Documentation

template<class D >
TDataFilter< D >::result_type TDataFilter< D >::filter ( const Image image) const

run the filter

Parameters
imagemust be of a type that has Binder trait defined.

Definition at line 539 of file core/filter.hh.

template<class D>
TDataFilter< D >::result_type TDataFilter< D >::filter ( std::shared_ptr< D >  pimage) const

run the filter from a pointer type

Parameters
pimagemust be of a type D that has Binder trait defined.

Definition at line 546 of file core/filter.hh.


The documentation for this class was generated from the following file: