+
class ROOT::Math::EulerAngles
-
library: libMathCore
#include "EulerAngles.h"
Display options:
Show inherited
Show non-public

class ROOT::Math::EulerAngles

Function Members (Methods)

public:
~EulerAngles()
ROOT::Math::EulerAnglesEulerAngles()
ROOT::Math::EulerAnglesEulerAngles(const ROOT::Math::EulerAngles&)
ROOT::Math::EulerAnglesEulerAngles(ROOT::Math::EulerAngles::Scalar phi, ROOT::Math::EulerAngles::Scalar theta, ROOT::Math::EulerAngles::Scalar psi)
voidGetComponents(double* begin) const
voidGetComponents(ROOT::Math::EulerAngles::Scalar& phi, ROOT::Math::EulerAngles::Scalar& theta, ROOT::Math::EulerAngles::Scalar& psi) const
ROOT::Math::EulerAnglesInverse() const
voidInvert()
booloperator!=(const ROOT::Math::EulerAngles& rhs) const
ROOT::Math::EulerAnglesoperator*(const ROOT::Math::Rotation3D& r) const
ROOT::Math::EulerAnglesoperator*(const ROOT::Math::AxisAngle& a) const
ROOT::Math::EulerAnglesoperator*(const ROOT::Math::EulerAngles& e) const
ROOT::Math::EulerAnglesoperator*(const ROOT::Math::Quaternion& q) const
ROOT::Math::EulerAnglesoperator*(const ROOT::Math::RotationX& rx) const
ROOT::Math::EulerAnglesoperator*(const ROOT::Math::RotationY& ry) const
ROOT::Math::EulerAnglesoperator*(const ROOT::Math::RotationZ& rz) const
ROOT::Math::PositionVector3D<ROOT::Math::Cartesian3D<double>,ROOT::Math::DefaultCoordinateSystemTag>operator*(const ROOT::Math::PositionVector3D<ROOT::Math::Cartesian3D<double>,ROOT::Math::DefaultCoordinateSystemTag>& v) const
ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<double>,ROOT::Math::DefaultCoordinateSystemTag>operator*(const ROOT::Math::DisplacementVector3D<ROOT::Math::Cartesian3D<double>,ROOT::Math::DefaultCoordinateSystemTag>& v) const
ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<double> >operator*(const ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<double> >& v) const
ROOT::Math::EulerAngles&operator=(ROOT::Math::Rotation3D const& r)
ROOT::Math::EulerAngles&operator=(const ROOT::Math::EulerAngles&)
booloperator==(const ROOT::Math::EulerAngles& rhs) const
ROOT::Math::EulerAngles::ScalarPhi() const
ROOT::Math::EulerAngles::ScalarPsi() const
voidRectify()
voidSetComponents(double* begin, double* end)
voidSetComponents(ROOT::Math::EulerAngles::Scalar phi, ROOT::Math::EulerAngles::Scalar theta, ROOT::Math::EulerAngles::Scalar psi)
voidSetPhi(ROOT::Math::EulerAngles::Scalar phi)
voidSetPsi(ROOT::Math::EulerAngles::Scalar psi)
voidSetTheta(ROOT::Math::EulerAngles::Scalar theta)
ROOT::Math::EulerAngles::ScalarTheta() const
private:
static doublePi()

Data Members

private:
doublefPhi
doublefPsi
doublefTheta

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void Rectify()
 rectify
EulerAngles(const ROOT::Math::EulerAngles& )
Default constructor

{ }
EulerAngles(ROOT::Math::EulerAngles::Scalar phi, ROOT::Math::EulerAngles::Scalar theta, ROOT::Math::EulerAngles::Scalar psi)
Constructor from phi, theta and psi

{Rectify();}
EulerAngles(IT begin, IT end)
Construct given a pair of pointers or iterators defining the
beginning and end of an array of three Scalars, to be treated as
the angles phi, theta and psi.

{ SetComponents(begin,end); }
EulerAngles & operator=( OtherRotation const & r )
Assign from any other rotation (see gv_detail::convert )

operator=( AxisAngle const & a )
Assign from an AxisAngle

{ return operator=(EulerAngles(a)); }
void SetComponents(double* begin, double* end)
 ======== Components ==============

Set the three Euler angles given a pair of pointers or iterators
defining the beginning and end of an array of three Scalars.

void GetComponents(IT begin, IT end)
Get the axis and then the angle into data specified by an iterator begin
and another to the end of the desired data (4 past start).

void GetComponents(double* begin) const
Get the axis and then the angle into data specified by an iterator begin

void SetComponents(ROOT::Math::EulerAngles::Scalar phi, ROOT::Math::EulerAngles::Scalar theta, ROOT::Math::EulerAngles::Scalar psi)
Set the components phi, theta, psi based on three Scalars.

void SetPhi(ROOT::Math::EulerAngles::Scalar phi)
Set Phi Euler angle		// JMM 30 Jan. 2006

{ fPhi=phi; Rectify(); }
Scalar Phi()
Return Phi Euler angle

{ return fPhi; }
void SetTheta(ROOT::Math::EulerAngles::Scalar theta)
Set Theta Euler angle		// JMM 30 Jan. 2006

{ fTheta=theta; Rectify(); }
Scalar Theta()
Return Theta Euler angle

{ return fTheta; }
void SetPsi(ROOT::Math::EulerAngles::Scalar psi)
Set Psi Euler angle		// JMM 30 Jan. 2006

{ fPsi=psi; Rectify(); }
Scalar Psi()
Return Psi Euler angle

{ return fPsi; }
AVector operator*(const AVector & v)
Overload operator * for rotation on a vector

void Invert()
Invert a rotation in place

 theta stays the same and negative rotation in Theta is done via a rotation
 of + PI in pohi and Psi
EulerAngles Inverse()
Return inverse of a rotation

{ return EulerAngles(-fPsi + Pi(), fTheta, -fPhi + Pi()); }
return ! operator==(const ROOT::Math::EulerAngles& rhs) const
double Pi()
{ return M_PI; }
EulerAngles operator*(RotationX const & r1, EulerAngles const & r2)
Multiplication of an axial rotation by an AxisAngle

EulerAngles operator*(RotationY const & r1, EulerAngles const & r2)
EulerAngles operator*(RotationZ const & r1, EulerAngles const & r2)

Last update: root/mathcore:$Name: $:$Id: EulerAngles.cxx,v 1.7 2006/06/22 08:36:27 moneta Exp $
Copyright (c) 2005 , LCG ROOT FNAL MathLib Team *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.