Functions
tango_gl::util Namespace Reference

Functions

glm::vec3 ApplyTransform (const glm::mat4 &mat, const glm::vec3 &vec)
 
void CheckGlError (const char *operation)
 
float Clamp (float value, float min, float max)
 
GLuint CreateProgram (const char *vertex_source, const char *fragment_source)
 
void DecomposeMatrix (const glm::mat4 &transform_mat, glm::vec3 &translation, glm::quat &rotation, glm::vec3 &scale)
 
float DistanceSquared (const glm::vec3 &v1, const glm::vec3 &v2)
 
TangoSupportRotation GetAndroidRotationFromColorCameraToDisplay (int display_rotation, int color_camera_rotation)
 
TangoSupportRotation GetAndroidRotationFromColorCameraToDisplay (TangoSupportRotation display_rotation, int color_camera_rotation)
 
glm::vec3 GetColumnFromMatrix (const glm::mat4 &mat, const int col)
 
glm::vec3 GetTranslationFromMatrix (const glm::mat4 &mat)
 
glm::vec3 LerpVector (const glm::vec3 &x, const glm::vec3 &y, float a)
 
void PrintMatrix (const glm::mat4 &matrix)
 
void PrintQuaternion (const glm::quat &quat)
 
void PrintVector (const glm::vec3 &vector)
 
bool SegmentAABBIntersect (const glm::vec3 &aabb_min, const glm::vec3 &aabb_max, const glm::vec3 &start, const glm::vec3 &end)
 

Function Documentation

glm::vec3 tango_gl::util::ApplyTransform ( const glm::mat4 mat,
const glm::vec3 vec 
)

Definition at line 237 of file util.cpp.

void tango_gl::util::CheckGlError ( const char *  operation)

Definition at line 43 of file util.cpp.

float tango_gl::util::Clamp ( float  value,
float  min,
float  max 
)

Definition at line 165 of file util.cpp.

GLuint tango_gl::util::CreateProgram ( const char *  vertex_source,
const char *  fragment_source 
)

Definition at line 75 of file util.cpp.

void tango_gl::util::DecomposeMatrix ( const glm::mat4 transform_mat,
glm::vec3 translation,
glm::quat rotation,
glm::vec3 scale 
)

Definition at line 115 of file util.cpp.

float tango_gl::util::DistanceSquared ( const glm::vec3 v1,
const glm::vec3 v2 
)

Definition at line 193 of file util.cpp.

TangoSupportRotation tango_gl::util::GetAndroidRotationFromColorCameraToDisplay ( int  display_rotation,
int  color_camera_rotation 
)

Definition at line 241 of file util.cpp.

TangoSupportRotation tango_gl::util::GetAndroidRotationFromColorCameraToDisplay ( TangoSupportRotation  display_rotation,
int  color_camera_rotation 
)

Definition at line 249 of file util.cpp.

glm::vec3 tango_gl::util::GetColumnFromMatrix ( const glm::mat4 mat,
const int  col 
)

Definition at line 157 of file util.cpp.

glm::vec3 tango_gl::util::GetTranslationFromMatrix ( const glm::mat4 mat)

Definition at line 161 of file util.cpp.

glm::vec3 tango_gl::util::LerpVector ( const glm::vec3 x,
const glm::vec3 y,
float  a 
)

Definition at line 189 of file util.cpp.

void tango_gl::util::PrintMatrix ( const glm::mat4 matrix)

Definition at line 170 of file util.cpp.

void tango_gl::util::PrintQuaternion ( const glm::quat quat)

Definition at line 184 of file util.cpp.

void tango_gl::util::PrintVector ( const glm::vec3 vector)

Definition at line 179 of file util.cpp.

bool tango_gl::util::SegmentAABBIntersect ( const glm::vec3 aabb_min,
const glm::vec3 aabb_max,
const glm::vec3 start,
const glm::vec3 end 
)

Definition at line 198 of file util.cpp.



rtabmap
Author(s): Mathieu Labbe
autogenerated on Wed Jun 5 2019 22:43:43