Changeset 214 in flair-src for trunk/demos/Sinus/src/Sinus.cpp
- Timestamp:
- Feb 7, 2018, 5:49:27 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/demos/Sinus/src/Sinus.cpp
r157 r214 21 21 #include <SpinBox.h> 22 22 #include <DataPlot1D.h> 23 #include < cvmatrix.h>23 #include <Matrix.h> 24 24 #include <math.h> 25 25 … … 41 41 cvmatrix_descriptor *desc = new cvmatrix_descriptor(1, 1); 42 42 desc->SetElementName(0, 0, "value"); // name will be used for graphs and logs 43 output = new cvmatrix((IODevice *)this, desc, floatType, name);43 output = new Matrix((IODevice *)this, desc, floatType, name); 44 44 delete desc; 45 45 … … 94 94 } 95 95 96 cvmatrix *Sinus::GetMatrix(void) const { return output; }96 Matrix *Sinus::GetMatrix(void) const { return output; } 97 97 98 98 float Sinus::GetValue(void) const { return output->Value(0, 0); }
Note:
See TracChangeset
for help on using the changeset viewer.