Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
basic::sampling::orientations::Quaternion Class Reference

#include <QuaternionGrid.hh>

Public Member Functions

 Quaternion (numeric::Real ww=1, numeric::Real xx=0, numeric::Real yy=0, numeric::Real zz=0)
 
void Normalize ()
 
void Canonicalize ()
 
Quaternion Times (const Quaternion &q) const
 
void Print (std::ostream &s) const
 
numeric::xyzVector< numeric::Realeuler () const
 
void PrintEuler (std::ostream &s) const
 
numeric::xyzMatrix< numeric::Realrotation_matrix () const
 

Public Attributes

numeric::Real w
 
numeric::Real x
 
numeric::Real y
 
numeric::Real z
 

Constructor & Destructor Documentation

basic::sampling::orientations::Quaternion::Quaternion ( numeric::Real  ww = 1,
numeric::Real  xx = 0,
numeric::Real  yy = 0,
numeric::Real  zz = 0 
)
inline

Referenced by Times().

Member Function Documentation

void basic::sampling::orientations::Quaternion::Canonicalize ( )
inline
numeric::xyzVector< numeric::Real > basic::sampling::orientations::Quaternion::euler ( ) const
void basic::sampling::orientations::Quaternion::Normalize ( )
void basic::sampling::orientations::Quaternion::Print ( std::ostream &  s) const
void basic::sampling::orientations::Quaternion::PrintEuler ( std::ostream &  s) const
numeric::xyzMatrix< numeric::Real > basic::sampling::orientations::Quaternion::rotation_matrix ( ) const
Quaternion basic::sampling::orientations::Quaternion::Times ( const Quaternion q) const
inline

Member Data Documentation

numeric::Real basic::sampling::orientations::Quaternion::w

Referenced by Canonicalize(), euler(), and Times().

numeric::Real basic::sampling::orientations::Quaternion::x
numeric::Real basic::sampling::orientations::Quaternion::y
numeric::Real basic::sampling::orientations::Quaternion::z

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