21 #ifndef _COLLISIONSTATE_HH_
22 #define _COLLISIONSTATE_HH_
67 public:
virtual void Load(
const sdf::ElementPtr _elem);
75 public:
bool IsZero()
const;
79 public:
void FillSDF(sdf::ElementPtr _sdf);
100 public:
inline friend std::ostream &
operator<<(std::ostream &_out,
103 _out <<
"<collision name='" << _state.
name <<
"'>"
104 <<
"<pose>" << _state.pose <<
"</pose>";
105 _out <<
"</collision>";
#define GZ_PHYSICS_VISIBLE
Definition: system.hh:259
Encapsulates a position and rotation in three space.
Definition: Pose.hh:37
std::string name
Name associated with this State.
Definition: State.hh:130
State of an entity.
Definition: State.hh:49
boost::shared_ptr< Collision > CollisionPtr
Definition: PhysicsTypes.hh:104
friend std::ostream & operator<<(std::ostream &_out, const gazebo::physics::CollisionState &_state)
Stream insertion operator.
Definition: CollisionState.hh:100
Store state information of a physics::Collision object.
Definition: CollisionState.hh:42