This is an EventReporter that makes it easy to generate on-screen movies of any simulation.
More...
#include <Visualizer_Reporter.h>
This is an EventReporter that makes it easy to generate on-screen movies of any simulation.
Use it like this:
The job of the MultibodySystem class is to coordinate the activities of various subsystems which can ...
Definition MultibodySystem.h:48
void addEventReporter(ScheduledEventReporter *handler) const
Add a ScheduledEventReporter to this System, which takes over ownership of the event reporter object.
Definition System.h:935
This is an EventReporter that makes it easy to generate on-screen movies of any simulation.
Definition Visualizer_Reporter.h:51
Provide simple visualization of and interaction with a Simbody simulation, with real time control of ...
Definition Visualizer.h:147
◆ Reporter() [1/2]
Create a Reporter for the given Visualizer viz, and call its report() method every reportInterval time units of simulation time (not necessarily measured in seconds).
Note that if you want to run your simulation in real time and you aren't using seconds as time units, you should set the time scale via the Visualizer's setRealTimeScale() method and set the report interval here to TimeScale/FrameRate.
◆ Reporter() [2/2]
This constructor will create a Visualizer with all the default settings for the supplied system sys.
This is an abbreviation for
.
◆ ~Reporter()
SimTK::Visualizer::Reporter::~Reporter |
( |
| ) |
|
Destructor will also destroy the contained Visualizer object if there are no other references to it.
◆ getVisualizer()
const Visualizer & SimTK::Visualizer::Reporter::getVisualizer |
( |
| ) |
const |
◆ handleEvent()
virtual void SimTK::Visualizer::Reporter::handleEvent |
( |
const State & |
state | ) |
const |
|
overridevirtual |
◆ getImpl()
const Impl & SimTK::Visualizer::Reporter::getImpl |
( |
| ) |
const |
|
inlineprotected |
◆ updImpl()
Impl & SimTK::Visualizer::Reporter::updImpl |
( |
| ) |
|
|
inlineprotected |
◆ impl
Impl* SimTK::Visualizer::Reporter::impl |
|
protected |
The documentation for this class was generated from the following file: