#include <GeometryHandlers.h>

Public Member Functions | |
| RayHandler (dReal length) | |
| RayHandler (dReal length, graphVec3 startPoint, graphVec3 dir) | |
| virtual EGeomType | type () const |
| void | setLength (dReal length) |
| dReal | getLength () const |
| void | setRay (graphVec3 startPoint, graphVec3 dir) |
| Convinience method that modifies the geom it belongs to : it sets the rotation so that it will match given parameters. | |
| graphVec3 | getStartPoint () |
| graphVec3 | getDir () |
| virtual GeometryHandler * | clone () const |
Protected Member Functions | |
| virtual dGeomID | create (dSpaceID spaceId) |
Protected Attributes | |
| dReal | length |
| graphVec3 | startPoint |
| graphVec3 | dir |
Please note that setting ray parameters (Start point and direction) will affect the geom it belongs to (rotation matrix), not the ray itself ; so if you attach it to a body, it will be reset to a "Z-axis" ray.
Definition at line 287 of file GeometryHandlers.h.
| Physics::RayHandler::RayHandler | ( | dReal | length | ) | [inline] |
Definition at line 289 of file GeometryHandlers.h.
| Physics::RayHandler::RayHandler | ( | dReal | length, | |
| graphVec3 | startPoint, | |||
| graphVec3 | dir | |||
| ) | [inline] |
Definition at line 290 of file GeometryHandlers.h.
| virtual GeometryHandler* Physics::RayHandler::clone | ( | ) | const [inline, virtual] |
| virtual dGeomID Physics::RayHandler::create | ( | dSpaceID | spaceId | ) | [inline, protected, virtual] |
| graphVec3 Physics::RayHandler::getDir | ( | ) | [inline] |
| dReal Physics::RayHandler::getLength | ( | ) | const [inline] |
Definition at line 299 of file GeometryHandlers.h.
| graphVec3 Physics::RayHandler::getStartPoint | ( | ) | [inline] |
| void Physics::RayHandler::setLength | ( | dReal | length | ) | [inline] |
Definition at line 293 of file GeometryHandlers.h.
| void Physics::RayHandler::setRay | ( | graphVec3 | startPoint, | |
| graphVec3 | dir | |||
| ) | [inline] |
Convinience method that modifies the geom it belongs to : it sets the rotation so that it will match given parameters.
Definition at line 302 of file GeometryHandlers.h.
| virtual EGeomType Physics::RayHandler::type | ( | ) | const [inline, virtual] |
graphVec3 Physics::RayHandler::dir [protected] |
Definition at line 332 of file GeometryHandlers.h.
dReal Physics::RayHandler::length [protected] |
Definition at line 331 of file GeometryHandlers.h.
graphVec3 Physics::RayHandler::startPoint [protected] |
Definition at line 332 of file GeometryHandlers.h.
1.5.9