Functions
common.h File Reference
#include <sstream>
Include dependency graph for apps/point_cloud_editor/include/pcl/apps/point_cloud_editor/common.h:
This graph shows which files directly or indirectly include this file:

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.
template<typename T >
void toString (T input, std::string &result)
 Helper function for converting objects to strings (using operator<<)

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.

template<typename T >
void toString ( input,
std::string result 
)

Helper function for converting objects to strings (using operator<<)

Parameters:
inputThe object to be converted
resultA reference to the string where the resulting string will be stored.

Definition at line 75 of file apps/point_cloud_editor/include/pcl/apps/point_cloud_editor/common.h.



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