Light Class Reference

#include <light.h>

List of all members.

Public Member Functions

 Light ()
 Light (Vector v)
 Light (Point p)
 Light (const Light &)
Lightoperator= (const Light &)
float & x ()
float & y ()
float & z ()
Colourintensity ()
Point point ()
Vector vector ()
bool & directional ()

Private Attributes

bool Directional
float X
float Y
float Z
Colour Intensity

Friends

ostream & operator<< (ostream &, Light)
istream & operator>> (istream &, Light &)


Constructor & Destructor Documentation

Light::Light (  )  [inline]

Light::Light ( Vector  v  )  [inline]

Light::Light ( Point  p  )  [inline]

Light::Light ( const Light  ) 


Member Function Documentation

Light & Light::operator= ( const Light  ) 

float& Light::x (  )  [inline]

float& Light::y (  )  [inline]

float& Light::z (  )  [inline]

Colour& Light::intensity (  )  [inline]

Point Light::point (  )  [inline]

Vector Light::vector (  )  [inline]

bool& Light::directional (  )  [inline]


Friends And Related Function Documentation

ostream& operator<< ( ostream &  s,
Light  light 
) [friend]

istream& operator>> ( istream &  s,
Light light 
) [friend]


Member Data Documentation

bool Light::Directional [private]

float Light::X [private]

float Light::Y [private]

float Light::Z [private]

Colour Light::Intensity [private]


The documentation for this class was generated from the following files:
Generated on Fri Jan 12 10:15:52 2007 for Path tracing coursework by  doxygen 1.5.1-p1