17 #ifndef AGX_DOT1JOINT_H
18 #define AGX_DOT1JOINT_H
64 virtual int getNumDOF()
const override {
return NUM_DOF; }
78 class Dot1JointImplementation* m_implementation;
#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
Class for managing the rendering of geometries, shapes, rigid bodies, constraints etc.
The base class for a constraint.
Given two vectors or directions, this constraint will keep the two vectors orthogonal.
virtual void render(agxRender::RenderManager *mgr, float scale) const override
Used internally for debug rendering.
DOF
Enum used for specifying which Degree of Freedom (DOF) that should be accessed in calls to for exampl...
Dot1Joint(RigidBody *rb1, Frame *rb1AttachmentFrame, RigidBody *rb2, Frame *rb2AttachmentFrame)
Create dot 1 constraint between one or two bodies given attachment frames where the axis is defined t...
Dot1Joint(RigidBody *rb1, const Vec3 &rb1LocalAxis, RigidBody *rb2, const Vec3 &rb2LocalAxis)
Create dot 1 constraint between one or two bodies.
virtual int getNumDOF() const override
The object defining a frame of reference and providing transformations operations.
The rigid body class, combining a geometric model and a frame of reference.
Smart pointer for handling referenced counted objects.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
ref_ptr< Dot1Joint > Dot1JointRef