This is an EventReporter that makes it easy to generate on-screen movies of any simulation.
More...
This is an EventReporter that makes it easy to generate on-screen movies of any simulation.
Use it like this:
system.addEventReporter(
new Visualizer::Reporter(viz,
interval));
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.
This constructor will create a Visualizer with all the default settings for the supplied system sys.
This is an abbreviation for
.
SimTK::Visualizer::Reporter::~Reporter |
( |
| ) |
|
Destructor will also destroy the contained Visualizer object if there are no other references to it.
const Visualizer& SimTK::Visualizer::Reporter::getVisualizer |
( |
| ) |
const |
virtual void SimTK::Visualizer::Reporter::handleEvent |
( |
const State & |
state | ) |
const |
|
virtual |
const Impl& SimTK::Visualizer::Reporter::getImpl |
( |
| ) |
const |
|
inlineprotected |
Impl& SimTK::Visualizer::Reporter::updImpl |
( |
| ) |
|
|
inlineprotected |
Impl* SimTK::Visualizer::Reporter::impl |
|
protected |
The documentation for this class was generated from the following file: