37 class CableDamageState;
38 class SegmentDamageState;
47 class ExampleApplication;
81 std::string m_getDamageName;
#define AGX_DECLARE_POINTER_TYPES(type)
Inspect a cable's current state and compute a SegmentDamageState for each segment.
A model of a cable using a lumped elements model.
A SegmenDamageState instance records a collection of states computed from a cable for later use by a ...
virtual void post(const agx::Real &timeStamp) override
Called after a step is taken in the simulation Implement this method in the derived class to get call...
virtual ~CableDamageDataRenderer()
void setDamageGetter(std::string name, std::function< agx::Real(const agxCable::SegmentDamageState *)> f)
CableDamageDataRenderer(agxCable::Cable *cable, agxCable::CableDamageState *damage, osg::Group *root, agxOSG::ExampleApplication &application)
Class that encapsulates rendering and simulation using OpenSceneGraph.
Derive from this class to implement a listener for simulation step events.
Contain classes for 6 DOF lumped element cables/wires/ropes.
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.