Go to the documentation of this file.
18 #ifndef GAZEBO_PHYSICS_BULLET_BULLETRAYSHAPE_HH_
19 #define GAZEBO_PHYSICS_BULLET_BULLETRAYSHAPE_HH_
46 public:
virtual void Update();
49 public:
virtual void GetIntersection(
double &_dist, std::string &_entity);
55 public:
void SetPoints(
const ignition::math::Vector3d &_posStart,
56 const ignition::math::Vector3d &_posEnd);
Forward declarations for the common classes.
Definition: Animation.hh:26
void SetPoints(const ignition::math::Vector3d &_posStart, const ignition::math::Vector3d &_posEnd)
Set the ray based on starting and ending points relative to the body.
boost::shared_ptr< BulletPhysics > BulletPhysicsPtr
Definition: BulletTypes.hh:44
BulletRayShape(PhysicsEnginePtr _physicsEngine)
virtual ~BulletRayShape()
Destructor.
Base class for Ray collision geometry.
Definition: RayShape.hh:35
Ray shape for bullet.
Definition: BulletRayShape.hh:34
virtual void GetIntersection(double &_dist, std::string &_entity)
Get the nearest intersection.
boost::shared_ptr< PhysicsEngine > PhysicsEnginePtr
Definition: PhysicsTypes.hh:126
boost::shared_ptr< Collision > CollisionPtr
Definition: PhysicsTypes.hh:114
virtual void Update()
Update the ray collision.