Simbody
3.7
|
This abstract class represents an object that will be invoked by the Visualizer just prior to rendering each frame. More...
Public Member Functions | |
virtual void | generateControls (const Visualizer &viz, const State &state, Array_< DecorativeGeometry > &geometry)=0 |
The Visualizer is just about to generate and render a frame corresponding to the given State. More... | |
virtual | ~FrameController () |
Destructor is virtual; be sure to override it if you have something to clean up at the end. More... | |
This abstract class represents an object that will be invoked by the Visualizer just prior to rendering each frame.
You can use this to call any of the const (runtime) methods of the Visualizer, typically to control the camera, and you can also add some geometry to the scene, print messages to the console, and so on.
|
inlinevirtual |
Destructor is virtual; be sure to override it if you have something to clean up at the end.
|
pure virtual |
The Visualizer is just about to generate and render a frame corresponding to the given State.
[in] | viz | The Visualizer that is doing the rendering. |
[in] | state | The State that is being used to generate the frame about to be rendered by viz. |
[in,out] | geometry | DecorativeGeometry being accumulated for rendering in this frame; be sure to append if you have anything to add. |
Implemented in SimTK::Visualizer::BodyFollower.