17 #ifndef AGXPLOT_DEBUGPLOT_H 18 #define AGXPLOT_DEBUGPLOT_H 20 #include <agx/config/AGX_USE_WEBPLOT.h> 91 SINGLETON_CLASSNAME_METHOD();
104 virtual ~CurveData() {}
107 struct TimeCurveData :
public CurveData
109 TimeCurveData() : m_written( true ), m_value(
agx::
Real( 0 ) ) {}
111 agx::Real getValue()
const { m_written =
true;
return m_value; }
116 if ( behavior == TimeDataBehavior::ADD )
118 else if ( behavior == TimeDataBehavior::USE_FIRST )
120 else if ( behavior == TimeDataBehavior::USE_LAST )
130 virtual ~TimeCurveData() {}
138 struct XYCurveData :
public CurveData
150 virtual ~XYCurveData() {}
154 struct YCurveData :
public XYCurveData
156 YCurveData() : m_counter(0) {}
160 XYCurveData::add( (
agx::Real)m_counter++, y );
164 virtual ~YCurveData() {}
193 #if AGX_USE_WEBPLOT() 194 agxPlot::WebPlotRef m_webPlot;
196 TimeWindowTable m_timeCurveWindows;
197 XYWindowTable m_xyCurveWindows;
198 YWindowTable m_yCurveWindows;
AGXTERRAIN_EXPORT void clear()
void AGXPHYSICS_EXPORT shutdown()
Shutdown of the AGX Dynamics API will be done when the number of shutdown matches the number of calls...
Use first value set - i.e., ignore all the rest of the values during this time step, to this curve.
Add previous and current.
Namespace contains functionality related to plotting.
#define AGXPHYSICS_EXPORT
Base class providing referencing counted objects.
This class is a combined container which has the find complexity of a HashTable, deterministic iterat...
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
"Static" helper class to plot values from where e.g., values aren't exposed.
TimeDataBehavior
Behavior when pushing time data values since several calls can be made within same the time step...
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
Base class for Singletons that should have its shutdown called explicitly before exit of the applicat...