00001 00002 // File: vuRay.h 00003 // Author: Steve Kilthau 00004 // Date: August, 1999 00005 // 00006 // Adapted to vuVolume by Steven Bergner, 2001 00007 00008 #ifndef _VURAY_H_ 00009 #define _VURAY_H_ 00010 00011 #include "../vuLinAlg/vuVector.h" 00012 00014 00020 class vuRay 00021 { 00022 public: 00023 vuRay(); 00024 vuRay(const vuRay &r); 00025 ~vuRay(); 00026 00028 vuRay& operator=(const vuRay &rhs); 00029 00031 void advance() { 00032 m_Position += m_Direction; 00033 }; 00034 00035 public: 00036 vuVector m_Position; 00037 vuVector m_Direction; 00038 }; 00039 00040 #endif