![]() |
Flair
Framework Libre Air
|
Class describing cvmatrix elements, for log and graphs purpose. More...
#include <cvmatrix_descriptor.h>
Public Member Functions | |
| cvmatrix_descriptor (uint32_t rows, uint32_t cols) | |
| Constructor. More... | |
| ~cvmatrix_descriptor () | |
| Destructor. More... | |
| void | SetElementName (uint32_t row, uint32_t col, std::string name) |
| Set element name. More... | |
| std::string | ElementName (uint32_t row, uint32_t col) const |
| Element name. More... | |
| uint32_t | Rows (void) const |
| Number of rows. More... | |
| uint32_t | Cols (void) const |
| Number of colomns. More... | |
Class describing cvmatrix elements, for log and graphs purpose.
This class allows to give a name to matrix elements. These names will be used in graphs and logs.
| flair::core::cvmatrix_descriptor::cvmatrix_descriptor | ( | uint32_t | rows, |
| uint32_t | cols | ||
| ) |
Constructor.
Construct a matrix descriptor.
| rows | matrix rows |
| cols | matrix cols |
| flair::core::cvmatrix_descriptor::~cvmatrix_descriptor | ( | ) |
Destructor.
| void flair::core::cvmatrix_descriptor::SetElementName | ( | uint32_t | row, |
| uint32_t | col, | ||
| std::string | name | ||
| ) |
Set element name.
| row | element row |
| col | element col |
| name | element name |
| std::string flair::core::cvmatrix_descriptor::ElementName | ( | uint32_t | row, |
| uint32_t | col | ||
| ) | const |
Element name.
| row | element row |
| col | element col |
| uint32_t flair::core::cvmatrix_descriptor::Rows | ( | void | ) | const |
Number of rows.
| uint32_t flair::core::cvmatrix_descriptor::Cols | ( | void | ) | const |
Number of colomns.