Mantid
Loading...
Searching...
No Matches
ResizeRectangularDetectorHelper.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2017 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
9#include "MantidAPI/DllConfig.h"
10
11#include <cstddef>
12
13namespace Mantid {
14namespace Geometry {
15class ComponentInfo;
16} // namespace Geometry
17namespace API {
20MANTID_API_DLL void applyRectangularDetectorScaleToComponentInfo(Geometry::ComponentInfo &componentInfo,
21 const size_t componentIndex, const double scaleX,
22 const double scaleY);
23} // namespace API
24} // namespace Mantid
MANTID_API_DLL void applyRectangularDetectorScaleToComponentInfo(Geometry::ComponentInfo &componentInfo, const size_t componentIndex, const double scaleX, const double scaleY)
Helpers for resizing RectangularDetectors.
Helper class which provides the Collimation Length for SANS instruments.