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(
const 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;
78 this->parameters.link(
"width", conf.frame.tuple()).fillArray =
true;
86 void setSize(
unsigned int width){
87 setSize(width, width);
90 void setSize(
unsigned int width,
unsigned int height){
91 conf.frame.set(width, height);
95 const std::string &
getName()
const override {