Go to the source code of this file.
Functions | |
bool | invertMatrix (const float *matrix, float *inverse) |
Finds the inverse of a matrix. | |
void | multMatrix (const float *left, const float *right, float *result) |
Performs result = left * right. | |
void | setIdentity (float *matrix) |
Sets an array representing a 4x4 matrix to the identity. | |
void | stringToLower (std::string &s) |
Converts the passed string to lowercase in place. |
bool invertMatrix | ( | const float * | matrix, |
float * | inverse | ||
) |
Finds the inverse of a matrix.
the | input 4x4 column-major matrix following OpenGL's format |
the | output 4x4 column-major inverse matrix following OpenGL's format |
Definition at line 109 of file apps/point_cloud_editor/src/common.cpp.
void multMatrix | ( | const float * | left, |
const float * | right, | ||
float * | result | ||
) |
Performs result = left * right.
left | A pointer to memory representing at least MATRIX_SIZE elements |
right | A pointer to memory representing at least MATRIX_SIZE elements |
result | A pointer to memory representing at least MATRIX_SIZE elements. The output of left * right is stored in this matrix |
Definition at line 54 of file apps/point_cloud_editor/src/common.cpp.
void setIdentity | ( | float * | matrix | ) |
Sets an array representing a 4x4 matrix to the identity.
matrix | A pointer to memory representing at least MATRIX_SIZE elements |
Definition at line 46 of file apps/point_cloud_editor/src/common.cpp.
void stringToLower | ( | std::string & | s | ) |
Converts the passed string to lowercase in place.
s | The string to be made lower. |
Definition at line 240 of file apps/point_cloud_editor/src/common.cpp.