17 #ifndef AGXSDK_CONSTRAINTLOGLISTENER_H 18 #define AGXSDK_CONSTRAINTLOGLISTENER_H 42 bool newFilePerTimeStep =
false,
43 const std::string& valueSeparator =
"\t");
50 inline void addConstraint(
agx::Constraint* constraint,
int bodyIndex = 0);
54 virtual void obtainHeader( std::stringstream& header );
55 virtual void collectData ( std::stringstream& data,
const agx::TimeStamp& );
void setEnableComputeForces(agx::Bool enable)
Enable (or disable) computation of the forces applied to the dynamic bodies in this constraint...
#define AGXPHYSICS_EXPORT
The base class for a constraint.
std::pair< agx::observer_ptr< agx::Constraint >, int > AttachedConstrait
agx::Vector< AttachedConstrait > m_constraints
void addConstraint(agx::Constraint *constraint, int bodyIndex=0)
Adds a constraint for logging.
agx::ref_ptr< ConstraintLogListener > ConstraintLogListenerRef
Class that will log various properties of constraints.
Smart pointer for handling referenced counted objects.
Abstract class for logging properties per time step to a file/standard out.
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...