1#ifndef SimTK_SIMBODY_VISUALIZER_REPORTER_H_
2#define SimTK_SIMBODY_VISUALIZER_REPORTER_H_
79 const Impl&
getImpl()
const {assert(impl);
return *impl;}
80 Impl&
updImpl() {assert(impl);
return *impl;}
Includes internal headers providing declarations for the basic SimTK Core classes,...
Every Simbody header and source file should include this header before any other Simbody header.
#define SimTK_SIMBODY_EXPORT
Definition Simbody/include/simbody/internal/common.h:68
Declares the Visualizer class used for collecting Simbody simulation results for display and interact...
The job of the MultibodySystem class is to coordinate the activities of various subsystems which can ...
Definition MultibodySystem.h:48
PeriodicEventReporter is a subclass of ScheduledEventReporter which generates a series of uniformly s...
Definition EventReporter.h:138
This object is intended to contain all state information for a SimTK::System, except topological info...
Definition State.h:280
This is an EventReporter that makes it easy to generate on-screen movies of any simulation.
Definition Visualizer_Reporter.h:51
Impl * impl
Definition Visualizer_Reporter.h:78
~Reporter()
Destructor will also destroy the contained Visualizer object if there are no other references to it.
Reporter(const MultibodySystem &sys, Real reportInterval=Infinity)
This constructor will create a Visualizer with all the default settings for the supplied system sys.
Impl & updImpl()
Definition Visualizer_Reporter.h:80
virtual void handleEvent(const State &state) const override
This satisfies the pure virtual method in EventReporter.
Reporter(const Visualizer &viz, Real reportInterval=Infinity)
Create a Reporter for the given Visualizer viz, and call its report() method every reportInterval tim...
const Impl & getImpl() const
Definition Visualizer_Reporter.h:79
const Visualizer & getVisualizer() const
Get the Visualizer which this Reporter is using to generate images.
Provide simple visualization of and interaction with a Simbody simulation, with real time control of ...
Definition Visualizer.h:147
This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with o...
Definition Assembler.h:37
Visualizer::Reporter VTKEventReporter
OBSOLETE: This provides limited backwards compatibility with the old VTK Visualizer that is no longer...
Definition Visualizer_Reporter.h:85
SimTK_Real Real
This is the default compiled-in floating point type for SimTK, either float or double.
Definition SimTKcommon/include/SimTKcommon/internal/common.h:606