Momentum Scripting v1
Loading...
Searching...
No Matches
BallJoint.h
1/*
2Copyright 2007-2025. Algoryx Simulation AB.
3
4All AGX source code, intellectual property, documentation, sample code,
5tutorials, scene files and technical white papers, are copyrighted, proprietary
6and confidential material of Algoryx Simulation AB. You may not download, read,
7store, distribute, publish, copy or otherwise disseminate, use or expose this
8material without having a written signed agreement with Algoryx Simulation AB.
9
10Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
11from using this software, unless otherwise stated in written agreements with
12Algoryx Simulation AB.
13*/
14
15#ifndef MOMENTUM_BALLJOINT_H
16#define MOMENTUM_BALLJOINT_H
17
18#include "momentum_export.h"
19#include "momentum_namespace.h"
20
21#include "Joint.h"
22
23#ifndef SWIG
25namespace agx
26{
27 class BallJoint;
28}
30#endif
31
32namespace MOMENTUM_NAMESPACE
33{
37 class MOMENTUM_EXPORT BallJoint : public Joint
38 {
39 public:
40#ifndef SWIG
42
45 BallJoint(agx::BallJoint* ballJoint);
47#endif
48
50 virtual ~BallJoint();
51 std::string __str__() const;
53
54 protected:
55
57 BallJoint();
59
61
63 };
64
65 V1_DECLARE_CONTAINER_TYPE(BallJoint);
66
67} // namespace momentum
68
69#endif
The ball joint class, a joint where all the rotational axis are unconstrained.
Definition: BallJoint.h:38
virtual int getAgxTranslationalDOF(Joint::DegreeOfFreedom dof) const
virtual int getAgxRotationalDOF(Joint::DegreeOfFreedom dof) const
Base class for all joints.
Definition: Joint.h:51
DegreeOfFreedom
Definition: Joint.h:54
Namespace for Momentum Scripting API.
Definition: AffineMatrix4x4.h:29