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