AGX Dynamics  2.38.0.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;
34 
37 
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:
90 
91  protected:
95  TrackNode();
96 
100  virtual ~TrackNode();
101  };
102 }
agx::Real
double Real
Definition: Real.h:42
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.
Hinge.h
export.h
agxVehicle::TrackNode
Node/segment/shoe object in agxVehicle::Track.
Definition: TrackNode.h:46
agx::AffineMatrix4x4T< Real >
agxVehicle::Track
Assembly object representing a continuous track with a given number of shoes (nodes).
Definition: agxVehicle/Track.h:36
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
agx::VectorPOD< IndexRange >
agx
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Definition: AddedMassInteraction.h:22
agx::IndexRangeT< agx::UInt >
agxVehicle
This namespace contains classes related to vehicles dynamics.
AGX_DECLARE_POINTER_TYPES
#define AGX_DECLARE_POINTER_TYPES(type)
Definition: Referenced.h:254
agx::Bool
bool Bool
Definition: Integer.h:40
agxSDK::LinkedSegment
Segment object in a linked structure.
Definition: LinkedSegment.h:38
AGXVEHICLE_EXPORT
#define AGXVEHICLE_EXPORT
Definition: agxVehicle/export.h:38
agx::Vec3T< Real >
agx::MergedBody
Structure holding several "normal" rigid bodies.
Definition: MergedBody.h:55
LinkedSegment.h