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;
16class IComponent;
17} // namespace Geometry
18namespace API {
22 Geometry::IComponent *componentId, const double scaleX,
23 const double scaleY);
27 const size_t componentIndex, const double scaleX,
28 const double scaleY);
29} // namespace API
30} // namespace Mantid
ComponentInfo : Provides a component centric view on to the instrument.
base class for Geometric IComponent
Definition IComponent.h:53
MANTID_API_DLL void applyRectangularDetectorScaleToComponentInfo(Geometry::ComponentInfo &componentInfo, Geometry::IComponent *componentId, const double scaleX, const double scaleY)
Helpers for resizing RectangularDetectors.
Helper class which provides the Collimation Length for SANS instruments.