18 #ifndef GAZEBO_PLUGINS_RUBBLEPLUGIN_HH_
19 #define GAZEBO_PLUGINS_RUBBLEPLUGIN_HH_
24 #include <ignition/math/Pose3.hh>
42 public:
virtual void Init();
44 private:
void MakeBox(
const std::string &_name,
45 ignition::math::Pose3d &_pose,
46 ignition::math::Vector3d &_size,
49 private:
void MakeCinderBlock(
const std::string &_name,
50 ignition::math::Pose3d &_pose,
51 ignition::math::Vector3d &_size,
60 public: ignition::math::Pose3d pose;
61 public: ignition::math::Vector3d size;
65 private:
class CompoundObj
68 public: ignition::math::Vector3d pos;
71 public: ignition::math::Vector3d size;
72 public: std::vector<Obj> objects;
Definition: RubblePlugin.hh:32
virtual void Load(physics::WorldPtr _world, sdf::ElementPtr _sdf)
Load the plugin.
virtual void Init()
Initialize the plugin.
RubblePlugin()
Constructor.
A plugin with access to physics::World.
Definition: Plugin.hh:315
boost::shared_ptr< World > WorldPtr
Definition: PhysicsTypes.hh:90
Forward declarations for the common classes.
Definition: Animation.hh:27