109 virtual void SetName(
const char* name )
noexcept = 0;
113 virtual const char*
GetName() const noexcept = 0;
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
The namespace provides classes and methods for spatial computations.
Definition Box.h:32
Namespace of all the trax track libraries classes and methods.
Definition Collection.h:17
A Frame ("TNBFrame") describes a location in 3d space and an orientation using a right handed coordin...
Definition Frame.h:52
A dynamic object in physical space.
Definition Body.h:44
A Geom is used for collision detection. It differs from a Shape in that it defines the most simple el...
Definition Geom.h:50
A Gestalt is a Body with a Shape.
Definition Gestalt.h:100
virtual int Attach(std::unique_ptr< Geom > pGeom, Mass mass)=0
Attach a Geom with a dedicated mass to the Gestalt.
virtual void SetFrame(const spat::Frame< Length, One > &frame) noexcept=0
Sets position and orientation (pose) in global coordinates.
virtual Mass GeomMass(int idx=0) const =0
virtual const char * GetName() const noexcept=0
virtual void GetFrame(spat::Frame< Length, One > &frame) const noexcept=0
Gets the pose in global coordinates.
virtual void SetName(const char *name) noexcept=0
Sets the name of the Gestalt.
A Shape is a collection of Geoms.
Definition Shape.h:41