Go to the documentation of this file.
17 #ifndef GAZEBO_PHYSICS_BOXSHAPE_HH_
18 #define GAZEBO_PHYSICS_BOXSHAPE_HH_
20 #include <ignition/math/Vector3.hh>
44 public:
virtual void Init();
48 public:
virtual void SetSize(
const ignition::math::Vector3d &_size);
51 public:
virtual void SetScale(
const ignition::math::Vector3d &_scale);
55 public: ignition::math::Vector3d
Size()
const;
59 public:
void FillMsg(msgs::Geometry &_msg);
63 public:
virtual void ProcessMsg(
const msgs::Geometry &_msg);
virtual void ProcessMsg(const msgs::Geometry &_msg)
Process a geometry message.
Forward declarations for the common classes.
Definition: Animation.hh:27
virtual void SetScale(const ignition::math::Vector3d &_scale)
Set the scale of the shape.
BoxShape(CollisionPtr _parent)
Constructor.
Box geometry primitive.
Definition: BoxShape.hh:35
virtual ~BoxShape()
Destructor.
virtual void Init()
Initialize the box.
void FillMsg(msgs::Geometry &_msg)
Fill in the values for a geomertry message.
virtual double ComputeVolume() const
Documentation inherited.
ignition::math::Vector3d Size() const
Get the size of the box.
boost::shared_ptr< Collision > CollisionPtr
Definition: PhysicsTypes.hh:114
virtual void SetSize(const ignition::math::Vector3d &_size)
Set the size of the box.
Base class for all shapes.
Definition: Shape.hh:40