Mantid
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Mantid::Geometry::GoniometerAxis Struct Reference

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...
 

Detailed Description

Counter clockwise rotation.

Structure containing a rotation axis: name, direction, angle, sense

Definition at line 38 of file Goniometer.h.

Constructor & Destructor Documentation

◆ GoniometerAxis() [1/2]

Mantid::Geometry::GoniometerAxis::GoniometerAxis ( std::string  initname,
const Kernel::V3D initrotationaxis,
double  initangle,
int  initsense,
int  initangleunit 
)
inline

angle units are angDegrees or angRadians (see AngleUnits.h)

Constructor

Definition at line 45 of file Goniometer.h.

◆ GoniometerAxis() [2/2]

Mantid::Geometry::GoniometerAxis::GoniometerAxis ( )
inline

Definition at line 49 of file Goniometer.h.

Member Function Documentation

◆ loadNexus()

void Mantid::Geometry::GoniometerAxis::loadNexus ( ::NeXus::File *  file,
const std::string &  group 
)

◆ saveNexus()

void Mantid::Geometry::GoniometerAxis::saveNexus ( ::NeXus::File *  file,
const std::string &  group 
) const

Member Data Documentation

◆ angle

double Mantid::Geometry::GoniometerAxis::angle

GoniometerAxis direction.

Definition at line 41 of file Goniometer.h.

Referenced by loadNexus(), and saveNexus().

◆ angleunit

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().

◆ name

std::string Mantid::Geometry::GoniometerAxis::name

◆ rotationaxis

Kernel::V3D Mantid::Geometry::GoniometerAxis::rotationaxis

GoniometerAxis name.

Definition at line 40 of file Goniometer.h.

Referenced by loadNexus(), and saveNexus().

◆ sense

int Mantid::Geometry::GoniometerAxis::sense

Rotation angle.

Definition at line 42 of file Goniometer.h.

Referenced by loadNexus(), and saveNexus().


The documentation for this struct was generated from the following files: