17 #ifndef AGX_BALLJOINT_H 18 #define AGX_BALLJOINT_H 40 void setCenter(
const Vec3& center );
99 virtual int getNumDOF()
const override;
130 void setEnableConeLimitFriction(
bool enable);
137 void setConeLimitFrictionCoefficients(
Real frictionCoefficient);
143 RealVector getConeLimitFrictionCoefficients()
const;
167 void setEnableRotationalFriction(
bool enable);
191 void setRotationalFrictionCoefficients(
Real frictionCoefficient);
197 RealVector getRotationalFrictionCoefficients()
const;
210 BallJoint(
class BallJointImplementation* impl );
216 class BallJointImplementation* m_implementation;
255 class WorldFrameBallJointImplementation* m_implementation;
262 #endif // AGX_BALLJOINT_H Vec3T< Real > Vec3
The object holding 3 dimensional vectors and providing basic arithmetic.
Elementary secondary constraint to set a conic limit to a BallJoint.
#define AGXPHYSICS_EXPORT
ref_ptr< BallJoint > BallJointRef
The base class for a constraint.
Special version of a ball joint where the spatial reference frame is world for the body/bodies...
Translational or rotational friction controller for Hinge, Prismatic and CylindricalJoint.
Class for managing the rendering of geometries, shapes, rigid bodies, constraints etc...
AGXMODEL_EXPORT agx::Vec3 getCenter(const agxCollide::Mesh::Triangle &triangle)
DOF
Enum used for specifying which Degree of Freedom (DOF) that should be accessed in calls to for exampl...
Constraint that removes the three translation DOF between two bodies (or one and the world)...
Twist range elementary constraint.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Smart pointer for handling referenced counted objects.
The rigid body class, combining a geometric model and a frame of reference.
The object defining a frame of reference and providing transformations operations.
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
Class for storing the geometric information of a BallJoint.
ref_ptr< WorldFrameBallJoint > WorldFrameBallJointRef
This class is a combined container which has the find complexity of a HashTable, deterministic iterat...