GCOP  1.0
kinbody2dview.h
Go to the documentation of this file.
00001 #ifndef GCOP_KINBODY2DVIEW_H
00002 #define GCOP_KINBODY2DVIEW_H
00003 
00004 #include "kinbody2d.h"
00005 #include "systemview.h"
00006 
00007 namespace gcop {
00008   using namespace Eigen;
00009 
00010   class Kinbody2dView : public SystemView<Matrix3d, Vector3d> {
00011   public:
00012 
00017     Kinbody2dView(const Kinbody2d &sys);
00018     
00024     Kinbody2dView(const Kinbody2d &sys,
00025                   vector<Matrix3d> *xs,
00026                   vector<Vector3d> *us = 0);
00027 
00028     virtual ~Kinbody2dView();
00029        
00030 
00031     void Render(const Matrix3d *x,
00032                 const Vector3d *u = 0);
00033     
00034     void Render(const vector<Matrix3d> *xs,
00035                 const vector<Vector3d> *us = 0,
00036                 bool rs = true,
00037                 int is = -1, int ie = -1,
00038                 int dis = 1, int dit = 1,
00039                 bool dl = false);
00040     
00041     const Kinbody2d &sys;
00042 
00043     GLUquadricObj *qobj;
00044   };
00045 }
00046 
00047 #endif