3 #ifndef LIGHT_SOURCE_H_INCLUDED
4 #define LIGTH_SOURCE_H_INCLUDED
Colour class header file.
Class to store colour information.
Definition: Colour.h:25
Class for Direction Vectors.
Definition: Direction.h:22
Abstract base class for LightSources.
Definition: LightSource.h:23
virtual Colour getIlluminationAt(const Point &point) const =0
Determine how much light reaches a Point from this LightSource.
virtual double getDistanceToLight(const Point &point) const =0
Determine how far away the light source is from a given Point.
LightSource & operator=(const LightSource &lightSource)
LightSource assignment operator.
Definition: LightSource.cpp:15
virtual ~LightSource()
LightSource destructor.
Definition: LightSource.cpp:11
virtual Direction getLightDirection(const Point &point) const =0
Direction from light source to a point.
Colour colour_
The Colour of this LightSource's illumination.
Definition: LightSource.h:97
LightSource(const Colour &colour)
LightSource constructor.
Definition: LightSource.cpp:3
Class for Point Vectors.
Definition: Point.h:22