A++ » INCLUDE » TRotation

class TRotation: public TObject

Function Members (Methods)

public:
virtual~TRotation()
voidTObject::AbstractMethod(const char* method) const
voidAngleAxis(Double_t&, TVector3&) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
Double_tGetXPhi() const
Double_tGetXPsi() const
Double_tGetXTheta() const
Double_tGetYPhi() const
Double_tGetYPsi() const
Double_tGetYTheta() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
TRotationInverse() const
TRotation&Invert()
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tIsIdentity() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidMakeBasis(TVector3& xAxis, TVector3& yAxis, TVector3& zAxis) const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
Bool_toperator!=(const TRotation&) const
Double_toperator()(int, int) const
TVector3operator*(const TVector3&) const
TRotationoperator*(const TRotation&) const
TRotation&operator*=(const TRotation&)
TRotation&operator=(const TRotation&)
Bool_toperator==(const TRotation&) const
TRotation::TRotationRowoperator[](int) const
virtual voidTObject::Paint(Option_t* option = "")
Double_tPhiX() const
Double_tPhiY() const
Double_tPhiZ() const
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
TRotation&Rotate(Double_t, const TVector3&)
TRotation&Rotate(Double_t, const TVector3*)
TRotation&RotateAxes(const TVector3& newX, const TVector3& newY, const TVector3& newZ)
TRotation&RotateX(Double_t)
TRotation&RotateXEulerAngles(Double_t phi, Double_t theta, Double_t psi)
TRotation&RotateY(Double_t)
TRotation&RotateYEulerAngles(Double_t phi, Double_t theta, Double_t psi)
TRotation&RotateZ(Double_t)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
static voidTObject::SetObjectStat(Bool_t stat)
TRotation&SetToIdentity()
virtual voidTObject::SetUniqueID(UInt_t uid)
TRotation&SetXAxis(const TVector3& axis)
TRotation&SetXAxis(const TVector3& axis, const TVector3& xyPlane)
TRotation&SetXEulerAngles(Double_t phi, Double_t theta, Double_t psi)
voidSetXPhi(Double_t)
voidSetXPsi(Double_t)
voidSetXTheta(Double_t)
TRotation&SetYAxis(const TVector3& axis)
TRotation&SetYAxis(const TVector3& axis, const TVector3& yzPlane)
TRotation&SetYEulerAngles(Double_t phi, Double_t theta, Double_t psi)
voidSetYPhi(Double_t)
voidSetYPsi(Double_t)
voidSetYTheta(Double_t)
TRotation&SetZAxis(const TVector3& axis)
TRotation&SetZAxis(const TVector3& axis, const TVector3& zxPlane)
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
Double_tThetaX() const
Double_tThetaY() const
Double_tThetaZ() const
TRotation&Transform(const TRotation&)
TRotation()
TRotation(const TRotation&)
TRotation(const TQuaternion&)
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
Double_tXX() const
Double_tXY() const
Double_tXZ() const
Double_tYX() const
Double_tYY() const
Double_tYZ() const
Double_tZX() const
Double_tZY() const
Double_tZZ() const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
TRotation(Double_t, Double_t, Double_t, Double_t, Double_t, Double_t, Double_t, Double_t, Double_t)

Data Members

public:
static TObject::(anonymous)TObject::kBitMask
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static TObject::EStatusBitsTObject::kHasUUID
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::(anonymous)TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::(anonymous)TObject::kNotDeleted
static TObject::EStatusBitsTObject::kObjInCanvas
static TObject::(anonymous)TObject::kOverwrite
static TObject::(anonymous)TObject::kSingleKey
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie

Class Charts

Inheritance Chart:
TObject
TRotation

Function documentation

Double_t XX() const
{ return fxx; }
Double_t XY() const
{ return fxy; }
Double_t XZ() const
{ return fxz; }
Double_t YX() const
{ return fyx; }
Double_t YY() const
{ return fyy; }
Double_t YZ() const
{ return fyz; }
Double_t ZX() const
{ return fzx; }
Double_t ZY() const
{ return fzy; }
Double_t ZZ() const
{ return fzz; }
Bool_t IsIdentity() const
TRotation & SetToIdentity()
TRotation & Transform(const TRotation& )
TRotation Inverse() const
TRotation & Invert()
TRotation & Rotate(Double_t , const TVector3* )
TRotationRow & operator=(const TRotation& )
TRotation()
 Helper class for implemention of C-style subscripting r[i][j]
