trick/trick_models/ODE/DrawStuff/DrawStuff.hh
Alex Lin 68ffd04dff Introduce Open Dynamics Engine examples
Took the ODE bouncing ball tutorial sim and interfaced it within Trick.  Created classes to handle
interfacing with ODE and the DrawStuff graphics that comes with ODE.  Created classes
to contain the ball and the drawstuff graphics for the ball.

refs #172
2016-01-29 09:15:00 -06:00

35 lines
578 B
C++

/*
PURPOSE:
(Create the ODE world)
LIBRARY DEPENDENCY:
((DrawStuff.cpp))
*/
#ifndef DRAWSTUFF_HH
#define DRAWSTUFF_HH
#include <vector>
#include <drawstuff/drawstuff.h>
#include "DrawStuffObject.hh"
class DrawStuff {
public:
dsFunctions fn;
int window_width ;
int window_height ;
DrawStuff() ;
static void start() ;
static void step(int) ;
int draw() ;
int shutdown() ;
static void add_object(DrawStuffObject * dso) ;
static std::vector<DrawStuffObject *> objects ;
} ;
#endif