AGX Dynamics
2.38.0.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
23
#include <
agxPowerLine/Actuator1DOF.h
>
24
25
#include <
agxVehicle/WheelJoint.h
>
26
27
28
namespace
agxVehicle
29
{
30
AGX_DECLARE_POINTER_TYPES
(
WheelJointConstraintGeometry
);
31
37
class
AGXVEHICLE_EXPORT
WheelJointConstraintGeometry
:
public
agxPowerLine::ControllerConstraintGeometry
38
{
39
public
:
40
WheelJointConstraintGeometry
();
41
46
WheelJointConstraintGeometry
(
WheelJoint
* wheel,
WheelJoint::SecondaryConstraint
axis);
47
48
bool
setConstraint(
WheelJoint
* wheel);
49
bool
setConstraint(
WheelJoint
* wheel,
WheelJoint::SecondaryConstraint
axis);
50
using
agxPowerLine::ControllerConstraintGeometry::setConstraint
;
51
52
WheelJoint::SecondaryConstraint
getAxis()
const
;
53
54
AGXSTREAM_DECLARE_SERIALIZABLE
(
agxVehicle::WheelJointConstraintGeometry
)
55
56
private
:
57
WheelJoint
* m_wheel;
58
};
59
}
agxVehicle::WheelJoint
The wheel constraint is designed to attach two bodies such that one of them is free to rotate about a...
Definition:
WheelJoint.h:73
export.h
WheelJoint.h
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
agxVehicle::WheelJoint::SecondaryConstraint
SecondaryConstraint
Enum for specifying which secondary constraint to access.
Definition:
WheelJoint.h:138
agxVehicle::WheelJointConstraintGeometry
Description of constraint geometry for one of the free degrees of freedom of a wheel joint.
Definition:
WheelJointConstraintGeometry.h:37
agxVehicle
This namespace contains classes related to vehicles dynamics.
Actuator1DOF.h
AGX_DECLARE_POINTER_TYPES
#define AGX_DECLARE_POINTER_TYPES(type)
Definition:
Referenced.h:254
agxPowerLine::ControllerConstraintGeometry
ConstraintGeometry for any type of constraint that has a BasicControllerConstraint along the axis tha...
Definition:
Actuator1DOF.h:187
agxPowerLine::ControllerConstraintGeometry::setConstraint
virtual bool setConstraint(agx::Constraint *constraint) override
Replace the constraint being queried for geometry information.
AGXVEHICLE_EXPORT
#define AGXVEHICLE_EXPORT
Definition:
agxVehicle/export.h:38
include
agxVehicle
WheelJointConstraintGeometry.h
Generated on Sun Sep 1 2024 11:19:06 for AGX Dynamics by
1.8.17