AGX Dynamics 2.38.0.2
Loading...
Searching...
No Matches
RotationalTranslationalConstraints.h
Go to the documentation of this file.
1/*
2Copyright 2007-2024. 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 unless having a written signed agreement with Algoryx Simulation AB, or having been
9advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10valid commercial license from Algoryx Simulation AB.
11
12Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13from using this software, unless otherwise stated in written agreements with
14Algoryx Simulation AB.
15*/
16
17#pragma once
18
23
24namespace agxPowerLine
25{
26 class RotationalTranslationalConnector;
27
29
30 //Constrains a rotational dimension to a translational dimension
31 class ElementaryRotationalTranslationalConstraint : public agxPowerLine::ElementaryPhysicalDimensionMultiBodyConstraint
32 {
33 public:
34 ElementaryRotationalTranslationalConstraint();
36 AGXSTREAM_DECLARE_SERIALIZABLE(agxPowerLine::ElementaryRotationalTranslationalConstraint);
37 };
38
39 typedef agx::ref_ptr<ElementaryRotationalTranslationalConstraint> ElementaryRotationalTranslationalConstraintRef;
40
41
42
43 class RotationalTranslationalConstraintImplementation : public PhysicalDimensionMultiBodyConstraintImplementation
44 {
45 public:
46 RotationalTranslationalConstraintImplementation();
47 AGXSTREAM_DECLARE_SERIALIZABLE(agxPowerLine::RotationalTranslationalConstraintImplementation);
48 };
49
50
52}
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
virtual size_t getJacobian(agx::Jacobian6DOFElement *, const RigidBodyPtrIntHashVector &, const agx::ConstraintRigidBodyContainer &, const PhysicalDimensionPtrIntTable &, const agx::Real)=0
getJacobian must be implemented for all classes that inherits from this.
Smart pointer for handling referenced counted objects.
Definition ref_ptr.h:30
#define DOXYGEN_END_INTERNAL_BLOCK()
Definition macros.h:97
#define DOXYGEN_START_INTERNAL_BLOCK()
Definition macros.h:96
agxPowerLine contains a collection of connected components that transport power across a system.
Definition MotorUnit.h:24