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