Om
1.0.0
A universal framework for multimedia simulation
|
A class that represents a ray intersection query for a graphics scene. More...
#include <omGraphicsRay.h>
Public Member Functions | |
GraphicsRay () | |
Create a new uninitialized ray. More... | |
GraphicsRay (const Ray3f &ray) | |
Construct a graphics ray and initialize it for the specified ray. More... | |
GraphicsRay (const Ray3f &ray, Float newTMin, Float newTMax) | |
Construct a graphics ray and initialize it for the specified ray information. More... | |
Public Attributes | |
scenes::GraphicsObject * | object |
A pointer to the object that was intersected. More... | |
shapes::GraphicsShape * | shape |
A pointer to the shape that was intersected. More... | |
materials::Material * | material |
A pointer to the material that was intersected. More... | |
A class that represents a ray intersection query for a graphics scene.
|
inline |
Create a new uninitialized ray.
|
inline |
Construct a graphics ray and initialize it for the specified ray.
The ray intersection query considers the distance range [0,infinity].
|
inline |
Construct a graphics ray and initialize it for the specified ray information.
scenes::GraphicsObject* om::graphics::base::GraphicsRay::object |
A pointer to the object that was intersected.
shapes::GraphicsShape* om::graphics::base::GraphicsRay::shape |
A pointer to the shape that was intersected.
materials::Material* om::graphics::base::GraphicsRay::material |
A pointer to the material that was intersected.