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

#include <video_overlay.h>

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

Public Member Functions

GLuint GetTextureId () const
 
void Render (const glm::mat4 &projection_mat, const glm::mat4 &view_mat) const
 
void SetTextureId (GLuint texture_id)
 
 VideoOverlay ()
 
- 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< GLushort > &indices)
 
void SetVertices (const std::vector< GLfloat > &vertices, const std::vector< GLfloat > &normals)
 
- Public Member Functions inherited from tango_gl::Transform
const TransformGetParent () const
 
TransformGetParent ()
 
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_texture_coords_
 
GLuint texture_id_
 
GLuint uniform_texture_
 
GLuint vertex_buffers_ [3]
 

Additional Inherited Members

- 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 video_overlay.h.

Constructor & Destructor Documentation

tango_gl::VideoOverlay::VideoOverlay ( )

Definition at line 34 of file video_overlay.cpp.

Member Function Documentation

GLuint tango_gl::VideoOverlay::GetTextureId ( ) const
inline

Definition at line 27 of file video_overlay.h.

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

Implements tango_gl::DrawableObject.

Definition at line 86 of file video_overlay.cpp.

void tango_gl::VideoOverlay::SetTextureId ( GLuint  texture_id)
inline

Definition at line 28 of file video_overlay.h.

Member Data Documentation

GLuint tango_gl::VideoOverlay::attrib_texture_coords_
private

Definition at line 34 of file video_overlay.h.

GLuint tango_gl::VideoOverlay::texture_id_
private

Definition at line 32 of file video_overlay.h.

GLuint tango_gl::VideoOverlay::uniform_texture_
private

Definition at line 35 of file video_overlay.h.

GLuint tango_gl::VideoOverlay::vertex_buffers_[3]
private

Definition at line 36 of file video_overlay.h.


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


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