#include <video_overlay.h>
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 DrawableObject & | operator= (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 | |
Transform * | GetParent () |
const Transform * | GetParent () const |
glm::vec3 | GetPosition () const |
glm::quat | GetRotation () const |
glm::vec3 | GetScale () const |
glm::mat4 | GetTransformationMatrix () const |
const Transform & | operator= (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_ |
Definition at line 23 of file video_overlay.h.
tango_gl::VideoOverlay::VideoOverlay | ( | ) |
Definition at line 34 of file video_overlay.cpp.
|
inline |
Definition at line 27 of file video_overlay.h.
|
virtual |
Implements tango_gl::DrawableObject.
Definition at line 86 of file video_overlay.cpp.
|
inline |
Definition at line 28 of file video_overlay.h.
|
private |
Definition at line 34 of file video_overlay.h.
|
private |
Definition at line 32 of file video_overlay.h.
|
private |
Definition at line 35 of file video_overlay.h.
|
private |
Definition at line 36 of file video_overlay.h.