Public Member Functions | Private Attributes | List of all members
tango_gl::Axis Class Reference

#include <axis.h>

Inheritance diagram for tango_gl::Axis:
Inheritance graph
[legend]

Public Member Functions

 Axis ()
 
void Render (const glm::mat4 &projection_mat, const glm::mat4 &view_mat) const
 
- Public Member Functions inherited from tango_gl::Line
 Line (float line_width, GLenum render_mode)
 
void Render (const glm::mat4 &projection_mat, const glm::mat4 &view_mat) const
 
void SetLineWidth (const float pixels)
 
void UpdateLineVertices (const std::vector< glm::vec3 > &vec_vertices)
 
- Public Member Functions inherited from tango_gl::DrawableObject
void DeleteGlResources ()
 
 DrawableObject ()
 
 DrawableObject (const DrawableObject &other)=delete
 
const DrawableObjectoperator= (const DrawableObject &)=delete
 
void SetAlpha (const float alpha)
 
void SetColor (const Color &color)
 
void SetColor (const float red, const float green, const float blue)
 
void SetShader ()
 
void SetVertices (const std::vector< GLfloat > &vertices)
 
void SetVertices (const std::vector< GLfloat > &vertices, const std::vector< GLfloat > &normals)
 
void SetVertices (const std::vector< GLfloat > &vertices, const std::vector< GLushort > &indices)
 
- Public Member Functions inherited from tango_gl::Transform
TransformGetParent ()
 
const TransformGetParent () const
 
glm::vec3 GetPosition () const
 
glm::quat GetRotation () const
 
glm::vec3 GetScale () const
 
glm::mat4 GetTransformationMatrix () const
 
const Transformoperator= (const Transform &rhs)=delete
 
void SetParent (Transform *transform)
 
void SetPosition (const glm::vec3 &position)
 
void SetRotation (const glm::quat &rotation)
 
void SetScale (const glm::vec3 &scale)
 
void SetTransformationMatrix (const glm::mat4 &transform_mat)
 
 Transform ()
 
 Transform (const Transform &other)=delete
 
void Translate (const glm::vec3 &translation)
 
virtual ~Transform ()
 

Private Attributes

GLuint attrib_colors_
 
std::vector< glm::vec4vec_colors_
 

Additional Inherited Members

- Protected Attributes inherited from tango_gl::Line
float line_width_
 
std::vector< glm::vec3vec_vertices_
 
- Protected Attributes inherited from tango_gl::DrawableObject
float alpha_
 
GLuint attrib_normals_
 
GLuint attrib_vertices_
 
float blue_
 
float green_
 
std::vector< GLushort > indices_
 
std::vector< GLfloat > normals_
 
float red_
 
GLenum render_mode_
 
GLuint shader_program_
 
GLuint uniform_color_
 
GLuint uniform_mvp_mat_
 
std::vector< GLfloat > vertices_
 

Detailed Description

Definition at line 23 of file axis.h.

Constructor & Destructor Documentation

◆ Axis()

tango_gl::Axis::Axis ( )

Definition at line 30 of file axis.cpp.

Member Function Documentation

◆ Render()

void tango_gl::Axis::Render ( const glm::mat4 projection_mat,
const glm::mat4 view_mat 
) const
virtual

Implements tango_gl::DrawableObject.

Definition at line 53 of file axis.cpp.

Member Data Documentation

◆ attrib_colors_

GLuint tango_gl::Axis::attrib_colors_
private

Definition at line 28 of file axis.h.

◆ vec_colors_

std::vector<glm::vec4> tango_gl::Axis::vec_colors_
private

Definition at line 29 of file axis.h.


The documentation for this class was generated from the following files:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:29