GCOP  1.0
Public Member Functions | Static Public Member Functions | Public Attributes
gcop::Kinbody3dView< _nu > Class Template Reference

#include <kinbody3dview.h>

Inheritance diagram for gcop::Kinbody3dView< _nu >:
Inheritance graph
[legend]
Collaboration diagram for gcop::Kinbody3dView< _nu >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Kinbody3dView (const Kinbody3d< _nu > &sys)
 Kinbody3dView (const Kinbody3d< _nu > &sys, vector< Matrix4d > *xs, vector< Vectorud > *us=0)
virtual ~Kinbody3dView ()
virtual void Render (const Matrix4d *x, const Vectorud *u=0)
void Render (const vector< Matrix4d > *xs, const vector< Vectorud > *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 Kinbody3d< _nu > & sys
GLUquadricObj * qobj
double dirSize

template<int _nu = 6>
class gcop::Kinbody3dView< _nu >


Constructor & Destructor Documentation

template<int _nu>
Kinbody3dView::Kinbody3dView ( const Kinbody3d< _nu > &  sys)
template<int _nu>
Kinbody3dView::Kinbody3dView ( const Kinbody3d< _nu > &  sys,
vector< Matrix4d > *  xs,
vector< Vectorud > *  us = 0 
)
template<int _nu>
Kinbody3dView::~Kinbody3dView ( ) [virtual]

Member Function Documentation

template<int _nu>
void Kinbody3dView::Render ( const Matrix4d x,
const Vectorud *  u = 0 
) [virtual]
template<int _nu>
void Kinbody3dView::Render ( const vector< Matrix4d > *  xs,
const vector< Vectorud > *  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< Matrix4d, Matrix< double, _nu, 1 > >.

References gcop::Viewer::SetColor().

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

Member Data Documentation

template<int _nu = 6>
double gcop::Kinbody3dView< _nu >::dirSize
template<int _nu = 6>
GLUquadricObj* gcop::Kinbody3dView< _nu >::qobj
template<int _nu = 6>
const Kinbody3d<_nu>& gcop::Kinbody3dView< _nu >::sys

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