GCOP
1.0
|
#include <normal2dview.h>
Public Member Functions | |
Normal2dView (vector< Normal< _n > > *gds=0, vector< Vector2d > *us=0) | |
virtual | ~Normal2dView () |
void | Render (const Normal< _n > *gd, const Vector2d *u=0) |
void | Render (const vector< Normal< _n > > *gds=0, const vector< Vector2d > *us=0, bool rs=true, int is=-1, int ie=-1, int dis=1, int dit=1, bool dl=false) |
Public Attributes | |
bool | wire |
bool | texture |
double | s |
height scaling (default is 1) |
gcop::Normal2dView< _n >::Normal2dView | ( | vector< Normal< _n > > * | gds = 0 , |
vector< Vector2d > * | us = 0 |
||
) |
Create a normal view of trajectory traj
sys | normal |
xs | trajectory |
References gcop::SystemView< Normal< _n >, Vector2d >::lineWidth, gcop::SystemView< Normal< _n >, Vector2d >::rgba, gcop::Normal2dView< _n >::s, gcop::Normal2dView< _n >::texture, and gcop::Normal2dView< _n >::wire.
gcop::Normal2dView< _n >::~Normal2dView | ( | ) | [virtual] |
void gcop::Normal2dView< _n >::Render | ( | const Normal< _n > * | gd, |
const Vector2d * | u = 0 |
||
) | [virtual] |
Implements gcop::SystemView< Normal< _n >, Vector2d >.
References gcop::Normal< _n >::L(), gcop::Normal< _n >::mu, gcop::Normal< _n >::P, gcop::SystemView< Normal< _n >, Vector2d >::rgba, gcop::Normal2dView< _n >::s, gcop::Viewer::SetMaterial(), gcop::Normal2dView< _n >::texture, and gcop::Normal2dView< _n >::wire.
void gcop::Normal2dView< _n >::Render | ( | const vector< Normal< _n > > * | xs = 0 , |
const vector< Vector2d > * | us = 0 , |
||
bool | rs = true , |
||
int | is = -1 , |
||
int | ie = -1 , |
||
int | dis = 1 , |
||
int | dit = 1 , |
||
bool | dl = false |
||
) | [virtual] |
Render a trajectory
traj | trajectory |
rs | render state |
is | start index |
ie | end index |
dis | index step for rendering bodies along trajectory |
dit | index step for rendering states(points) along trajectory |
dl | always draw last state |
Implements gcop::SystemView< Normal< _n >, Vector2d >.
double gcop::Normal2dView< _n >::s |
height scaling (default is 1)
Referenced by gcop::Normal2dView< _n >::Normal2dView(), and gcop::Normal2dView< _n >::Render().
bool gcop::Normal2dView< _n >::texture |
Referenced by gcop::Normal2dView< _n >::Normal2dView(), and gcop::Normal2dView< _n >::Render().
bool gcop::Normal2dView< _n >::wire |
Referenced by gcop::Normal2dView< _n >::Normal2dView(), and gcop::Normal2dView< _n >::Render().