GCOP  1.0
carview.h
Go to the documentation of this file.
00001 #ifndef GCOP_CARVIEW_H
00002 #define GCOP_CARVIEW_H
00003 
00004 #include "car.h"
00005 #include "systemview.h"
00006 
00007 namespace gcop {
00008   using namespace Eigen;
00009 
00010   class CarView : public SystemView<Vector5d, Vector2d> {
00011   public:
00012 
00018     CarView(const Car &sys,
00019             vector<Vector5d> *xs = 0,
00020             vector<Vector2d> *us = 0);
00021 
00022     virtual ~CarView();
00023        
00024 
00025     void Render(const Vector5d *x,
00026                 const Vector2d *u = 0);
00027     
00028     void Render(const vector<Vector5d> *xs,
00029                 const vector<Vector2d> *us = 0,
00030                 bool rs = true,
00031                 int is = -1, int ie = -1,
00032                 int dis = 1, int dit = 1,
00033                 bool dl = false);
00034     
00035     const Car &sys;
00036     GLUquadricObj *qobj;
00037   };
00038 }
00039 
00040 #endif