AGX Dynamics  2.35.0.1
TrackNode.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2022. 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 
62 
67 
72 
77 
82 
87 
88  public:
90 
91  protected:
96 
100  virtual ~TrackNode();
101  };
102 }
#define AGX_DECLARE_POINTER_TYPES(type)
Definition: Referenced.h:248
#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
#define AGXVEHICLE_EXPORT
Segment object in a linked structure.
Definition: LinkedSegment.h:39
Node/segment/shoe object in agxVehicle::Track.
Definition: TrackNode.h:47
agx::Real getThickness() const
TrackNode(const agx::AffineMatrix4x4 &transform, const agx::Vec3 &halfExtents)
Construct given transform and half extents of the shape.
agx::Vec3 getRotationAxis() const
TrackNode()
Default constructor used by serialization.
agx::Bool isMergedWithWheel() const
agxVehicle::Track * getTrack() const
agx::MergedBody * getMergedBody() const
agx::Real getWidth() const
virtual ~TrackNode()
Reference counted object - protected destructor.
Assembly object representing a continuous track with a given number of shoes (nodes).
Structure holding several "normal" rigid bodies.
Definition: MergedBody.h:56
void AGXCORE_EXPORT transform(void *target, const Format *targetFormat, const void *source, const Format *sourceFormat, size_t numElements)
Transform data between two buffers.
This namespace contains classes related to vehicles dynamics.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
bool Bool
Definition: Integer.h:48
double Real
Definition: Real.h:42