|
GCOP
1.0
|
#include <body2dgraphview.h>


Public Member Functions | |
| Body2dGraphView (const Body2dGraph &pg) | |
| virtual void | Render () |
| virtual bool | RenderFrame (int i) |
Public Attributes | |
| const Body2dGraph & | pg |
| float | rgba [4] |
| bool | drawLandmarks |
Rigid body view. Supports rendering either a single state or a whole trajectory of states.
| Body2dGraphView::Body2dGraphView | ( | const Body2dGraph & | pg | ) |
Create a view for a single state s
| name | name |
| s | rigid body state |
References drawLandmarks, and rgba.
| void Body2dGraphView::Render | ( | ) | [virtual] |
Render a view: all subclasses should provide this method
Reimplemented from gcop::View.
References RenderFrame().
| bool Body2dGraphView::RenderFrame | ( | int | i | ) | [virtual] |
Render a view: all subclasses should provide this method
| i | frame # |
Reimplemented from gcop::View.
References gcop::Viewer::DrawArrow(), drawLandmarks, gcop::Viewer::DrawText(), gcop::Body2dGraph::extforce, gcop::Body2dGraph::Js, gcop::Body2dGraph::p, pg, rgba, gcop::Body2dGraph::us, and gcop::Body2dGraph::xs.
Referenced by Render().
Referenced by Body2dGraphView(), and RenderFrame().
Referenced by RenderFrame().
| float gcop::Body2dGraphView::rgba[4] |
Referenced by Body2dGraphView(), and RenderFrame().
1.7.6.1