Simbody
3.4 (development)
|
This class generates decoration for a plane. More...
#include <ContactGeometry.h>
Public Member Functions | |
PlaneDecorator (const Plane &plane, const Vec3 &color) | |
virtual void | generateDecorations (const State &state, Array_< DecorativeGeometry > &geometry) |
This will be called every time a new State is about to be visualized. |
This class generates decoration for a plane.
SimTK::PlaneDecorator::PlaneDecorator | ( | const Plane & | plane, |
const Vec3 & | color | ||
) | [inline] |
virtual void SimTK::PlaneDecorator::generateDecorations | ( | const State & | state, |
Array_< DecorativeGeometry > & | geometry | ||
) | [inline, virtual] |
This will be called every time a new State is about to be visualized.
It should generate whatever decorations are appropriate for the State and append them to the array.
Implements SimTK::DecorationGenerator.