Changeset 214 in flair-src for trunk/lib/FlairFilter/src/NestedSat_impl.cpp
- Timestamp:
- Feb 7, 2018, 5:49:27 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairFilter/src/NestedSat_impl.cpp
r15 r214 18 18 #include "NestedSat_impl.h" 19 19 #include "NestedSat.h" 20 #include < cvmatrix.h>20 #include <Matrix.h> 21 21 #include <Layout.h> 22 22 #include <GroupBox.h> … … 34 34 35 35 // init matrix 36 self->input = new cvmatrix(self, 3, 1, floatType, name);36 self->input = new Matrix(self, 3, 1, floatType, name); 37 37 38 38 GroupBox *reglages_groupbox = new GroupBox(position, name); … … 50 50 void NestedSat_impl::UpdateFrom(const io_data *data) { 51 51 float cons, dcons, law; 52 cvmatrix *input = (cvmatrix *)data; 52 const Matrix* input = dynamic_cast<const Matrix*>(data); 53 54 if (!input) { 55 self->Warn("casting %s to Matrix failed\n",data->ObjectName().c_str()); 56 return; 57 } 53 58 54 59 input->GetMutex();
Note:
See TracChangeset
for help on using the changeset viewer.