Functions
common.cpp File Reference
#include <pcl/apps/point_cloud_editor/common.h>
#include <pcl/apps/point_cloud_editor/localTypes.h>
Include dependency graph for apps/point_cloud_editor/src/common.cpp:

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.

Function Documentation

bool invertMatrix ( const float *  matrix,
float *  inverse 
)

Finds the inverse of a matrix.

Parameters:
theinput 4x4 column-major matrix following OpenGL's format
theoutput 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.

Parameters:
leftA pointer to memory representing at least MATRIX_SIZE elements
rightA pointer to memory representing at least MATRIX_SIZE elements
resultA pointer to memory representing at least MATRIX_SIZE elements. The output of left * right is stored in this matrix
Precondition:
Assumes all pointers are valid.

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.

Parameters:
matrixA pointer to memory representing at least MATRIX_SIZE elements
Precondition:
Assumes the pointer is valid.

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.

Parameters:
sThe string to be made lower.

Definition at line 240 of file apps/point_cloud_editor/src/common.cpp.



pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:44