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;
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 }
#define AGXVEHICLE_EXPORT
bool Bool
Definition: Integer.h:48
void AGXCORE_EXPORT transform(void *target, const Format *targetFormat, const void *source, const Format *sourceFormat, size_t numElements)
Transform data between two buffers.
Node/segment/shoe object in agxVehicle::Track.
Definition: TrackNode.h:46
#define AGX_DECLARE_POINTER_TYPES(type)
Definition: Referenced.h:254
Structure holding several "normal" rigid bodies.
Definition: MergedBody.h:55
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
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
Segment object in a linked structure.
Definition: LinkedSegment.h:38
double Real
Definition: Real.h:42
Assembly object representing a continuous track with a given number of shoes (nodes).