Simbody  3.7
SimTK::PlaneDecorator Class Reference

This class generates decoration for a plane. More...

+ Inheritance diagram for SimTK::PlaneDecorator:

Public Member Functions

 PlaneDecorator (const Plane &plane, const Vec3 &color)
 
virtual void generateDecorations (const State &state, Array_< DecorativeGeometry > &geometry) override
 This will be called every time a new State is about to be visualized. More...
 
- Public Member Functions inherited from SimTK::DecorationGenerator
virtual ~DecorationGenerator ()
 Destructor is virtual; be sure to override it if you have something to clean up at the end. More...
 

Detailed Description

This class generates decoration for a plane.

Constructor & Destructor Documentation

◆ PlaneDecorator()

SimTK::PlaneDecorator::PlaneDecorator ( const Plane plane,
const Vec3 color 
)
inline

Member Function Documentation

◆ generateDecorations()

virtual void SimTK::PlaneDecorator::generateDecorations ( const State state,
Array_< DecorativeGeometry > &  geometry 
)
inlineoverridevirtual

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.

Implements SimTK::DecorationGenerator.


The documentation for this class was generated from the following file: