Project Chrono: chrono::opengl::ChOpenGLWires Class Reference

Public Member Functions | List of all members
chrono::opengl::ChOpenGLWires Class Reference
OpenGL module

## Description

Renders a wireframe view for triangles.

`#include <ChOpenGLWires.h>`

Inheritance diagram for chrono::opengl::ChOpenGLWires:
[legend]
Collaboration diagram for chrono::opengl::ChOpenGLWires:
[legend]

## 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

## Member Function Documentation

## ◆ Draw()

void chrono::opengl::ChOpenGLWires::Draw | ( | const glm::mat4 & | projection,
|  | const glm::mat4 & | view )
| overridevirtual

Implements chrono::opengl::ChOpenGLObject.

## ◆ TakeDown()

void chrono::opengl::ChOpenGLWires::TakeDown | ( |  | ) |
| overridevirtual

Reimplemented from chrono::opengl::ChOpenGLObject.

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

- D:/W/B/src/chrono-9.0.1/src/chrono_opengl/shapes/ChOpenGLWires.h
- D:/W/B/src/chrono-9.0.1/src/chrono_opengl/shapes/ChOpenGLWires.cpp