include/gz/physics/World.hh
If your feature is known to require any other features, then you should have your feature class inher...
Definition: gz/physics/FeatureList.hh:118
STL class.
This struct is used to conveniently convert from a policy to a geometric type. Example usage:
Definition: gz/physics/Geometry.hh:77
virtual LinearVectorType GetWorldGravity(const Identity &_id) const =0
Implementation API for getting the gravity expressed in the world frame.
LinearVectorType GetGravity(const FrameID &_forceInCoordinatesOf=FrameID::World()) const
Get the World gravity vector. Optionally, you may specify the frame whose coordinates are used to exp...
The implementation API for the solver.
Definition: include/gz/physics/World.hh:151
virtual void SetWorldSolver(const Identity &_id, const std::string &_solver)=0
Implementation API for setting the solver.
Container for specifying Frame IDs. We do not want to use a generic integer type for this,...
Definition: gz/physics/FrameID.hh:46
virtual void SetWorldGravity(const Identity &_id, const LinearVectorType &_gravity)=0
Implementation API for setting the gravity vector, which is expressed in the World frame....
const std::string & GetSolver() const
Get the name of the solver in use.
Use a FeatureList to aggregate a list of Features.
Definition: gz/physics/FeatureList.hh:61
void SetGravity(const RelativeForceType &_gravity)
Set the World gravity vector.
virtual const std::string & GetWorldSolver(const Identity &_id) const =0
Implementation API for getting the solver.
typename FromPolicy< PolicyT >::template Use< LinearVector > LinearVectorType
Definition: include/gz/physics/World.hh:79
The World API for getting and setting the gravity vector.
Definition: include/gz/physics/World.hh:76
typename FromPolicy< PolicyT >::template Use< LinearVector > LinearVectorType
Definition: include/gz/physics/World.hh:115
typename FromPolicy< PolicyT >::template Use< RelativeForce > RelativeForceType
Definition: include/gz/physics/World.hh:82
const std::string & GetCollisionDetector() const
Get the name of the collision detector in use.
Definition: gz/physics/Feature.hh:92
This class defines the concept of a Feature. It should be inherited by classes that define some plugi...
Definition: gz/physics/Feature.hh:35
virtual const std::string & GetWorldCollisionDetector(const Identity &_id) const =0
Implementation API for getting the collision detector.
The World API for setting the collision detector.
Definition: include/gz/physics/World.hh:35
The implementation API for the gravity.
Definition: include/gz/physics/World.hh:112
The implementation API for the collision detector.
Definition: include/gz/physics/World.hh:49
Placeholder class in case a Feature does not define its own World API.
Definition: gz/physics/Feature.hh:49
void SetCollisionDetector(const std::string &_collisionDetector)
Set the name of the collision detector to use.
Definition: include/gz/physics/World.hh:31
virtual void SetWorldCollisionDetector(const Identity &_id, const std::string &_collisionDetector)=0
Implementation API for setting the collision detector.
Definition: include/gz/physics/World.hh:134
The World API for setting the solver.
Definition: include/gz/physics/World.hh:138
void SetSolver(const std::string &_solver)
Set the name of the solver to use.
Get and set the World's gravity vector in a specified frame.
Definition: include/gz/physics/World.hh:70