Mantid
|
Counter clockwise rotation. More...
#include <Goniometer.h>
Public Member Functions | |
GoniometerAxis () | |
GoniometerAxis (std::string initname, const Kernel::V3D &initrotationaxis, double initangle, int initsense, int initangleunit) | |
angle units are angDegrees or angRadians (see AngleUnits.h) More... | |
void | loadNexus (::NeXus::File *file, const std::string &group) |
void | saveNexus (::NeXus::File *file, const std::string &group) const |
Public Attributes | |
double | angle |
GoniometerAxis direction. More... | |
int | angleunit |
Rotation sense (1 for CCW, -1 for CW) More... | |
std::string | name |
Kernel::V3D | rotationaxis |
GoniometerAxis name. More... | |
int | sense |
Rotation angle. More... | |
Counter clockwise rotation.
Structure containing a rotation axis: name, direction, angle, sense
Definition at line 38 of file Goniometer.h.
|
inline |
angle units are angDegrees or angRadians (see AngleUnits.h)
Constructor
Definition at line 45 of file Goniometer.h.
|
inline |
Definition at line 49 of file Goniometer.h.
void Mantid::Geometry::GoniometerAxis::loadNexus | ( | ::NeXus::File * | file, |
const std::string & | group | ||
) |
Definition at line 45 of file Goniometer.cpp.
References Mantid::Geometry::angDegrees, angle, angleunit, Mantid::Geometry::angRadians, Mantid::Geometry::CCW, Mantid::Geometry::CW, Mantid::Kernel::V3D::loadNexus(), name, rotationaxis, and sense.
Referenced by Mantid::Geometry::Goniometer::loadNexus().
void Mantid::Geometry::GoniometerAxis::saveNexus | ( | ::NeXus::File * | file, |
const std::string & | group | ||
) | const |
Definition at line 31 of file Goniometer.cpp.
References Mantid::Geometry::angDegrees, angle, angleunit, Mantid::Geometry::CW, name, rotationaxis, Mantid::Kernel::V3D::saveNexus(), and sense.
double Mantid::Geometry::GoniometerAxis::angle |
GoniometerAxis direction.
Definition at line 41 of file Goniometer.h.
Referenced by loadNexus(), and saveNexus().
int Mantid::Geometry::GoniometerAxis::angleunit |
Rotation sense (1 for CCW, -1 for CW)
Definition at line 43 of file Goniometer.h.
Referenced by loadNexus(), and saveNexus().
std::string Mantid::Geometry::GoniometerAxis::name |
Definition at line 39 of file Goniometer.h.
Referenced by Mantid::API::Run::calculateGoniometerMatrices(), loadNexus(), and saveNexus().
Kernel::V3D Mantid::Geometry::GoniometerAxis::rotationaxis |
GoniometerAxis name.
Definition at line 40 of file Goniometer.h.
Referenced by loadNexus(), and saveNexus().
int Mantid::Geometry::GoniometerAxis::sense |
Rotation angle.
Definition at line 42 of file Goniometer.h.
Referenced by loadNexus(), and saveNexus().