GCOP
1.0
|
#include <body3dtrackview.h>
Public Member Functions | |
Body3dTrackView (const Body3dTrack &pg) | |
virtual | ~Body3dTrackView () |
virtual void | Render () |
virtual bool | RenderFrame (int i) |
Public Attributes | |
const Body3dTrack & | 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.
Body3dTrackView::Body3dTrackView | ( | const Body3dTrack & | pg | ) |
Create a view for a single state s
name | name |
s | rigid body state |
References drawForces, drawLandmarks, forceScale, qobj, and rgba.
Body3dTrackView::~Body3dTrackView | ( | ) | [virtual] |
References qobj.
void Body3dTrackView::Render | ( | ) | [virtual] |
Render a view: all subclasses should provide this method
Reimplemented from gcop::View.
References RenderFrame().
bool Body3dTrackView::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::Body3dTrack::extforce, forceScale, gcop::Body3dTrack::Js, gcop::Body3dTrack::ls, gcop::Body3dTrack::observed, gcop::Body3dTrack::p, pg, gcop::Body3dTrack::pis, gcop::Body3dTrack::pr, qobj, gcop::Body3dTrack::r, rgba, gcop::Viewer::SetColor(), gcop::Body3dTrack::us, gcop::Body3dTrack::w, and gcop::Body3dTrack::xs.
Referenced by Render().
Referenced by Body3dTrackView(), and RenderFrame().
Referenced by Body3dTrackView(), and RenderFrame().
Referenced by Body3dTrackView(), and RenderFrame().
Referenced by RenderFrame().
GLUquadricObj* gcop::Body3dTrackView::qobj |
Referenced by Body3dTrackView(), RenderFrame(), and ~Body3dTrackView().
float gcop::Body3dTrackView::rgba[4] |
Referenced by Body3dTrackView(), and RenderFrame().