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

#include <body2dtrackview.h>

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

List of all members.

Public Member Functions

 Body2dTrackView (const Body2dTrack &pg)
virtual ~Body2dTrackView ()
virtual void Render ()
virtual bool RenderFrame (int i)

Public Attributes

const Body2dTrackpg
float rgba [4]
bool drawLandmarks
bool drawForces
double forceScale
GLUquadricObj * qobj

Detailed Description

Rigid body view. Supports rendering either a single state or a whole trajectory of states.


Constructor & Destructor Documentation

Create a view for a single state s

Parameters:
namename
srigid body state

References drawForces, drawLandmarks, forceScale, qobj, and rgba.

References qobj.


Member Function Documentation

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]

Member Data Documentation

Referenced by Body2dTrackView(), and RenderFrame().

Referenced by Body2dTrackView(), and RenderFrame().

Referenced by Body2dTrackView(), and RenderFrame().

Referenced by RenderFrame().

Referenced by Body2dTrackView(), and RenderFrame().


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