|
SIFT
|
#include <matrix.hpp>
Public Member Functions | |
| Matrix ()=default | |
| Matrix (u16_t width, u16_t height, const T &def=T()) | |
| u16_t | width () const |
| u16_t | height () const |
| T & | operator[] (const Point< u16_t, u16_t > &vec) |
| const T & | operator[] (const Point< u16_t, u16_t > &vec) const |
| T & | operator() (u16_t x, u16_t y) |
| const T & | operator() (u16_t x, u16_t y) const |
| T * | begin () |
| T * | end () |
Private Attributes | |
| u16_t | _width |
| u16_t | _height |
| std::shared_ptr< T > | _data |
Friends | |
| std::ostream & | operator<< (std::ostream &out, Matrix &m) |
A class which allows 2-dimensional access, but saves the data in an one-dimensional data structure
|
default |
|
inlineexplicit |
allocates a data structure with the given dimensions and sets everything to a default value
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
private |
|
private |
|
private |
1.8.10