Mantid
Loading...
Searching...
No Matches
Framework
API
inc
MantidAPI
NullCoordTransform.h
Go to the documentation of this file.
1
// Mantid Repository : https://github.com/mantidproject/mantid
2
//
3
// Copyright © 2018 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/CoordTransform.h
"
10
11
namespace
Mantid
{
12
namespace
API
{
13
20
class
MANTID_API_DLL
NullCoordTransform
:
public
Mantid::API::CoordTransform
{
21
public
:
22
NullCoordTransform
(
size_t
ndims = 3);
23
std::string toXMLString()
const override
;
24
std::string id()
const override
;
25
void
apply(
const
Mantid::coord_t
*inputVector,
Mantid::coord_t
*outVector)
const override
;
26
CoordTransform
*clone()
const override
;
27
28
private
:
30
size_t
m_ndims
;
31
};
32
}
// namespace API
33
}
// namespace Mantid
CoordTransform.h
Mantid::API::CoordTransform
Unique SingleValueParameter Declaration for InputNDimensions.
Definition
CoordTransform.h:31
Mantid::API::NullCoordTransform
NullCoordTransform : A transform that sets the outVector to have the same values as the inputVector.
Definition
NullCoordTransform.h:20
Mantid::API::NullCoordTransform::m_ndims
size_t m_ndims
Number of dimensions.
Definition
NullCoordTransform.h:30
API
Definition
ChudleyElliotSQE.h:11
Mantid
Helper class which provides the Collimation Length for SANS instruments.
Definition
AbsorptionCorrection.h:18
Mantid::coord_t
float coord_t
Typedef for the data type to use for coordinate axes in MD objects such as MDBox, MDEventWorkspace,...
Definition
MDTypes.h:27
Generated by
1.9.8