3 #ifndef OBJECT_H_INCLUDED
4 #define OBJECT_H_INCLUDED
50 virtual std::vector<RayIntersection>
intersect(
const Ray& ray)
const = 0;
Material class header file.
RayIntersection class header file.
Class defining Material colours and properties.
Definition: Material.h:29
Abstract base class for Objects.
Definition: Object.h:35
virtual std::vector< RayIntersection > intersect(const Ray &ray) const =0
Object-Ray intersection computation.
Object & operator=(const Object &object)
Object assignment operator.
Definition: Object.cpp:15
Material material
The colour and reflectance properties of the Object.
Definition: Object.h:54
Object()
Object default constructor.
Definition: Object.cpp:3
Transform transform
A 3D transformation to apply to this Object.
Definition: Object.h:52
virtual ~Object()
Object destructor.
Definition: Object.cpp:11
Rays as a starting Point and Direction.
Definition: Ray.h:20