Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

vuRay Class Reference

Defines a ray with start point and direction. More...

#include <vuRay.h>

Inheritance diagram for vuRay:

Inheritance graph
[legend]
Collaboration diagram for vuRay:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vuRay ()
 Default constructor.
 vuRay (const vuRay &r)
 Copy constructor.
 ~vuRay ()
 Destructor.
vuRayoperator= (const vuRay &rhs)
 Assignment operator.
void advance ()
 Advances the m_Position of the ray one step into m_Direction.

Public Attributes

vuVector m_Position
 The origin of the ray (public).
vuVector m_Direction
 The direction of the ray (public).

Detailed Description

Defines a ray with start point and direction.

This file defines a ray class. A vuRay is specified by a start position and a direction (and a pointer to the object within which the start position resides, if it is in the interior of an object).

Definition at line 20 of file vuRay.h.


Constructor & Destructor Documentation

vuRay::vuRay  ) 
 

Default constructor.

Definition at line 12 of file vuRay.cpp.

vuRay::vuRay const vuRay r  ) 
 

Copy constructor.

Definition at line 16 of file vuRay.cpp.

References operator=().

Here is the call graph for this function:

vuRay::~vuRay  ) 
 

Destructor.

Definition at line 22 of file vuRay.cpp.


Member Function Documentation

void vuRay::advance  )  [inline]
 

Advances the m_Position of the ray one step into m_Direction.

Definition at line 31 of file vuRay.h.

vuRay & vuRay::operator= const vuRay rhs  ) 
 

Assignment operator.

Definition at line 26 of file vuRay.cpp.

References m_Direction, and m_Position.

Referenced by ns_vu1112112::vuSampleRay::operator=(), ns_vu1112113::vuSampleRay::operator=(), and vuRay().


Member Data Documentation

vuVector vuRay::m_Direction
 

The direction of the ray (public).

Definition at line 37 of file vuRay.h.

Referenced by ns_vu1112112::vuSampleRay::attachToGrid(), ns_vu1112113::vuSampleRay::attachToGrid(), ns_vu1112112::vu1112112::Cast(), vu1112113::Cast(), ns_vu1112112::DatGrid::clipRay(), ns_vu1112113::DatGrid::clipRay(), vuPerspectiveCamera::getRay(), vuParallelCamera::getRay(), and operator=().

vuVector vuRay::m_Position
 

The origin of the ray (public).

Definition at line 36 of file vuRay.h.

Referenced by ns_vu1112112::vuSampleRay::attachToGrid(), ns_vu1112113::vuSampleRay::attachToGrid(), ns_vu1112112::DatGrid::clipRay(), ns_vu1112113::DatGrid::clipRay(), vuPerspectiveCamera::getRay(), vuParallelCamera::getRay(), and operator=().


The documentation for this class was generated from the following files:
Generated on Wed Dec 15 21:22:01 2004 for vuVolume by  doxygen 1.3.9.1