#include <matrix.h>

Public Types | |
| typedef T | type |
Public Member Functions | |
| Matrix () | |
| Matrix (T *data_, size_t rows_, size_t cols_, size_t stride_=0) | |
| T * | operator[] (size_t index) const |
| T * | ptr () const |
Class that implements a simple rectangular matrix stored in a memory buffer and provides convenient matrix-like access using the [] operators.
This class has the same memory structure as the un-templated class flann::Matrix_ and it's directly convertible from it.
| typedef T rtflann::Matrix< T >::type |
Reimplemented from rtflann::Matrix_.
| rtflann::Matrix< T >::Matrix | ( | ) | [inline] |
| rtflann::Matrix< T >::Matrix | ( | T * | data_, |
| size_t | rows_, | ||
| size_t | cols_, | ||
| size_t | stride_ = 0 |
||
| ) | [inline] |
| T* rtflann::Matrix< T >::operator[] | ( | size_t | index | ) | const [inline] |
Operator that returns a (pointer to a) row of the data.
Reimplemented from rtflann::Matrix_.
| T* rtflann::Matrix< T >::ptr | ( | ) | const [inline] |
Reimplemented from rtflann::Matrix_.