9#include "MantidGeometry/DllConfig.h"
23 void reserve(
size_t numVolumeElements);
25 std::vector<double>
l1;
34 const double cubeSizeInMetre);
37 const size_t numSlices,
const size_t numAnnuli);
40 const size_t numSlices,
const size_t numAnnuli);
IObject : Interface for geometry objects.
MANTID_GEOMETRY_DLL Raster calculate(const Kernel::V3D &beamDirection, const IObject &shape, const double cubeSizeInMetre)
MANTID_GEOMETRY_DLL Raster calculateCylinder(const Kernel::V3D &beamDirection, const IObject &shape, const size_t numSlices, const size_t numAnnuli)
MANTID_GEOMETRY_DLL Raster calculateHollowCylinder(const Kernel::V3D &beamDirection, const IObject &shape, const size_t numSlices, const size_t numAnnuli)
Helper class which provides the Collimation Length for SANS instruments.
Holds the information used for doing numerical integrations of object in the beam.
double totalvolume
Volume of the object.
std::vector< double > volume
Cached element volumes.
std::vector< double > l1
Cached L1 distances.
std::vector< Kernel::V3D > position
Cached element positions.