21 #ifndef GAZEBO_PHYSICS_COLLISIONSTATE_HH_
22 #define GAZEBO_PHYSICS_COLLISIONSTATE_HH_
24 #include <ignition/math/Pose3.hh>
69 public:
virtual void Load(
const sdf::ElementPtr _elem);
78 public:
const ignition::math::Pose3d &Pose()
const;
82 public:
bool IsZero()
const;
86 public:
void FillSDF(sdf::ElementPtr _sdf);
107 public:
inline friend std::ostream &
operator<<(std::ostream &_out,
110 _out <<
"<collision name='" << _state.
name <<
"'>"
111 <<
"<pose>" << _state.pose <<
"</pose>";
112 _out <<
"</collision>";
118 private: ignition::math::Pose3d pose;
std::string name
Name associated with this State.
Definition: State.hh:130
Encapsulates a position and rotation in three space.
Definition: Pose.hh:42
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:107
#define GAZEBO_DEPRECATED(version)
Definition: system.hh:302
Store state information of a physics::Collision object.
Definition: CollisionState.hh:44
boost::shared_ptr< Collision > CollisionPtr
Definition: PhysicsTypes.hh:113