Ray Class Reference

Definition of class Ray. More...

#include <Ray.h>


Public Member Functions

 Ray (void)
 constructor
 Ray (const Vector3 &o, const Vector3 &d)
 constructor
Vector3 origin () const
 origin accessor
Vector3 direction () const
 direction accessor
Ray unit (void)
 unit operator
virtual void transform (const AffineTransform &r)
 the transformation operator
virtual Real intersect (const Vector4 &h)
 intersection with a plane operator
virtual Real intersect (const Triangle &p, const Vector4 &plane) virtual Inode *intersect(const Triangle &p
 intersection with plane operator

Static Public Member Functions

static Vector3 ray_point (const Vector3 &r, Real t)
 pointing operator

Data Fields

virtual Real const Vector4plane


Detailed Description

Definition of class Ray.

The Ray class simulates the optic processes ray with an origin and a direction.

NOTE : this class absorved most methods related to ray present on prims and poly.


The documentation for this class was generated from the following files:
Generated on Thu Jul 5 00:39:19 2007 for S3D by  doxygen 1.4.6