chrono::opengl::ChOpenGLBars Class Reference

Description

Renders rectangular bars.

#include <ChOpenGLBars.h>

Inheritance diagram for chrono::opengl::ChOpenGLBars:
Collaboration diagram for chrono::opengl::ChOpenGLBars:

Public Member Functions

virtual bool Initialize (ChOpenGLShader *_shader)
 
virtual void Draw (const glm::mat4 &projection=glm::mat4(1), const glm::mat4 &view=glm::mat4(1))
 
void TakeDown ()
 
bool PostInitialize ()
 
void AddBar (double left, double right, double top, double bottom, glm::vec3 color)
 
void Update ()
 
void Clear ()
 
- Public Member Functions inherited from chrono::opengl::ChOpenGLObject
virtual bool Initialize ()
 
virtual bool PostGLInitialize (const GLvoid *ptr, GLsizeiptr size)
 
void AttachShader (ChOpenGLShader *new_shader)
 
- Public Member Functions inherited from chrono::opengl::ChOpenGLBase
bool GLReturnedError (const char *s)
 

Additional Inherited Members

- Protected Attributes inherited from chrono::opengl::ChOpenGLObject
GLuint vertex_array_handle
 
GLuint vertex_data_handle
 
GLuint vertex_element_handle
 
GLuint vertex_ambient_handle
 
GLuint vertex_diffuse_handle
 
GLuint vertex_specular_handle
 
GLuint vertex_model_handle
 
std::vector< GLuint > vertex_indices
 
ChOpenGLShadershader
 

The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono_opengl/shapes/ChOpenGLBars.h
  • /builds/uwsbel/chrono/src/chrono_opengl/shapes/ChOpenGLBars.cpp