9#include "MantidGeometry/DllConfig.h"
12#include <boost/unordered_map.hpp>
48 Links getResults()
const;
52 size_t getDetectorResult()
const;
60 void fireRay(
Track &testRay)
const;
62 void testIntersectionWithShape(
size_t const index,
Track &testRay)
const;
64 void testIntersectionWithGrid(
size_t const index,
Track &testRay)
const;
74 mutable boost::unordered_map<size_t, BoundingBox>
m_boxCache;
std::map< DeltaEMode::Type, std::string > index
ComponentInfo : Provides a component centric view on to the instrument.
Geometry::DetectorInfo is an intermediate step towards a DetectorInfo that is part of Instrument-2....
This class is responsible for tracking rays and accumulating a list of objects that are intersected a...
Track m_resultsTrack
Accumulate results in this Track object, aids performance.
ComponentInfo const & m_componentInfo
ComponentInfo of the instrument being traced.
std::mutex m_mutex
Mutex to lock box cache.
boost::unordered_map< size_t, BoundingBox > m_boxCache
Map of component index -> bounding box.
DetectorInfo const & m_detectorInfo
DetectorInfo of the instrument being traced.
Defines a track as a start point and a direction.
boost::container::small_vector< Link, 5 > LType
Track::LType Links
Typedef for object intersections.
Helper class which provides the Collimation Length for SANS instruments.