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);
Box geometry primitive.
Definition BoxShape.hh:35
virtual void SetScale(const ignition::math::Vector3d &_scale)
Set the scale of the shape.
virtual double ComputeVolume() const
Documentation inherited.
virtual void Init()
Initialize the box.
virtual ~BoxShape()
Destructor.
ignition::math::Vector3d Size() const
Get the size of the box.
BoxShape(CollisionPtr _parent)
Constructor.
virtual void SetSize(const ignition::math::Vector3d &_size)
Set the size of the box.
virtual void ProcessMsg(const msgs::Geometry &_msg)
Process a geometry message.
void FillMsg(msgs::Geometry &_msg)
Fill in the values for a geomertry message.
Base class for all shapes.
Definition Shape.hh:40
boost::shared_ptr< Collision > CollisionPtr
Definition PhysicsTypes.hh:113
Forward declarations for the common classes.
Definition Animation.hh:27