Abstract image.
More...
#include <Matrix.h>
|
| enum | ValueType {
NONE,
INT_8,
UINT_8,
INT_16,
UINT_16,
INT_32,
UINT_32,
FLOAT_32,
FLOAT_64
} |
| |
§ at() [1/2]
template<class T >
| T& stromx::runtime::Matrix::at |
( |
const unsigned |
row, |
|
|
const unsigned |
col |
|
) |
| |
|
inline |
Returns a reference of type T to the value at the position (row, col).
- Exceptions
-
| WrongArgument | If the size of T does not match the value size of the matrix or if the given position is not within the matrix bounds. |
§ at() [2/2]
template<class T >
| const T& stromx::runtime::Matrix::at |
( |
const unsigned int |
row, |
|
|
const unsigned |
col |
|
) |
| const |
|
inline |
Returns a constant reference of type T to the value at the position (row, col).
- Exceptions
-
| WrongArgument | If the size of T does not match the value size of the matrix or if the given position is not within the matrix bounds. |
§ buffer()
| virtual uint8_t* stromx::runtime::Matrix::buffer |
( |
| ) |
|
|
pure virtual |
§ bufferSize()
| virtual unsigned int stromx::runtime::Matrix::bufferSize |
( |
| ) |
const |
|
pure virtual |
§ cols()
| virtual unsigned int stromx::runtime::Matrix::cols |
( |
| ) |
const |
|
pure virtual |
§ data() [1/2]
| virtual uint8_t* stromx::runtime::Matrix::data |
( |
| ) |
|
|
pure virtual |
§ data() [2/2]
| virtual const uint8_t* stromx::runtime::Matrix::data |
( |
| ) |
const |
|
pure virtual |
§ dataVariantFromValueType()
Returns the data variant defined by the input valueType.
§ initializeMatrix()
| virtual void stromx::runtime::Matrix::initializeMatrix |
( |
const unsigned int |
rows, |
|
|
const unsigned int |
cols, |
|
|
const unsigned int |
stride, |
|
|
uint8_t * |
data, |
|
|
const ValueType |
valueType |
|
) |
| |
|
pure virtual |
§ rows()
| virtual unsigned int stromx::runtime::Matrix::rows |
( |
| ) |
const |
|
pure virtual |
§ stride()
| virtual unsigned int stromx::runtime::Matrix::stride |
( |
| ) |
const |
|
pure virtual |
§ value()
template<class T >
| const T stromx::runtime::Matrix::value |
( |
const unsigned int |
row, |
|
|
const unsigned int |
col |
|
) |
| const |
|
inline |
Returns a copy of type T of the value at the position (row, col). The value is casted to T by a static cast.
§ valueSize() [1/2]
| unsigned int stromx::runtime::Matrix::valueSize |
( |
| ) |
const |
|
virtual |
§ valueSize() [2/2]
| unsigned int stromx::runtime::Matrix::valueSize |
( |
const ValueType |
valueType | ) |
|
|
static |
Returns the size of a single value of type valueType in bytes.
§ valueType()
| virtual ValueType stromx::runtime::Matrix::valueType |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following files:
- stromx/runtime/Matrix.h
- stromx/runtime/Matrix.cpp