GCOP
1.0
|
#include <kinbody3dtrackview.h>
Public Member Functions | |
Kinbody3dTrackView (const Kinbody3dTrack< _nu > &pg) | |
virtual | ~Kinbody3dTrackView () |
virtual void | Render () |
virtual bool | RenderFrame (int i) |
Public Attributes | |
const Kinbody3dTrack< _nu > & | 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.
gcop::Kinbody3dTrackView< _nu >::Kinbody3dTrackView | ( | const Kinbody3dTrack< _nu > & | pg | ) |
Create a view for a single state s
name | name |
s | rigid body state |
References gcop::Kinbody3dTrackView< _nu >::drawForces, gcop::Kinbody3dTrackView< _nu >::drawLandmarks, gcop::Kinbody3dTrackView< _nu >::forceScale, gcop::Kinbody3dTrackView< _nu >::qobj, and gcop::Kinbody3dTrackView< _nu >::rgba.
gcop::Kinbody3dTrackView< _nu >::~Kinbody3dTrackView | ( | ) | [virtual] |
void gcop::Kinbody3dTrackView< _nu >::Render | ( | ) | [virtual] |
Render a view: all subclasses should provide this method
Reimplemented from gcop::View.
bool gcop::Kinbody3dTrackView< _nu >::RenderFrame | ( | int | i | ) | [virtual] |
Render a view: all subclasses should provide this method
i | frame # |
Reimplemented from gcop::View.
References gcop::Viewer::DrawArrow(), and gcop::Viewer::SetColor().
bool gcop::Kinbody3dTrackView< _nu >::drawForces |
Referenced by gcop::Kinbody3dTrackView< _nu >::Kinbody3dTrackView().
bool gcop::Kinbody3dTrackView< _nu >::drawLandmarks |
Referenced by gcop::Kinbody3dTrackView< _nu >::Kinbody3dTrackView().
double gcop::Kinbody3dTrackView< _nu >::forceScale |
Referenced by gcop::Kinbody3dTrackView< _nu >::Kinbody3dTrackView().
const Kinbody3dTrack<_nu>& gcop::Kinbody3dTrackView< _nu >::pg |
GLUquadricObj* gcop::Kinbody3dTrackView< _nu >::qobj |
Referenced by gcop::Kinbody3dTrackView< _nu >::Kinbody3dTrackView().
float gcop::Kinbody3dTrackView< _nu >::rgba[4] |
Referenced by gcop::Kinbody3dTrackView< _nu >::Kinbody3dTrackView().