Public Member Functions | Protected Attributes
tango_gl::Mesh Class Reference

#include <mesh.h>

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

List of all members.

Public Member Functions

bool IsIntersecting (const Segment &segment)
 Mesh ()
 Mesh (GLenum render_mode)
void Render (const glm::mat4 &projection_mat, const glm::mat4 &view_mat) const
void SetBoundingBox ()
void SetLightDirection (const glm::vec3 &light_direction)
void SetShader ()
void SetShader (bool is_lighting_on)

Protected Attributes

BoundingBoxbounding_box_
bool is_bounding_box_on_
bool is_lighting_on_
glm::vec3 light_direction_
GLuint uniform_light_vec_
GLuint uniform_mv_mat_

Detailed Description

Definition at line 25 of file mesh.h.


Constructor & Destructor Documentation

Definition at line 21 of file mesh.cpp.

tango_gl::Mesh::Mesh ( GLenum  render_mode)

Definition at line 24 of file mesh.cpp.


Member Function Documentation

bool tango_gl::Mesh::IsIntersecting ( const Segment segment)

Definition at line 75 of file mesh.cpp.

void tango_gl::Mesh::Render ( const glm::mat4 projection_mat,
const glm::mat4 view_mat 
) const [virtual]

Implements tango_gl::DrawableObject.

Definition at line 86 of file mesh.cpp.

Definition at line 60 of file mesh.cpp.

void tango_gl::Mesh::SetLightDirection ( const glm::vec3 light_direction)

Definition at line 71 of file mesh.cpp.

Reimplemented from tango_gl::DrawableObject.

Definition at line 28 of file mesh.cpp.

void tango_gl::Mesh::SetShader ( bool  is_lighting_on)

Definition at line 36 of file mesh.cpp.


Member Data Documentation

Definition at line 37 of file mesh.h.

Definition at line 39 of file mesh.h.

Definition at line 38 of file mesh.h.

Definition at line 40 of file mesh.h.

Definition at line 42 of file mesh.h.

Definition at line 41 of file mesh.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Sat Jul 23 2016 11:44:32