30#include "RailRunnerParser.h"
31#include "trax/rigid/Material.h"
41 RollingStockCreator(
Scene& scene );
43 std::shared_ptr<RollingStock> GetRollingStock()
const noexcept;
46 bool ParsingStart()
noexcept(
false)
override;
48 bool RollingStockStart()
noexcept(
false)
override;
52 const std::string& name,
53 const std::string& model )
noexcept(
false)
override;
59 const std::string& name,
62 Mass mass )
noexcept(
false)
override;
68 const std::string& name,
71 Mass mass )
noexcept(
false)
override;
86 const std::string& sndGroup )
noexcept override;
91 const std::string& name,
92 const std::string& model )
noexcept(
false)
override;
94 bool TractionForceCharacteristicStart()
noexcept(
false)
override;
98 One value )
noexcept override;
100 void TractionForceCharacteristicEnd()
noexcept(
false)
override;
102 void TrackJointLimits(
115 const std::string& sndGroup )
noexcept override;
118 void RollingStockEnd()
noexcept(
false)
override;
120 void ParsingEnd()
noexcept override;
123 std::shared_ptr<RollingStock> m_pRollingStock;
125 std::vector<std::shared_ptr<Bogie>> m_AllBogies;
126 std::stack<std::shared_ptr<Bogie>> m_ActiveBogie;
127 std::stack<std::shared_ptr<struct WheelFrame>> m_ActiveWheelFrame;
128 std::shared_ptr<Bogie> GetBogie(
int idx )
const;
130 std::stack<spat::Frame<dim::Length,dim::One>> m_ActiveFrames;
132 std::shared_ptr<struct TractionForceCharacteristic> m_pCharacteristic;
Definition RailRunnerParser.h:50
Value< Dimension< 1, 0, -1 > > Velocity
Velocity.
Definition DimensionedValues.h:331
Value< Dimension< 0, 0, 0 > > One
Dimensionless value.
Definition DimensionedValues.h:319
Value< Dimension< 1, 0, 0 > > Length
Length.
Definition DimensionedValues.h:324
Value< Dimension< 0, 1, 0 > > Mass
Mass.
Definition DimensionedValues.h:327
Value< Dimension< 1, 1, -2 > > Force
Force.
Definition DimensionedValues.h:333
Namespace of all the trax track libraries classes and methods.
Definition Collection.h:17
GeomType
Type of a geom.
Definition GeomType.h:33
Axis aligned box.
Definition Box.h:41
A Frame ("TNBFrame") describes a location in 3d space and an orientation using a right handed coordin...
Definition Frame.h:52
Filters
Filter flags that will serve in fast collision testing.
Definition Geom.h:110
Type used for IDs in the trax library.
Definition IDType.h:43
EndType
Types of the RailRunner's end's.
Definition RailRunner.h:351
A physical simulation scene for running a simulation and creating physical objects in the scene.
Definition Scene.h:72
The maximum forces and spatial deviations of a WheelFrame used by physics calculations.
Definition TrackJointLimits.h:38
A track location, referencing the track by id.
Definition TrackLocation.h:102
Describing data of a wheelset.
Definition Wheelset.h:40