5 #include <utl/Vector.h>
6 #include <utl/TimeInterval.h>
17 const double lambda,
const double weight,
const int source = 0)
double GetWeight() const
weight assigned to the photon
int GetSource() const
source of the photons. Should use Eye::LightSource enum types
void SetPosition(const utl::Point &p)
void SetSource(const int source)
void SetWeight(const double w)
source of the photons. Should use Eye::LightSource enum types
const utl::Vector & GetDirection() const
Photon(const utl::Point &p, const utl::Vector &n, const double lambda, const double weight, const int source=0)
A TimeInterval is used to represent time elapsed between two events.
void SetWavelength(const double wl)
double GetWavelength() const
void SetTime(const utl::TimeInterval &t)
utl::TimeInterval GetTime() const
void SetDirection(const utl::Vector &v)
const utl::Point & GetPosition() const