Commit 20921b4cbd9f48739c9c932d8344bee683e514a0

Authored by Charles Otto
1 parent 0cdcf4ba

In LoadStore, properly forward methods for timeVarying transforms

Showing 1 changed file with 20 additions and 0 deletions
openbr/plugins/meta.cpp
@@ -502,6 +502,11 @@ private: @@ -502,6 +502,11 @@ private:
502 else trainable = false; 502 else trainable = false;
503 } 503 }
504 504
  505 + bool timeVarying() const
  506 + {
  507 + return transform->timeVarying();
  508 + }
  509 +
505 void train(const TemplateList &data) 510 void train(const TemplateList &data)
506 { 511 {
507 if (QFileInfo(getFileName()).exists()) 512 if (QFileInfo(getFileName()).exists())
@@ -527,6 +532,21 @@ private: @@ -527,6 +532,21 @@ private:
527 transform->project(src, dst); 532 transform->project(src, dst);
528 } 533 }
529 534
  535 + void projectUpdate(const Template &src, Template &dst)
  536 + {
  537 + transform->projectUpdate(src, dst);
  538 + }
  539 +
  540 + void projectUpdate(const TemplateList &src, TemplateList &dst)
  541 + {
  542 + transform->projectUpdate(src, dst);
  543 + }
  544 +
  545 + void finalize(TemplateList & output)
  546 + {
  547 + transform->finalize(output);
  548 + }
  549 +
530 QString getFileName() const 550 QString getFileName() const
531 { 551 {
532 if (QFileInfo(baseName).exists()) return baseName; 552 if (QFileInfo(baseName).exists()) return baseName;