chrono::opengl::ChOpenGLCloud Class Reference


Generic renderable point cloud.

#include <ChOpenGLCloud.h>

Inheritance diagram for chrono::opengl::ChOpenGLCloud:
Collaboration diagram for chrono::opengl::ChOpenGLCloud:

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

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