Simbody  3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SimTK::GeodesicDecorator Class Reference

This class generates decoration (line segments) for a geodesic curve. More...

#include <Geodesic.h>

+ Inheritance diagram for SimTK::GeodesicDecorator:

Public Member Functions

 GeodesicDecorator (const Geodesic &geod, const Vec3 &color)
 
virtual void generateDecorations (const State &state, Array_< DecorativeGeometry > &geometry)
 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 (line segments) for a geodesic curve.

Constructor & Destructor Documentation

SimTK::GeodesicDecorator::GeodesicDecorator ( const Geodesic geod,
const Vec3 color 
)
inline

Member Function Documentation

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

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: