OpenGL module

Description

Runtime visualization with OpenGL.

This module provides support for run-time Chrono visualization using OpenGL. Differently from the IRRLICHT module, this system provides a lower-level access to the rendering system, when fewer features and faster rendering are needed.

For additional information, see:

Classes

class  chrono::opengl::ChOpenGLCamera
 OpenGL camera class. More...
 
class  chrono::opengl::ChOpenGLViewer
 OpenGL viewer, this class draws the system to the screen and handles input. More...
 
class  chrono::opengl::ChOpenGLEventCB
 Interface of an object which can receive events. More...
 
class  chrono::opengl::ChOpenGLWindow
 Manager for the OpenGL context and window. More...
 
class  chrono::opengl::ChOpenGLBase
 Base class for all OpenGL related classes. More...
 
class  chrono::opengl::ChOpenGLObject
 Base class for all drawable objects. More...
 
class  chrono::opengl::ChOpenGLShader
 Sample shader class that loads and compiles the vertex and fragment shaders. More...
 
class  chrono::opengl::ChOpenGLVertexAttributesPADSNT
 Support for ADS lighting with glow and texture coordinates. More...
 
class  chrono::opengl::ChOpenGLVertexAttributesPADSN
 Support for ADS lighting with glow. More...
 
class  chrono::opengl::ChOpenGLBars
 Renders rectangular bars. More...
 
class  chrono::opengl::ChOpenGLCloud
 Generic renderable point cloud. More...
 
class  chrono::opengl::ChOpenGLMesh
 Generic renderable triangle mesh. More...
 
class  chrono::opengl::ChOpenGLOBJ
 Class for rendering an object. More...
 
class  chrono::opengl::ChOpenGLText
 Generic renderable text class that uses an atlas stored in the FontData.h file. More...
 
class  chrono::opengl::ChOpenGLWires
 Renders a wireframe view for triangles. More...
 
class  chrono::opengl::ChOpenGLOBJLoader
 Uses the tiny_obj_loader library to load an OBJ file in the proper format. More...
 
class  chrono::opengl::ChOpenGLContacts
 Renders contact points as a point cloud. More...
 
class  chrono::opengl::ChOpenGLGraphs
 Class to render simple plots for the UI. More...
 
class  chrono::opengl::ChOpenGLHUD
 Class that renders the text and other UI elements. More...
 

Macros

#define BAD_GL_VALUE   GLuint(-1)
 

Enumerations

enum  CameraType { ORTHO, FREE }
 
enum  CameraDirection {
  UP, DOWN, LEFT, RIGHT,
  FORWARD, BACK
}
 
enum  RenderMode { POINTS, WIREFRAME, SOLID }