GCOP  1.0
unicycleview.h
Go to the documentation of this file.
00001 #ifndef GCOP_UNICYCLEVIEW_H
00002 #define GCOP_UNICYCLEVIEW_H
00003 
00004 #include "unicycle.h"
00005 #include "systemview.h"
00006 
00007 namespace gcop {
00008   using namespace Eigen;
00009 
00010   class UnicycleView : public SystemView<Vector5d, Vector2d> {
00011   public:
00017     UnicycleView(const Unicycle &sys,
00018                  vector<Vector5d> *xs = 0,
00019                  vector<Vector2d> *us = 0);
00020 
00021     virtual ~UnicycleView();
00022        
00023 
00024     void Render(const Vector5d *x = 0,
00025                 const Vector2d *u = 0);
00026     
00027     void Render(const vector<Vector5d> *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 Unicycle &sys;
00035     GLUquadricObj *qobj;
00036   };
00037 }
00038 
00039 #endif