|
Base class for configurations applied in image processing windows, e.g. for operators of type WindowOp<WindowConfig> . More...
#include <Window.h>
Public Types | |
typedef FunctorBank::map_t | fmap_t |
typedef fmap_t::const_iterator | ftor_entry_t |
Public Member Functions | |
template<class FT = IdentityFunctor> | |
WindowConfig (int width=1, int height=0, const FT &functor=FT()) | |
WindowConfig (const WindowConfig &conf) | |
int | getWidth () const |
int | getHeight () const |
void | setFunctor (const std::string &ftorKey) |
Get the cloner of the current functor type. More... | |
const fmap_t::key_type & | getFunctorName () const |
const VariableMap & | getFunctorParams () const |
Return the parameters to be set for proceeding getFunctor() calls. | |
Public Attributes | |
Frame2D< int > | frame |
VariableMap | functorParameters |
Protected Attributes | |
std::string | key |
Base class for configurations applied in image processing windows, e.g. for operators of type WindowOp<WindowConfig> .
This base base class has only two members: width and height. Derived classes may have further parameters like smoothing coefficients.
A class derived from WindowConfig should not contain information of source or destination data, but of the "window itself".
|
inline |
Get the cloner of the current functor type.
Changes the current functor specification. The functor name (key) is checked in the functorBank. No actual instance is created by this function.