57 public:
virtual void SetPoints(
const math::Vector3 &_posStart,
75 public:
virtual void SetLength(
double _len);
79 public:
double GetLength()
const;
85 public:
virtual void Update() = 0;
90 public:
virtual void GetIntersection(
double &_dist,
91 std::string &_entity) = 0;
95 public:
void SetRetro(
float _retro);
99 public:
float GetRetro()
const;
103 public:
void SetFiducial(
int _fid);
107 public:
int GetFiducial()
const;
110 public:
virtual void Init();
115 public:
void FillMsg(msgs::Geometry &_msg);
120 public:
virtual void ProcessMsg(
const msgs::Geometry &_msg);
123 public:
virtual double ComputeVolume()
const;
math::Vector3 relativeEndPos
End position of the ray, relative to the body.
Definition: RayShape.hh:137
math::Vector3 relativeStartPos
Start position of the ray, relative to the body.
Definition: RayShape.hh:135
Forward declarations for the common classes.
Definition: Animation.hh:33
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:39
double contactRetro
Retro reflectance value.
Definition: RayShape.hh:130
Base class for all shapes.
Definition: Shape.hh:46
default namespace for gazebo
boost::shared_ptr< PhysicsEngine > PhysicsEnginePtr
Definition: PhysicsTypes.hh:116
int contactFiducial
Fiducial ID value.
Definition: RayShape.hh:132
math::Vector3 globalStartPos
Start position of the ray in global cs.
Definition: RayShape.hh:140
Base class for Ray collision geometry.
Definition: RayShape.hh:40
math::Vector3 globalEndPos
End position of the ray in global cs.
Definition: RayShape.hh:143
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
double contactLen
Length of the ray.
Definition: RayShape.hh:128
boost::shared_ptr< Collision > CollisionPtr
Definition: PhysicsTypes.hh:104