GCOP
1.0
|
#include <posegraph2dview.h>
Public Member Functions | |
Posegraph2dView (const Posegraph2d &pg) | |
virtual void | Render () |
virtual bool | RenderFrame (int i) |
Public Attributes | |
const Posegraph2d & | pg |
float | rgba [4] |
Rigid body view. Supports rendering either a single state or a whole trajectory of states.
Posegraph2dView::Posegraph2dView | ( | const Posegraph2d & | pg | ) |
void Posegraph2dView::Render | ( | ) | [virtual] |
Render a view: all subclasses should provide this method
Reimplemented from gcop::View.
References RenderFrame().
bool Posegraph2dView::RenderFrame | ( | int | i | ) | [virtual] |
Render a view: all subclasses should provide this method
i | frame # |
Reimplemented from gcop::View.
References gcop::Viewer::DrawText(), gcop::Posegraph2d::gs, gcop::Posegraph2d::Js, gcop::Posegraph2d::p, pg, rgba, and gcop::Viewer::SetColor().
Referenced by Render().
Referenced by RenderFrame().
float gcop::Posegraph2dView::rgba[4] |
Referenced by Posegraph2dView(), and RenderFrame().