Mantid
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions
ComponentHelper.h File Reference
#include "MantidGeometry/DllConfig.h"
#include "MantidGeometry/Instrument.h"

Go to the source code of this file.

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::Geometry
 
namespace  Mantid::Geometry::ComponentHelper
 A set of helper functions for dealing with components, i.e.
 
namespace  Mantid::Kernel
 

Enumerations

enum  Mantid::Geometry::ComponentHelper::TransformType { Mantid::Geometry::ComponentHelper::Absolute = 0 , Mantid::Geometry::ComponentHelper::Relative = 1 }
 Specifies how a transformation should be interpreted. More...
 

Functions

MANTID_GEOMETRY_DLL Geometry::Instrument_sptr Mantid::Geometry::ComponentHelper::createMinimalInstrument (const Mantid::Kernel::V3D &sourcePos, const Mantid::Kernel::V3D &samplePos, const Mantid::Kernel::V3D &detectorPos)
 createOneDetectorInstrument, creates the most simple possible definition of an instrument in which we can extract a valid L1 and L2 distance for unit calculations. More...
 
MANTID_GEOMETRY_DLL std::shared_ptr< Geometry::CSGObject > Mantid::Geometry::ComponentHelper::createSphere (double radius, const V3D &centre, const std::string &id)
 Create a sphere object. More...
 
MANTID_GEOMETRY_DLL Geometry::Instrument_sptr Mantid::Geometry::ComponentHelper::createVirtualInstrument (Kernel::V3D sourcePos, Kernel::V3D samplePos, const std::vector< Kernel::V3D > &vecdetpos, const std::vector< detid_t > &vecdetid)
 
MANTID_GEOMETRY_DLL std::string Mantid::Geometry::ComponentHelper::sphereXML (double radius, const Kernel::V3D &centre, const std::string &id)
 Return the XML for a sphere. More...