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