21 #ifndef GAZEBO_PHYSICS_COLLISIONSTATE_HH_
22 #define GAZEBO_PHYSICS_COLLISIONSTATE_HH_
24 #include <ignition/math/Pose3.hh>
68 public:
virtual void Load(
const sdf::ElementPtr _elem);
72 public:
const ignition::math::Pose3d &Pose()
const;
76 public:
bool IsZero()
const;
80 public:
void FillSDF(sdf::ElementPtr _sdf);
101 public:
inline friend std::ostream &
operator<<(std::ostream &_out,
104 _out <<
"<collision name='" << _state.
name <<
"'>"
105 <<
"<pose>" << _state.pose <<
"</pose>";
106 _out <<
"</collision>";
112 private: ignition::math::Pose3d pose;
std::string name
Name associated with this State.
Definition: State.hh:130
State of an entity.
Definition: State.hh:49
friend std::ostream & operator<<(std::ostream &_out, const gazebo::physics::CollisionState &_state)
Stream insertion operator.
Definition: CollisionState.hh:101
Store state information of a physics::Collision object.
Definition: CollisionState.hh:43
boost::shared_ptr< Collision > CollisionPtr
Definition: PhysicsTypes.hh:113