#include <cameraray.h>
Inheritance diagram for CameraRay:

Public Member Functions | |
| CameraRay (const Vector3 o, const Vector3 d, Scene *s, InsideList *l) | |
| CameraRay (const CameraRay &r) | |
| FLT | getWeight () |
| void | scaleWeight (FLT s) |
| bool | shoot () |
| bool | refract (FLT weightmult) |
| void | reflect (FLT weightmult) |
| Vector3 | normal () const |
| Texture * | texture () const |
| Vector3 | hitpoint () const |
| Colour | evaluateMedia (Colour &absorb) const |
| InsideList * | getInside () const |
|
||||||||||||||||||||
|
Constructs new camera ray.
|
|
|
Copy constructor. |
|
|
Evaluate media interval. Calculates the colour contribution by the interval between ray's origin and hitpoint. |
|
|
Get list of objects which the ray is inside in. |
|
|
Returns ray's contribution factor to the resulting colour. |
|
|
Returns the intersection point. |
|
|
Returns object's surface normal at intersection |
|
|
Reflect ray.
|
|
|
Refract ray.
|
|
|
Scale ray's contribution factor.
|
|
|
Shoot ray. Calculate the ray-scene intersection. |
|
|
Returns object's texture at intersection |
1.3.8