TRotation(const TRotation& )
 Default constructor. Gives a unit matrix.
TRotation(const TQuaternion& )
 Copy constructor.
virtual ~TRotation()
{;}
TRotation & RotateX(Double_t )
 Inverts the Rotation matrix.
TRotation & RotateY(Double_t )
 Rotation around the x-axis.
TRotation & RotateZ(Double_t )
 Rotation around the y-axis.
TRotation & Rotate(Double_t , const TVector3& )
 Rotation around the z-axis.
TRotation & RotateAxes(const TVector3& newX, const TVector3& newY, const TVector3& newZ)
 Rotation around a specified vector.
Double_t PhiY() const
 Rotation of local axes (Geant4).
Double_t PhiZ() const
Double_t ThetaX() const
Double_t ThetaY() const
Double_t ThetaZ() const
 Return angles (RADS) made by rotated axes against original axes (Geant4).
void AngleAxis(Double_t& , TVector3& ) const
 Returns the rotation angle and rotation axis (Geant4).
TRotation & SetXEulerAngles(Double_t phi, Double_t theta, Double_t psi)
 Set equal to the identity rotation.
void SetXPhi(Double_t )
void SetXTheta(Double_t )
void SetXPsi(Double_t )
 Set the euler angles of the rotation.  The angles are defined using the
 y-convention which rotates around the Z axis, around the new X axis, and
 then around the new Z axis.  The x-convention is used Goldstein, Landau
 and Lifshitz, and other common physics texts.  Contrast this with
 SetYEulerAngles.
TRotation & RotateXEulerAngles(Double_t phi, Double_t theta, Double_t psi)
 Adds a rotation of the local axes defined by the Euler angle to the
 current rotation.  See SetXEulerAngles for a note about conventions.
Double_t GetXPhi(void)
Double_t GetXTheta(void)
Double_t GetXPsi(void)
 Return the euler angles of the rotation.  See SetYEulerAngles for a
 note about conventions.
TRotation & SetYEulerAngles(Double_t phi, Double_t theta, Double_t psi)
void SetYPhi(Double_t )
void SetYTheta(Double_t )
void SetYPsi(Double_t )
 Set the euler angles of the rotation.  The angles are defined using the
 y-convention which rotates around the Z axis, around the new Y axis, and
 then around the new Z axis.  The x-convention is used Goldstein, Landau
 and Lifshitz, and other common physics texts and is a rotation around the
 Z axis, around the new X axis, and then around the new Z axis.
TRotation & RotateYEulerAngles(Double_t phi, Double_t theta, Double_t psi)
 Adds a rotation of the local axes defined by the Euler angle to the
 current rotation.  See SetYEulerAngles for a note about conventions.
Double_t GetYPhi(void)
Double_t GetYTheta(void)
Double_t GetYPsi(void)
 Return the euler angles of the rotation.  See SetYEulerAngles for a
 note about conventions.
TRotation & SetXAxis(const TVector3& axis)
TRotation & SetXAxis(const TVector3& axis, const TVector3& xyPlane)
TRotation & SetYAxis(const TVector3& axis)
TRotation & SetYAxis(const TVector3& axis, const TVector3& yzPlane)
TRotation & SetZAxis(const TVector3& axis)
TRotation & SetZAxis(const TVector3& axis, const TVector3& zxPlane)
 Create a rotation with the axis vector parallel to the rotated coordinate
 system.  If a second vector is provided it defines a plane passing
 through the axis.
void MakeBasis(TVector3& xAxis, TVector3& yAxis, TVector3& zAxis) const
 Take two input vectors (in xAxis, and zAxis) and turn them into an
 orthogonal basis.  This is an internal helper function used to implement
 the Set?Axis functions, but is exposed because the functionality is
 often useful.
TRotation(Double_t , Double_t , Double_t , Double_t , Double_t , Double_t , Double_t , Double_t , Double_t )
 Protected constructor.
 The matrix elements.
return fRR-> operator()(fII,jj)