29 #include <osg/observer_ptr> 61 void renderAccumulated();
63 bool isRenderingCurrent()
const;
64 bool isRenderingAccumulated()
const;
72 void setEnableRendering(
bool enable);
78 bool getEnableRendering()
const;
92 void setColorRangeMax(
agx::Real colorRangeMax);
108 virtual void last(
const agx::Real& timeStamp)
override;
118 osg::observer_ptr<osg::Group> m_parent;
121 bool m_renderAccumulatedInsteadOfCurrent;
Derive from this class to implement a listener for simulation step events.
virtual ~CableDamageRenderer()
#define AGX_DECLARE_POINTER_TYPES(type)
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.
A node that can be associated with a collision geometry so that the transformation of this node is up...
AGXCORE_EXPORT Component * root()
The CableDamage class is used to estimate damage caused to a cable during a simulation.
Class that creates OSG rendering nodes for each segment of a cable and colors them with a color gradi...