| 
    Simbody
    3.7
    
   | 
 
A DecorationGenerator is used to define geometry that may change over the course of a simulation. More...
 Inheritance diagram for SimTK::DecorationGenerator:Public Member Functions | |
| virtual void | generateDecorations (const State &state, Array_< DecorativeGeometry > &geometry)=0 | 
| This will be called every time a new State is about to be visualized.  More... | |
| virtual | ~DecorationGenerator () | 
| Destructor is virtual; be sure to override it if you have something to clean up at the end.  More... | |
A DecorationGenerator is used to define geometry that may change over the course of a simulation.
Example include
To use it, define a concrete subclass that implements generateDecorations() to generate whatever geometry is appropriate for a given State. It can then be added to a DecorationSubsystem, or directly to a Visualizer.
      
  | 
  inlinevirtual | 
Destructor is virtual; be sure to override it if you have something to clean up at the end.
      
  | 
  pure virtual | 
This will be called every time a new State is about to be visualized.
It should generate whatever decorations are appropriate for the State and append them to the array.
Implemented in SimTK::PlaneDecorator, SimTK::PathDecorator, and SimTK::GeodesicDecorator.