- gazebo
- physics
- ODERayShape
Ray collision. More...
#include <ODERayShape.hh>

Classes | |
| class | Intersection |
Public Member Functions | |
| ODERayShape (PhysicsEnginePtr _physicsEngine) | |
| Constructor for a global ray. | |
| ODERayShape (CollisionPtr collision, bool displayRays) | |
| Constructor. | |
| virtual | ~ODERayShape () |
| Destructor. | |
| virtual void | Update () |
| Update the tay collision. | |
| virtual void | GetIntersection (double &_dist, std::string &_entity) |
| Get the nearest intersection. | |
| virtual void | SetPoints (const math::Vector3 &posStart, const math::Vector3 &posEnd) |
| Set the ray based on starting and ending points relative to the body. | |
Ray collision.
| ODERayShape | ( | CollisionPtr | collision, |
| bool | displayRays | ||
| ) |
Constructor.
| body | Link the ray is attached to |
| displayRays | Indicates if the rays should be displayed when rendering images |
| virtual void SetPoints | ( | const math::Vector3 & | posStart, |
| const math::Vector3 & | posEnd | ||
| ) | [virtual] |
Set the ray based on starting and ending points relative to the body.
| posStart | Start position, relative the body |
| posEnd | End position, relative to the body |
Reimplemented from RayShape.
1.7.5.1