Changeset 15 in flair-src for trunk/lib/FlairFilter/src/EulerDerivative.cpp
- Timestamp:
- 04/08/16 15:40:57 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairFilter/src/EulerDerivative.cpp
r10 r15 25 25 using namespace flair::gui; 26 26 27 namespace flair 28 { 29 namespace filter 30 { 27 namespace flair { 28 namespace filter { 31 29 32 EulerDerivative::EulerDerivative(const IODevice* parent,const LayoutPosition* position,string name,const cvmatrix* init_value) : IODevice(parent,name) 33 { 34 pimpl_=new EulerDerivative_impl(this,position,name,init_value); 35 AddDataToLog(pimpl_->output); 30 EulerDerivative::EulerDerivative(const IODevice *parent, 31 const LayoutPosition *position, string name, 32 const cvmatrix *init_value) 33 : IODevice(parent, name) { 34 pimpl_ = new EulerDerivative_impl(this, position, name, init_value); 35 AddDataToLog(pimpl_->output); 36 36 } 37 37 38 EulerDerivative::~EulerDerivative() 39 { 40 delete pimpl_; 38 EulerDerivative::~EulerDerivative() { delete pimpl_; } 39 40 cvmatrix *EulerDerivative::Matrix(void) const { return pimpl_->output; } 41 42 float EulerDerivative::Output(int row, int col) const { 43 return pimpl_->output->Value(row, col); 41 44 } 42 45 43 cvmatrix* EulerDerivative::Matrix(void) const 44 { 45 return pimpl_->output; 46 } 47 48 float EulerDerivative::Output(int row,int col) const 49 { 50 return pimpl_->output->Value(row,col); 51 } 52 53 void EulerDerivative::UpdateFrom(const io_data *data) 54 { 55 pimpl_->UpdateFrom(data); 56 ProcessUpdate(pimpl_->output); 46 void EulerDerivative::UpdateFrom(const io_data *data) { 47 pimpl_->UpdateFrom(data); 48 ProcessUpdate(pimpl_->output); 57 49 } 58 50
Note:
See TracChangeset
for help on using the changeset viewer.