gz/physics/CylinderShape.hh
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
If your feature is known to require any other features, then you should have your feature class inher...
Definition: gz/physics/FeatureList.hh:108
virtual Identity AttachCylinderShape(const Identity &_linkID, const std::string &_name, Scalar _radius, Scalar _height, const PoseType &_pose)=0
STL class.
ShapePtrType AttachCylinderShape(const std::string &_name="cylinder", Scalar _radius=1.0, Scalar _height=1.0, const PoseType &_pose=PoseType::Identity())
Rigidly attach a CylinderShape to this link.
This struct is used to conveniently convert from a policy to a geometric type. Example usage:
Definition: gz/physics/Geometry.hh:69
Definition: gz/physics/CylinderShape.hh:70
typename FromPolicy< PolicyT >::template Use< Pose > PoseType
Definition: gz/physics/CylinderShape.hh:136
Definition: gz/physics/CylinderShape.hh:86
Definition: gz/physics/CylinderShape.hh:106
CylinderShapePtr< PolicyT, FeaturesT > ShapePtrType
Definition: gz/physics/CylinderShape.hh:113
This feature constructs a new cylinder shape and attaches the desired pose in the link frame....
Definition: gz/physics/CylinderShape.hh:102
typename FromPolicy< PolicyT >::template Use< Pose > PoseType
Definition: gz/physics/CylinderShape.hh:111
#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
typename PolicyT::Scalar Scalar
Definition: gz/physics/CylinderShape.hh:88
Definition: gz/physics/Feature.hh:92
virtual void SetCylinderShapeHeight(const Identity &_cylinderID, Scalar _height)=0
typename PolicyT::Scalar Scalar
Definition: gz/physics/CylinderShape.hh:108
void SetHeight(Scalar _height)
Set the height of this CylinderShape.
This feature sets the CylinderShape properties such as the cylinder radius and height.
Definition: gz/physics/CylinderShape.hh:66
typename PolicyT::Scalar Scalar
Definition: gz/physics/CylinderShape.hh:72
virtual void SetCylinderShapeRadius(const Identity &_cylinderID, Scalar _radius)=0
Definition: gz/physics/CylinderShape.hh:131
void SetRadius(Scalar _radius)
Set the radius of this CylinderShape.
typename PolicyT::Scalar Scalar
Definition: gz/physics/CylinderShape.hh:133