AGX Dynamics  2.37.3.2
WheelJointConstraintGeometry.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
9 having been advised so by Algoryx Simulation AB for a time limited evaluation,
10 or having purchased a 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 
19 #include <agxVehicle/export.h>
20 
24 
25 #include <agxVehicle/WheelJoint.h>
26 
27 
28 namespace agxVehicle
29 {
31 
38  {
39  public:
41 
47 
48  bool setConstraint(WheelJoint* wheel);
49  bool setConstraint(WheelJoint* wheel, WheelJoint::SecondaryConstraint axis);
51 
52  WheelJoint::SecondaryConstraint getAxis() const;
53 
55 
56  private:
57  WheelJoint* m_wheel;
58  };
59 }
#define AGXVEHICLE_EXPORT
ConstraintGeometry for any type of constraint that has a BasicControllerConstraint along the axis tha...
Definition: Actuator1DOF.h:187
#define AGX_DECLARE_POINTER_TYPES(type)
Definition: Referenced.h:254
The wheel constraint is designed to attach two bodies such that one of them is free to rotate about a...
Definition: WheelJoint.h:73
Description of constraint geometry for one of the free degrees of freedom of a wheel joint...
This namespace contains classes related to vehicles dynamics.
#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
SecondaryConstraint
Enum for specifying which secondary constraint to access.
Definition: WheelJoint.h:138
virtual bool setConstraint(agx::Constraint *constraint) override
Replace the constraint being queried for geometry information.