Momentum Scripting v1
Loading...
Searching...
No Matches
LockJoint.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_LOCKJOINT_H
16#define MOMENTUM_LOCKJOINT_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 LockJoint;
28}
30#endif
31
32namespace MOMENTUM_NAMESPACE
33{
37 class MOMENTUM_EXPORT LockJoint : public Joint
38 {
39 public:
40#ifndef SWIG
42
45 LockJoint(agx::LockJoint* lockJoint);
46
50 LockJoint();
51#endif
53 virtual ~LockJoint();
54
55 std::string __str__() const;
57
58
59 protected:
62 };
63
64 V1_DECLARE_CONTAINER_TYPE(LockJoint);
65
66} // namespace momentum
67
68
69#endif
Base class for all joints.
Definition: Joint.h:51
DegreeOfFreedom
Definition: Joint.h:54
A LockJoint will remove all free degree of freedom between the attached bodies.
Definition: LockJoint.h:38
virtual int getAgxRotationalDOF(Joint::DegreeOfFreedom dof) const
virtual int getAgxTranslationalDOF(Joint::DegreeOfFreedom dof) const
Namespace for Momentum Scripting API.
Definition: AffineMatrix4x4.h:29