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

#include <line.h>

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

List of all members.

Public Member Functions

 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)

Protected Attributes

float line_width_
std::vector< glm::vec3vec_vertices_

Detailed Description

Definition at line 23 of file line.h.


Constructor & Destructor Documentation

tango_gl::Line::Line ( float  line_width,
GLenum  render_mode 
)

Definition at line 20 of file line.cpp.


Member Function Documentation

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

Implements tango_gl::DrawableObject.

Reimplemented in tango_gl::Axis.

Definition at line 25 of file line.cpp.

void tango_gl::Line::SetLineWidth ( const float  pixels)

Definition at line 24 of file line.cpp.

void tango_gl::Line::UpdateLineVertices ( const std::vector< glm::vec3 > &  vec_vertices) [inline]

Definition at line 28 of file line.h.


Member Data Documentation

float tango_gl::Line::line_width_ [protected]

Definition at line 33 of file line.h.

std::vector<glm::vec3> tango_gl::Line::vec_vertices_ [protected]

Definition at line 34 of file line.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