16 const double scaleY) {
18 const size_t componentIndex = componentInfo.
indexOf(componentId);
21 Eigen::Affine3d transformation(Eigen::Scaling(Eigen::Vector3d(scaleX, scaleY, 1)));
26 transformation.translate(-origin);
27 transformation.pretranslate(origin);
std::map< DeltaEMode::Type, std::string > index
Mantid::Kernel::Quat(ComponentInfo::* rotation)(const size_t) const
ComponentInfo : Provides a component centric view on to the instrument.
Kernel::Quat rotation(const size_t componentIndex) const
Kernel::V3D position(const size_t componentIndex) const
size_t indexOf(Geometry::IComponent *id) const
std::vector< size_t > detectorsInSubtree(size_t componentIndex) const
void setPosition(size_t componentIndex, const Kernel::V3D &newPosition)
base class for Geometric IComponent
void conjugate()
Take the complex conjugate.
MANTID_API_DLL void applyRectangularDetectorScaleToComponentInfo(Geometry::ComponentInfo &componentInfo, Geometry::IComponent *componentId, const double scaleX, const double scaleY)
Helpers for resizing RectangularDetectors.
Eigen::Vector3d toVector3d(const Kernel::V3D &vec)
Converts Kernel::V3D to Eigen::Vector3d.
Kernel::V3D toV3D(const Eigen::Vector3d &vec)
This header provides conversion helpers between vector and rotation types in MantidKernel and equival...
Eigen::Quaterniond toQuaterniond(const Kernel::Quat &quat)
Converts Kernel::Quat to Eigen::Quaterniond.