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);
66 public:
virtual double ComputeVolume()
const;
Base class for all shapes.
Definition: Shape.hh:45
Box geometry primitive.
Definition: BoxShape.hh:34
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
boost::shared_ptr< Collision > CollisionPtr
Definition: PhysicsTypes.hh:113