AGX Dynamics
2.37.3.2
TrackNode.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
19
#include <
agxVehicle/export.h
>
20
21
#include <
agxSDK/LinkedSegment.h
>
22
23
#include <
agx/Hinge.h
>
24
25
namespace
agx
26
{
27
class
MergedBody;
28
}
29
30
namespace
agxVehicle
31
{
32
class
Track;
33
AGX_DECLARE_POINTER_TYPES
(
TrackNode
);
34
35
using
IndexRange
=
agx::IndexRangeT<agx::UInt>
;
36
using
IndexRangeContainer
=
agx::VectorPOD<IndexRange>
;
37
46
class
AGXVEHICLE_EXPORT
TrackNode
:
public
agxSDK::LinkedSegment
47
{
48
public
:
56
TrackNode
(
const
agx::AffineMatrix4x4
&
transform
,
const
agx::Vec3
& halfExtents );
57
61
agx::Real
getWidth()
const
;
62
66
agx::Real
getThickness()
const
;
67
71
agx::Vec3
getRotationAxis()
const
;
72
76
agx::MergedBody
* getMergedBody()
const
;
77
81
agx::Bool
isMergedWithWheel()
const
;
82
86
agxVehicle::Track
* getTrack()
const
;
87
88
public
:
89
AGXSTREAM_DECLARE_SERIALIZABLE
(
agxVehicle::TrackNode
);
90
91
protected
:
95
TrackNode
();
96
100
virtual
~
TrackNode
();
101
};
102
}
AGXVEHICLE_EXPORT
#define AGXVEHICLE_EXPORT
Definition:
agxVehicle/export.h:38
agx::Bool
bool Bool
Definition:
Integer.h:48
agxData::transform
void AGXCORE_EXPORT transform(void *target, const Format *targetFormat, const void *source, const Format *sourceFormat, size_t numElements)
Transform data between two buffers.
agxVehicle::TrackNode
Node/segment/shoe object in agxVehicle::Track.
Definition:
TrackNode.h:46
AGX_DECLARE_POINTER_TYPES
#define AGX_DECLARE_POINTER_TYPES(type)
Definition:
Referenced.h:254
agx::MergedBody
Structure holding several "normal" rigid bodies.
Definition:
MergedBody.h:55
LinkedSegment.h
agx::VectorPOD< IndexRange >
agx
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Definition:
AddedMassInteraction.h:22
agx::AffineMatrix4x4T< Real >
export.h
agx::IndexRangeT< agx::UInt >
agxVehicle
This namespace contains classes related to vehicles dynamics.
agx::Vec3T< Real >
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
agxSDK::LinkedSegment
Segment object in a linked structure.
Definition:
LinkedSegment.h:38
agx::Real
double Real
Definition:
Real.h:42
Hinge.h
agxVehicle::Track
Assembly object representing a continuous track with a given number of shoes (nodes).
Definition:
agxVehicle/Track.h:36
include
agxVehicle
TrackNode.h
Generated on Fri Apr 12 2024 12:40:27 for AGX Dynamics by
1.8.13