#include <VTKEventReporter.h>
Simply create a VTKEventReporter, then invoke addEventReporter() on the MultibodySystem's default subsystem.
Public Member Functions | |
VTKEventReporter (MultibodySystem &system, Real reportInterval) | |
~VTKEventReporter () | |
VTKVisualizer & | getVisualizer () |
Get the VTKVisualizer which generates the images. | |
void | handleEvent (const State &state) const |
This method is invoked to handle the event. | |
Protected Member Functions | |
const VTKEventReporterRep & | getRep () const |
VTKEventReporterRep & | updRep () const |
Protected Attributes | |
VTKEventReporterRep * | rep |
VTKEventReporter | ( | MultibodySystem & | system, | |
Real | reportInterval | |||
) |
~VTKEventReporter | ( | ) |
VTKVisualizer& getVisualizer | ( | ) |
Get the VTKVisualizer which generates the images.
It may be used to configure the display.
void handleEvent | ( | const State & | state | ) | const [virtual] |
This method is invoked to handle the event.
It is given a State which describes the system at the time when the event occurs.
Implements EventReporter.
const VTKEventReporterRep& getRep | ( | ) | const [inline, protected] |
VTKEventReporterRep& updRep | ( | ) | const [inline, protected] |
VTKEventReporterRep* rep [protected] |