GCOP
1.0
|
#include <body2dtrackview.h>
Public Member Functions | |
Body2dTrackView (const Body2dTrack &pg) | |
virtual | ~Body2dTrackView () |
virtual void | Render () |
virtual bool | RenderFrame (int i) |
Public Attributes | |
const Body2dTrack & | pg |
float | rgba [4] |
bool | drawLandmarks |
bool | drawForces |
double | forceScale |
GLUquadricObj * | qobj |
Rigid body view. Supports rendering either a single state or a whole trajectory of states.
Body2dTrackView::Body2dTrackView | ( | const Body2dTrack & | pg | ) |
Create a view for a single state s
name | name |
s | rigid body state |
References drawForces, drawLandmarks, forceScale, qobj, and rgba.
Body2dTrackView::~Body2dTrackView | ( | ) | [virtual] |
References qobj.
void Body2dTrackView::Render | ( | ) | [virtual] |
Render a view: all subclasses should provide this method
Reimplemented from gcop::View.
References RenderFrame().
bool Body2dTrackView::RenderFrame | ( | int | i | ) | [virtual] |
Render a view: all subclasses should provide this method
i | frame # |
Reimplemented from gcop::View.
References gcop::Viewer::DrawArrow(), drawForces, drawLandmarks, gcop::Body2dTrack::extforce, forceScale, gcop::Body2dTrack::Js, gcop::Body2dTrack::ls, gcop::Body2dTrack::observed, gcop::Body2dTrack::p, pg, gcop::Body2dTrack::pis, gcop::Body2dTrack::pr, qobj, gcop::Body2dTrack::r, rgba, gcop::Viewer::SetColor(), gcop::Body2dTrack::uos, gcop::Body2dTrack::us, gcop::Body2dTrack::w, and gcop::Body2dTrack::xs.
Referenced by Render().
Referenced by Body2dTrackView(), and RenderFrame().
Referenced by Body2dTrackView(), and RenderFrame().
Referenced by Body2dTrackView(), and RenderFrame().
Referenced by RenderFrame().
GLUquadricObj* gcop::Body2dTrackView::qobj |
Referenced by Body2dTrackView(), RenderFrame(), and ~Body2dTrackView().
float gcop::Body2dTrackView::rgba[4] |
Referenced by Body2dTrackView(), and RenderFrame().