183 if ( m_rb ==
nullptr )
189 xAxis.x(), xAxis.y(), xAxis.z(),
197 agx::ref_ptr<T> constraint =
new T( m_rb, wheelFrame, other, otherFrame );
198 addConstraint( name, constraint );
Abstraction of a wheel of arbitrary geometry.
AffineMatrix4x4T< Real > AffineMatrix4x4
#define AGXVEHICLE_EXPORT
agx::ref_ptr< T > attachConstraint(const agx::Name &name, agx::RigidBody *other, agx::Real wheelCenterOffset)
Create constraint with this wheel and some other rigid body.
The base class for a constraint.
#define AGX_DECLARE_POINTER_TYPES(type)
Representation of a name string.
AffineMatrix4x4T< T > inverse() const
Quick inverse, transpose rotation part, and change sign of translation part.
Class representing the mathematical concept of a plane, also called a half- space.
Base class providing referencing counted objects.
const agx::AffineMatrix4x4 & getTransform() const
Current model frame transform, given in world coordinate frame.
Smart pointer for handling referenced counted objects.
The hinge constraint between two rigid bodies or one rigid body and the world.
The rigid body class, combining a geometric model and a frame of reference.
agx::Vec3 getRotationAxis() const
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...
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
agx::Vec3 getUpAxis() const
Specialized types of matrices for holding orthogonal transformation matrices.
agx::Vec3 getCenterPosition() const