GCOP  1.0
Public Member Functions | Public Attributes
gcop::Point3dView Class Reference

#include <point3dview.h>

Inheritance diagram for gcop::Point3dView:
Inheritance graph
[legend]
Collaboration diagram for gcop::Point3dView:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Point3dView (const Point3d &sys, vector< Point3dState > *xs=0, vector< Vector3d > *us=0)
virtual ~Point3dView ()
void Render (const Point3dState *x, const Vector3d *u=0)
void Render (const vector< Point3dState > *xs, const vector< Vector3d > *us=0, bool rs=true, int is=-1, int ie=-1, int dis=1, int dit=1, bool dl=false)

Public Attributes

const Point3dsys
double r
 radius

Constructor & Destructor Documentation

Point3dView::Point3dView ( const Point3d sys,
vector< Point3dState > *  xs = 0,
vector< Vector3d > *  us = 0 
)

Create a particle view of trajectory traj

Parameters:
sysparticle
xstrajectory

References gcop::SystemView< Point3dState, Vector3d >::lineWidth, r, and gcop::SystemView< Point3dState, Vector3d >::rgba.


Member Function Documentation

void Point3dView::Render ( const Point3dState x,
const Vector3d *  u = 0 
) [virtual]
void Point3dView::Render ( const vector< Point3dState > *  xs,
const vector< Vector3d > *  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< Point3dState, Vector3d >.

References gcop::SystemView< Point3dState, Vector3d >::dis, gcop::SystemView< Point3dState, Vector3d >::dit, gcop::SystemView< Point3dState, Vector3d >::lineWidth, gcop::Point3dState::q, gcop::SystemView< Point3dState, Vector3d >::Render(), gcop::SystemView< Point3dState, Vector3d >::rgba, and gcop::SystemView< Point3dState, Vector3d >::SetColor().


Member Data Documentation

radius

Referenced by Point3dView(), and Render().


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