Mantid
|
#include "MantidGeometry/Instrument/ComponentInfoBankHelpers.h"
#include "MantidBeamline/ComponentType.h"
#include "MantidGeometry/Instrument/ComponentInfo.h"
#include "MantidGeometry/Instrument/DetectorInfo.h"
#include "MantidKernel/EigenConversionHelpers.h"
#include <algorithm>
Go to the source code of this file.
Namespaces | |
namespace | Mantid |
Helper class which provides the Collimation Length for SANS instruments. | |
namespace | Mantid::Geometry |
namespace | Mantid::Geometry::ComponentInfoBankHelpers |
Functions | |
MANTID_GEOMETRY_DLL bool | Mantid::Geometry::ComponentInfoBankHelpers::isAncestorOf (const ComponentInfo &compInfo, const size_t possibleAncestor, const size_t current) |
Finds all ancestors up to the root of a component index and returns true if the possible ancestor is encountered in the search. More... | |
MANTID_GEOMETRY_DLL bool | Mantid::Geometry::ComponentInfoBankHelpers::isDetectorFixedInBank (const ComponentInfo &compInfo, const size_t detIndex) |
Tests whether or not the detector is within a fixed bank. More... | |
MANTID_GEOMETRY_DLL bool | Mantid::Geometry::ComponentInfoBankHelpers::isSaveableBank (const ComponentInfo &compInfo, const DetectorInfo &detInfo, const size_t idx) |
Function: isSaveableBank. More... | |
MANTID_GEOMETRY_DLL Eigen::Vector3d | Mantid::Geometry::ComponentInfoBankHelpers::offsetFromAncestor (const Mantid::Geometry::ComponentInfo &compInfo, const size_t ancestorIdx, const size_t currentIdx) |
Returns the position of the component at the current index relative to the ancestor component at the ancestor index. More... | |