chrono::opengl::ChOpenGLStats Class Referenceabstract

Description

Base class for an OpenGL stats overlay.

#include <ChOpenGLStats.h>

Inheritance diagram for chrono::opengl::ChOpenGLStats:
Collaboration diagram for chrono::opengl::ChOpenGLStats:

Classes

struct  Screen
 Screen coordinates for text placement. More...
 

Public Member Functions

virtual bool Initialize (ChOpenGLCamera *camera)
 
virtual void GenerateStats (ChSystem &sys)=0
 
virtual void GenerateHelp ()
 
virtual void Render ()
 
virtual void TakeDown () override
 
- Public Member Functions inherited from chrono::opengl::ChOpenGLBase
bool GLReturnedError (const char *s)
 

Protected Attributes

struct chrono::opengl::ChOpenGLStats::Screen screen
 
double time_geometry
 
double time_text
 
double time_total
 
double fps
 
ChOpenGLText text
 
ChOpenGLBars bars
 
ChOpenGLShader font_shader
 
ChOpenGLShader bar_shader
 
ChOpenGLCamerarender_camera
 

Friends

class ChOpenGLViewer
 

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