Simbody  3.4 (development)
SimTK::PathDecorator Class Reference

This class generates decoration for contact points and straight line path segments. More...

#include <ContactGeometry.h>

+ Inheritance diagram for SimTK::PathDecorator:

List of all members.

Public Member Functions

 PathDecorator (const Vector &x, const Vec3 &O, const Vec3 &I, 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.

Detailed Description

This class generates decoration for contact points and straight line path segments.


Constructor & Destructor Documentation

SimTK::PathDecorator::PathDecorator ( const Vector x,
const Vec3 O,
const Vec3 I,
const Vec3 color 
) [inline]

Member Function Documentation

virtual void SimTK::PathDecorator::generateDecorations ( const State state,
Array_< DecorativeGeometry > &  geometry 
) [inline, 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.

Implements SimTK::DecorationGenerator.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines