35 #include "drain/image/Window.h"
49 template <
class W = Window<WindowConfig> >
55 typename W::conf_t conf;
57 WindowOp(
const std::string & name = __FUNCTION__,
const std::string & description=
"") :
59 this->parameters.link(
"width", conf.frame.tuple()).fillArray =
true;
64 WindowOp(
const std::string & name,
const std::string & description,
unsigned int width,
unsigned int height) :
66 this->parameters.link(
"width", conf.frame.tuple()).fillArray =
true;
69 setSize(width, height);
72 WindowOp(
typename W::conf_t & c,
const std::string & name = __FUNCTION__,
const std::string & description=
"") :
73 ImageOp(name, description), conf(c) {
74 this->parameters.link(
"width", conf.frame.tuple()).fillArray =
true;
80 this->parameters.link(
"width", conf.frame.tuple()).fillArray =
true;
90 void setSize(
unsigned int width){
91 setSize(width, width);
94 void setSize(
unsigned int width,
unsigned int height){
95 conf.frame.set(width, height);
Base class for image processing functions.
Definition: ImageOp.h:49
ImageOp(const std::string &name=__FUNCTION__, const std::string &description="")
Definition: ImageOp.h:156
Definition: WindowOp.h:50
Definition: DataSelector.cpp:1277