GCOP  1.0
Public Member Functions | Static Public Member Functions | Public Attributes
gcop::Body3dView< c > Class Template Reference

#include <body3dview.h>

Inheritance diagram for gcop::Body3dView< c >:
Inheritance graph
[legend]
Collaboration diagram for gcop::Body3dView< c >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Body3dView (const Body3d< c > &sys)
 Body3dView (const Body3d< c > &sys, vector< pair< Matrix3d, Vector9d > > *xs, vector< Vectorcd > *us=0)
virtual ~Body3dView ()
virtual void Render (const pair< Matrix3d, Vector9d > *x, const Vectorcd *u=0)
void Render (const vector< pair< Matrix3d, Vector9d > > *xs, const vector< Vectorcd > *us=0, bool rs=true, int is=-1, int ie=-1, int dis=1, int dit=1, bool dl=false)

Static Public Member Functions

static void Transform (const Matrix3d &R, const Vector3d &p)

Public Attributes

const Body3d< c > & sys
GLUquadricObj * qobj
double dirSize

template<int c = 6>
class gcop::Body3dView< c >


Constructor & Destructor Documentation

template<int c>
Body3dView::Body3dView ( const Body3d< c > &  sys)
template<int c>
Body3dView::Body3dView ( const Body3d< c > &  sys,
vector< pair< Matrix3d, Vector9d > > *  xs,
vector< Vectorcd > *  us = 0 
)
template<int c>
Body3dView::~Body3dView ( ) [virtual]

Member Function Documentation

template<int c>
void Body3dView::Render ( const pair< Matrix3d, Vector9d > *  x,
const Vectorcd *  u = 0 
) [virtual]
template<int c>
void Body3dView::Render ( const vector< pair< Matrix3d, Vector9d > > *  xs,
const vector< Vectorcd > *  us = 0,
bool  rs = true,
int  is = -1,
int  ie = -1,
int  dis = 1,
int  dit = 1,
bool  dl = false 
) [virtual]

Render a trajectory

Parameters:
trajtrajectory
rsrender state
isstart index
ieend index
disindex step for rendering bodies along trajectory
ditindex step for rendering states(points) along trajectory
dlalways draw last state

Implements gcop::SystemView< pair< Matrix3d, Vector9d >, Matrix< double, c, 1 > >.

template<int c>
void Body3dView::Transform ( const Matrix3d &  R,
const Vector3d &  p 
) [static]

Member Data Documentation

template<int c = 6>
double gcop::Body3dView< c >::dirSize
template<int c = 6>
GLUquadricObj* gcop::Body3dView< c >::qobj
template<int c = 6>
const Body3d<c>& gcop::Body3dView< c >::sys

Reimplemented in gcop::HeliView, and gcop::QrotorView.


The documentation for this class was generated from the following file: