Commit d4d0490756238fd9ea628d756fc2e6ada8db1b9b
1 parent
ab502f60
Remove const project methods from gui.cpp
Current policy is to use TimeVaryingTransform::project since that is thread-safe.
Showing
1 changed file
with
0 additions
and
12 deletions
openbr/plugins/gui.cpp
| ... | ... | @@ -379,12 +379,6 @@ public: |
| 379 | 379 | |
| 380 | 380 | void train(const TemplateList &data) { (void) data; } |
| 381 | 381 | |
| 382 | - void project(const TemplateList &src, TemplateList &dst) const | |
| 383 | - { | |
| 384 | - Transform * non_const = (ShowTransform *) this; | |
| 385 | - non_const->projectUpdate(src,dst); | |
| 386 | - } | |
| 387 | - | |
| 388 | 382 | void projectUpdate(const TemplateList &src, TemplateList &dst) |
| 389 | 383 | { |
| 390 | 384 | dst = src; |
| ... | ... | @@ -550,12 +544,6 @@ public: |
| 550 | 544 | |
| 551 | 545 | void train(const TemplateList &data) { (void) data; } |
| 552 | 546 | |
| 553 | - void project(const TemplateList &src, TemplateList &dst) const | |
| 554 | - { | |
| 555 | - Transform * non_const = (ElicitTransform *) this; | |
| 556 | - non_const->projectUpdate(src,dst); | |
| 557 | - } | |
| 558 | - | |
| 559 | 547 | void projectUpdate(const TemplateList &src, TemplateList &dst) |
| 560 | 548 | { |
| 561 | 549 | dst = src; | ... | ... |