SLAMflex SE
0.1.0
SLAMflex provides detection and tracking of dominant planes for smartphone devices. This plane can then be used to show AR content relative to the plane orientation. The detection of plane is performed in the field of view of the smartphone camera. In subsequent frames it is tracked. The interface returns the plane position and orientation.
|
#include <diagmatrix.h>
Public Member Functions | |
Precision & | operator[] (int i) |
Index the leading elements on the diagonal. More... | |
const Precision & | operator[] (int i) const |
Index the leading elements on the diagonal. More... | |
Vector< Size, Precision, Base >::as_slice_type | diagonal_slice () |
Return the leading diagonal as a vector. More... | |
const Vector< Size, Precision, Base >::as_slice_type | diagonal_slice () const |
Return the leading diagonal as a vector. More... | |
Constructors | |
DiagonalMatrix () | |
DiagonalMatrix (int size_in) | |
DiagonalMatrix (Precision *data) | |
DiagonalMatrix (Precision *data, int size_in) | |
DiagonalMatrix (Precision *data_in, int size_in, int stride_in, Internal::Slicing) | |
template<class Op > | |
DiagonalMatrix (const Operator< Op > &op) | |
my_vector constructed from a TooN::Operator More... | |
template<int Size2, typename Precision2 , typename Base2 > | |
DiagonalMatrix (const Vector< Size2, Precision2, Base2 > &from) | |
Public Attributes | |
Vector< Size, Precision, Base > | my_vector |
The vector used to hold the leading diagonal. More... | |
A diagonal matrix
Support is limited but diagonal matrices can be multiplied by vectors, matrices or diagonal matrices on either side.
Diagonal matrices can be created from vectors by using the as_diagonal()
member function:
A vector can be obtained from the diagonal matrix by using the diagonal_slice()
member function.
Definition at line 56 of file diagmatrix.h.
|
inline |
Definition at line 61 of file diagmatrix.h.
|
inline |
Definition at line 62 of file diagmatrix.h.
|
inline |
Definition at line 63 of file diagmatrix.h.
|
inline |
Definition at line 64 of file diagmatrix.h.
|
inline |
Definition at line 65 of file diagmatrix.h.
|
inline |
my_vector constructed from a TooN::Operator
Definition at line 72 of file diagmatrix.h.
|
inline |
Definition at line 80 of file diagmatrix.h.
|
inline |
Return the leading diagonal as a vector.
Definition at line 95 of file diagmatrix.h.
|
inline |
Return the leading diagonal as a vector.
Definition at line 100 of file diagmatrix.h.
|
inline |
Index the leading elements on the diagonal.
Definition at line 90 of file diagmatrix.h.
|
inline |
Index the leading elements on the diagonal.
Definition at line 92 of file diagmatrix.h.
Vector<Size,Precision,Base> TooN::DiagonalMatrix< Size, Precision, Base >::my_vector |
The vector used to hold the leading diagonal.
Definition at line 105 of file diagmatrix.h.