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. | |
| RayIntersectionGeometry () | |
| Geometry * | geometry () |
| The intersected Geometry. | |
| const Geometry * | geometry () const |
| The intersected Geometry. | |
| Primitives * | primitives () |
| The intersected Primitives. | |
| const Primitives * | primitives () const |
| The intersected Primitives. | |
| int | primitiveIndex () const |
| The starting index of the intersected primitive inside primitives(). | |
| void | setGeometry (Geometry *g) |
| The intersected Geometry. | |
| void | setPrimitives (Primitives *p) |
| The intersected Primitives. | |
| void | setPrimitiveIndex (int p_idx) |
| The starting index of the intersected primitive inside primitives(). | |
Protected Attributes | |
| vec3 | mIntersectionPoint |
| Geometry * | mGeometry |
| Primitives * | mPrimitives |
| int | mPrimitiveIndex |
| float | mDistance |
| vl::RayIntersectionGeometry::RayIntersectionGeometry | ( | ) | [inline] |
| virtual const char* vl::RayIntersectionGeometry::className | ( | ) | [inline, virtual] |
| Primitives* vl::RayIntersectionGeometry::primitives | ( | ) | [inline] |
The intersected Primitives.
| const Primitives* vl::RayIntersectionGeometry::primitives | ( | ) | const [inline] |
The intersected Primitives.
| int vl::RayIntersectionGeometry::primitiveIndex | ( | ) | const [inline] |
The starting index of the intersected primitive inside primitives().
| void vl::RayIntersectionGeometry::setPrimitives | ( | Primitives * | p | ) | [inline] |
The intersected Primitives.
| void vl::RayIntersectionGeometry::setPrimitiveIndex | ( | int | p_idx | ) | [inline] |
The starting index of the intersected primitive inside primitives().
vec3 vl::RayIntersectionGeometry::mIntersectionPoint [protected] |
Reimplemented from vl::RayIntersection.
Geometry* vl::RayIntersectionGeometry::mGeometry [protected] |
Primitives* vl::RayIntersectionGeometry::mPrimitives [protected] |
int vl::RayIntersectionGeometry::mPrimitiveIndex [protected] |
float vl::RayIntersectionGeometry::mDistance [protected] |
Reimplemented from vl::RayIntersection.