GCOP  1.0
qrotorview.h
Go to the documentation of this file.
00001 #ifndef GCOP_QROTORVIEW_H
00002 #define GCOP_QROTORVIEW_H
00003 
00004 #include "qrotor.h"
00005 #include "body3dview.h"
00006 #include "GL/glut.h"
00007 #include <assert.h>
00008 #include <stdlib.h>
00009 #include <string.h>
00010 #include <iostream>
00011 //#include "viewer.h"
00012 #include "so3.h"
00013 
00014 
00015 namespace gcop {
00016   
00017   using namespace Eigen;
00018   
00019   class QrotorView : public Body3dView<4> {
00020   public:
00021 
00027   QrotorView(const Qrotor &sys,
00028              vector<pair<Matrix3d, Vector9d> > *xs = 0,
00029              vector<Vector4d> *us = 0);
00030   
00031   //  virtual ~QrotorView();  
00032   
00033   void Render(const pair<Matrix3d, Vector9d> *x,
00034               const Vector4d *u = 0);
00035 
00036   const Qrotor &sys;
00037   };
00038 }
00039 #endif