![]() |
KudanCV
|
#include <KudanCV.h>
Public Member Functions | |
KudanMatrix4 () | |
float & | operator() (int row, int col) |
std::string | toString () |
Public Attributes | |
float | data [16] |
Raw data, stored vectorised in column major order. | |
Represents a 4x4 matrix. Data are stored as an array of floating point type in column major order. 0 4 8 12 1 5 9 13 2 6 10 14 3 7 11 15
KudanMatrix4::KudanMatrix4 | ( | ) |
Default constructor, sets all elements to 0
float & KudanMatrix4::operator() | ( | int | row, |
int | col | ||
) |
Access operator for the elements. This abstracts away details of the storage. It can be used to get and set values because it returns a reference
row,col | The coordinates of the data element to retrieve |
std::string KudanMatrix4::toString | ( | ) |
Returns a representation of this as a string (four lines with line breaks)