Klamp't  0.8.1
Public Member Functions | Public Attributes | List of all members
ViewPlot Class Reference

An OpenGL x-y auto-scrolling plot. Used in SimTest (Interface/SimTestGUI.h) to draw sensor data. More...

#include <ViewPlot.h>

Public Member Functions

void AddCurve (vector< double > &ys)
 
void AddPoint (double x, double y, int curve=0)
 
void AutoXRange ()
 
void AutoYRange ()
 
void AutoErase ()
 
void DrawGL ()
 

Public Attributes

bool xMonotone
 
bool autoXRange
 
bool autoYRange
 
bool autoErase
 
bool drawBound
 
bool drawPlotArea
 
bool drawXRangeBottom
 
bool drawXRangeTop
 
bool drawYRangeLeft
 
bool drawYRangeRight
 
string xlabel
 
string ylabel
 
int x
 
int y
 
int width
 
int height
 
GLDraw::GLColor boundColor
 
GLDraw::GLColor plotAreaColor
 
GLDraw::GLColor axisColor
 
vector< deque< pair< double, double > > > curves
 
vector< GLDraw::GLColor > curveColors
 
double xmin
 
double xmax
 
double ymin
 
double ymax
 

Detailed Description

An OpenGL x-y auto-scrolling plot. Used in SimTest (Interface/SimTestGUI.h) to draw sensor data.


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