gz/physics/CapsuleShape.hh
Definition: gz/physics/CapsuleShape.hh:70
Placeholder class in case a Feature does not define its own Link API.
Definition: gz/physics/Feature.hh:67
This is the base class of all "proxy objects". The "proxy objects" are essentially interfaces into th...
Definition: gz/physics/Entity.hh:216
typename PolicyT::Scalar Scalar
Definition: gz/physics/CapsuleShape.hh:108
void SetLength(Scalar length)
Set the length of this CapsuleShape.
Definition: gz/physics/CapsuleShape.hh:106
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.
void SetRadius(Scalar _radius)
Set the radius of this CapsuleShape.
typename PolicyT::Scalar Scalar
Definition: gz/physics/CapsuleShape.hh:133
This struct is used to conveniently convert from a policy to a geometric type. Example usage:
Definition: gz/physics/Geometry.hh:77
Definition: gz/physics/CapsuleShape.hh:131
typename FromPolicy< PolicyT >::template Use< Pose > PoseType
Definition: gz/physics/CapsuleShape.hh:136
This feature constructs a new capsule shape and attaches the desired pose in the link frame....
Definition: gz/physics/CapsuleShape.hh:102
virtual Identity AttachCapsuleShape(const Identity &_linkID, const std::string &_name, Scalar _radius, Scalar _length, const PoseType &_pose)=0
This feature sets the CapsuleShape properties such as the capsule radius and length.
Definition: gz/physics/CapsuleShape.hh:66
typename FromPolicy< PolicyT >::template Use< Pose > PoseType
Definition: gz/physics/CapsuleShape.hh:111
virtual void SetCapsuleShapeRadius(const Identity &_capsuleID, Scalar _radius)=0
#define IGN_PHYSICS_DECLARE_SHAPE_TYPE(CustomShapeType)
Given a shape type named CustomShapeType, this macro creates the following classes:
Definition: gz/physics/DeclareShapeType.hh:52
Definition: gz/physics/Feature.hh:92
ShapePtrType AttachCapsuleShape(const std::string &_name="capsule", Scalar _radius=0.5, Scalar _length=1.0, const PoseType &_pose=PoseType::Identity())
Rigidly attach a CapsuleShape to this link.
virtual void SetCapsuleShapeLength(const Identity &_capsuleID, Scalar _length)=0
typename PolicyT::Scalar Scalar
Definition: gz/physics/CapsuleShape.hh:72
Definition: gz/physics/CapsuleShape.hh:86
typename PolicyT::Scalar Scalar
Definition: gz/physics/CapsuleShape.hh:88
CapsuleShapePtr< PolicyT, FeaturesT > ShapePtrType
Definition: gz/physics/CapsuleShape.hh:113