#include <RaycastSensor.h>
Public Member Functions | |
OPAL_DECL | RaycastResult () |
OPAL_DECL | RaycastResult (const RaycastResult &result) |
OPAL_DECL | ~RaycastResult () |
OPAL_DECL void OPAL_CALL | operator= (const RaycastResult &result) |
Public Attributes | |
Solid * | solid |
Point3r | intersection |
Vec3r | normal |
real | distance |
Definition at line 42 of file RaycastSensor.h.
|
Definition at line 44 of file RaycastSensor.h. |
|
Copy constructor.
Definition at line 53 of file RaycastSensor.h. |
|
Definition at line 58 of file RaycastSensor.h. |
|
Makes a deep copy.
Definition at line 62 of file RaycastSensor.h. References distance, intersection, normal, and solid. |
|
The distance from the base of the ray to the intersection point. Definition at line 83 of file RaycastSensor.h. Referenced by opal::ODESimulator::internal_addRaycastResult(), opal::operator<(), operator=(), and RaycastResult(). |
|
The point of intersection.
Definition at line 76 of file RaycastSensor.h. Referenced by opal::ODESimulator::internal_addRaycastResult(), and operator=(). |
|
The normal vector at the point of intersection.
Definition at line 79 of file RaycastSensor.h. Referenced by opal::ODESimulator::internal_addRaycastResult(), and operator=(). |
|
The first Solid hit by the ray. This will remain NULL if no Solid is hit. Definition at line 73 of file RaycastSensor.h. Referenced by opal::ODESimulator::internal_addRaycastResult(), operator=(), and RaycastResult(). |