 |
AGXDynamics
2.35.0.2
|
Go to the documentation of this file.
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.
agx::Vector< AttachedConstrait > m_constraints
agx::ref_ptr< ConstraintLogListener > ConstraintLogListenerRef
#define AGXPHYSICS_EXPORT
Smart pointer for handling referenced counted objects.
std::pair< agx::observer_ptr< agx::Constraint >, int > AttachedConstrait
Abstract class for logging properties per time step to a file/standard out.
The base class for a constraint.
Class that will log various properties of constraints.
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
void addConstraint(agx::Constraint *constraint, int bodyIndex=0)
Adds a constraint for logging.
void push_back(const T2 &value)