Public Types | Public Member Functions | Public Attributes | Protected Attributes | List of all members
WindowConfig Class Reference

Base class for configurations applied in image processing windows, e.g. for operators of type WindowOp<WindowConfig> . More...

#include <Window.h>

Inheritance diagram for WindowConfig:
Inheritance graph
[legend]
Collaboration diagram for WindowConfig:
Collaboration graph
[legend]

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 VariableMapgetFunctorParams () const
 Return the parameters to be set for proceeding getFunctor() calls.
 

Public Attributes

Frame2D< int > frame
 
VariableMap functorParameters
 

Protected Attributes

std::string key
 

Detailed Description

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".

Member Function Documentation

◆ setFunctor()

void setFunctor ( const std::string &  ftorKey)
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.


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