Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
#include <RayIntersector.hpp>

Public Member Functions | |
| virtual const char * | className () |
| Returns the name of the class. | |
| RayIntersection () | |
| void | setActor (Actor *a) |
| The intersected Actor. | |
| const Actor * | actor () const |
| The intersected Actor. | |
| Actor * | actor () |
| The intersected Actor. | |
| const vec3 & | intersectionPoint () const |
| The intersection point, in world coordinates. | |
| void | setIntersectionPoint (const vec3 &v) |
| The intersection point, in world coordinates. | |
| float | distance () const |
| The intersection distance. | |
| void | setDistance (float dist) |
| The intersection distance. | |
Protected Attributes | |
| vec3 | mIntersectionPoint |
| Actor * | mActor |
| float | mDistance |
| vl::RayIntersection::RayIntersection | ( | ) | [inline] |
| virtual const char* vl::RayIntersection::className | ( | ) | [inline, virtual] |
Returns the name of the class.
Reimplemented from vl::Object.
Reimplemented in vl::RayIntersectionGeometry.
| const vec3& vl::RayIntersection::intersectionPoint | ( | ) | const [inline] |
The intersection point, in world coordinates.
| void vl::RayIntersection::setIntersectionPoint | ( | const vec3 & | v | ) | [inline] |
The intersection point, in world coordinates.
| float vl::RayIntersection::distance | ( | ) | const [inline] |
The intersection distance.
| void vl::RayIntersection::setDistance | ( | float | dist | ) | [inline] |
The intersection distance.
vec3 vl::RayIntersection::mIntersectionPoint [protected] |
Reimplemented in vl::RayIntersectionGeometry.
Actor* vl::RayIntersection::mActor [protected] |
float vl::RayIntersection::mDistance [protected] |
Reimplemented in vl::RayIntersectionGeometry.