AGX Dynamics  2.38.0.2
RotationalTranslationalConstraints.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2024. Algoryx Simulation AB.
3 
4 All AGX source code, intellectual property, documentation, sample code,
5 tutorials, scene files and technical white papers, are copyrighted, proprietary
6 and confidential material of Algoryx Simulation AB. You may not download, read,
7 store, distribute, publish, copy or otherwise disseminate, use or expose this
8 material unless having a written signed agreement with Algoryx Simulation AB, or having been
9 advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10 valid commercial license from Algoryx Simulation AB.
11 
12 Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13 from using this software, unless otherwise stated in written agreements with
14 Algoryx Simulation AB.
15 */
16 
17 #pragma once
18 
23 
24 namespace 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 }
DOXYGEN_END_INTERNAL_BLOCK
#define DOXYGEN_END_INTERNAL_BLOCK()
Definition: macros.h:97
TranslationalDimension.h
DOXYGEN_START_INTERNAL_BLOCK
#define DOXYGEN_START_INTERNAL_BLOCK()
Definition: macros.h:96
AGXSTREAM_DECLARE_SERIALIZABLE
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
Definition: Serializable.h:207
PowerLineConstraints.h
agx::ref_ptr
Smart pointer for handling referenced counted objects.
Definition: ref_ptr.h:29
agxPowerLine
agxPowerLine contains a collection of connected components that transport power across a system.
Definition: MotorUnit.h:23
RotationalDimension.h
agxPowerLine::ElementaryPhysicalDimensionConstraint::getJacobian
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.
PowerLineController.h