24 # pragma warning(push)
25 # pragma warning(disable: 6011)
136 # pragma warning(pop)
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
#define AGXPHYSICS_EXPORT
Extended Dot1Data with additional slack parameter.
Dot1Slack is similar to the Dot1 elementary constraint but also supports slack and uses twice as many...
Dot1Slack()
Used during serialization restore.
virtual agx::UInt getJacobian(agx::Jacobian6DOFElement *G, agx::UInt numBlocks, agx::UInt row, agx::GWriteState::Enum writeState) override
Returns the Jacobian of this elementary constraint.
Dot1Slack(const agx::Dot1SlackData &data)
Construct given Dot1SlackData.
virtual agx::UInt getViolation(agx::Real *g, agx::UInt row) override
Returns the violation of this elementary constraint.
void setSlack(agx::Real slack)
virtual ~Dot1Slack()
Reference counted object, protected destructor.
agx::Real getSlack() const
Data holder class for elementary constraint Dot2Slack.
Dot2Slack is similar to Dot2 elementary constraint.
void setSlack(agx::Real slack)
Dot2Slack()
Used during serialization restore.
virtual agx::UInt getJacobian(agx::Jacobian6DOFElement *G, agx::UInt numBlocks, agx::UInt row, agx::GWriteState::Enum writeState) override
Returns the Jacobian of this elementary constraint.
virtual agx::UInt getViolation(agx::Real *g, agx::UInt row) override
Returns the violation of this elementary constraint.
Dot2Slack(const agx::Dot2SlackData &data)
Construct given Dot2SlackData.
agx::Real getSlack() const
virtual ~Dot2Slack()
Reference counted object, protected destructor.
Generic class for holding constraint data including 3 slack parameters.
SphericalRelSalck is similar to the SphericalRel elementary constraint, but also supports slack and u...
agx::Vec3 getSlack() const
void setSlack(agx::Vec3 slack)
virtual ~SphericalRelSlack()
Reference counted object, protected destructor.
virtual agx::UInt getJacobian(agx::Jacobian6DOFElement *G, agx::UInt numBlocks, agx::UInt row, agx::GWriteState::Enum writeState) override
Returns the Jacobian of this elementary constraint.
SphericalRelSlack()
Used during serialization restore.
SphericalRelSlack(const agx::Slack3ConstraintData &data)
Construct given SphericalData.
virtual agx::UInt getViolation(agx::Real *g, agx::UInt row) override
Returns the violation of this elementary constraint.
Smart pointer for handling referenced counted objects.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
agx::ref_ptr< SphericalRelSlack > SphericalRelSlackRef
agx::ref_ptr< Dot1Slack > Dot1SlackRef