chrono::opengl::ChOpenGLWires Class Reference
Description
Renders a wireframe view for triangles.
#include <ChOpenGLWires.h>
Inheritance diagram for chrono::opengl::ChOpenGLWires:
Collaboration diagram for chrono::opengl::ChOpenGLWires:
Public Member Functions | |
bool | Initialize (const std::vector< glm::vec3 > &data, ChOpenGLMaterial mat, ChOpenGLShader *shader) |
virtual void | Draw (const glm::mat4 &projection, const glm::mat4 &view) override |
virtual void | TakeDown () override |
void | Update (const std::vector< glm::vec3 > &data) |
void | SetPointSize (const float &pointsize) |
Public Member Functions inherited from chrono::opengl::ChOpenGLObject | |
bool | Initialize () |
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 |
ChOpenGLShader * | shader |
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono_opengl/shapes/ChOpenGLWires.h
- /builds/uwsbel/chrono/src/chrono_opengl/shapes/ChOpenGLWires.cpp