16 #ifndef BRUTE_FORCE_ACCELERATOR_H
17 #define BRUTE_FORCE_ACCELERATOR_H
Base class for accelerators.
leafTreatment::treatment intersectionChoice
Intersection choice.
BBox globalBox
Global bounding box.
std::vector< Shape * > * shapes
Vector of pointers to shapes.
Definition of a bounding box which is aligned along the axis (BBox AABB).
BruteForceAccelerator(std::vector< Shape * > *_shapes, BBox &_globalBox)
Constructor.
BruteForceAccelerator(const BruteForceAccelerator &other)
Copy constructor.
virtual ~BruteForceAccelerator()
Destructor.
BruteForceAccelerator()
Default constructor.
virtual decimal traverse(Ray *r, std::list< Intersection > &result) const
Run this accelerator.
virtual bool build()
Build this accelerator.
: Describes a ray by a pair of unsigned int. The first one gives the source number (in the range 0-40...