10#include "MantidDataObjects/DllConfig.h"
11#include "MantidIndexing/IndexInfo.h"
19namespace DataObjects {
41 enum class IndexingType { Default, TimeOriented, DetectorOriented };
44 const size_t nBins,
const bool isPointData =
false);
46 void setHistogram(HistogramData::Histogram histogram);
48 void setTimeRanges(std::vector<std::pair<Types::Core::DateAndTime, Types::Core::DateAndTime>> timeRanges);
49 void setTimeRanges(
const Types::Core::DateAndTime &startTime,
const std::vector<double> &durations);
50 void setPositions(std::vector<std::vector<Kernel::V3D>> positions);
51 void setRotations(std::vector<std::vector<Kernel::Quat>> rotations);
52 void setRelativeRotationsForScans(
const std::vector<double> &relativeRotations,
const Kernel::V3D &rotationPosition,
55 void setIndexingType(
const IndexingType indexingType);
68 std::vector<std::pair<Types::Core::DateAndTime, Types::Core::DateAndTime>>
m_timeRanges;
87 void verifyTimeIndexSize(
const size_t timeIndexSize,
const std::string &description)
const;
88 void verifyDetectorSize(
const size_t detectorSize,
const std::string &description)
const;
89 void validateInputs()
const;
Base MatrixWorkspace Abstract Class.
ScanningWorkspaceBuilder : This is a helper class to make it easy to build a scanning workspace (a wo...
std::vector< std::pair< Types::Core::DateAndTime, Types::Core::DateAndTime > > m_timeRanges
std::vector< double > m_instrumentAngles
Kernel::V3D m_rotationPosition
std::shared_ptr< const Geometry::Instrument > m_instrument
HistogramData::Histogram m_histogram
std::vector< std::vector< Kernel::V3D > > m_positions
IndexingType m_indexingType
std::vector< std::vector< Kernel::Quat > > m_rotations
Kernel::V3D m_rotationAxis
ComponentInfo : Provides a component centric view on to the instrument.
Geometry::DetectorInfo is an intermediate step towards a DetectorInfo that is part of Instrument-2....
std::shared_ptr< MatrixWorkspace > MatrixWorkspace_sptr
shared pointer to the matrix workspace base class
Helper class which provides the Collimation Length for SANS instruments.