#include <TRotMatrix.h>
Inheritance diagram for TRotMatrix:
Public Types | |
enum | |
enum | |
Public Member Functions | |
TRotMatrix () | |
TRotMatrix (const char *name, const char *title, Double_t *matrix) | |
TRotMatrix (const char *name, const char *title, Double_t theta, Double_t phi, Double_t psi) | |
TRotMatrix (const char *name, const char *title, Double_t theta1, Double_t phi1, Double_t theta2, Double_t phi2, Double_t theta3, Double_t phi3) | |
virtual | ~TRotMatrix () |
virtual Double_t | Determinant () const |
virtual Double_t * | GetMatrix () |
virtual Int_t | GetNumber () const |
virtual Int_t | GetType () const |
virtual Double_t | GetTheta () const |
virtual Double_t | GetPhi () const |
virtual Double_t | GetPsi () const |
virtual Double_t * | GetGLMatrix (Double_t *rGLMatrix) const |
virtual Bool_t | IsReflection () const |
virtual const Double_t * | SetAngles (Double_t theta1, Double_t phi1, Double_t theta2, Double_t phi2, Double_t theta3, Double_t phi3) |
virtual void | SetMatrix (const Double_t *matrix) |
virtual void | SetName (const char *name) |
TRotMatrix () | |
TRotMatrix (const char *name, const char *title, Double_t *matrix) | |
TRotMatrix (const char *name, const char *title, Double_t theta, Double_t phi, Double_t psi) | |
TRotMatrix (const char *name, const char *title, Double_t theta1, Double_t phi1, Double_t theta2, Double_t phi2, Double_t theta3, Double_t phi3) | |
virtual | ~TRotMatrix () |
virtual Double_t | Determinant () const |
virtual Double_t * | GetMatrix () |
virtual Int_t | GetNumber () const |
virtual Int_t | GetType () const |
virtual Double_t | GetTheta () const |
virtual Double_t | GetPhi () const |
virtual Double_t | GetPsi () const |
virtual Double_t * | GetGLMatrix (Double_t *rGLMatrix) const |
virtual Bool_t | IsReflection () const |
virtual const Double_t * | SetAngles (Double_t theta1, Double_t phi1, Double_t theta2, Double_t phi2, Double_t theta3, Double_t phi3) |
virtual void | SetMatrix (const Double_t *matrix) |
virtual void | SetName (const char *name) |
Protected Attributes | |
Int_t | fNumber |
Int_t | fType |
Double_t | fTheta |
Double_t | fPhi |
Double_t | fPsi |
Double_t | fMatrix [9] |
Private Member Functions | |
virtual void | SetReflection () |
virtual void | SetReflection () |
Definition at line 30 of file TRotMatrix.h.
anonymous enum |
Definition at line 44 of file TRotMatrix.h.
anonymous enum |
Definition at line 44 of file TRotMatrix.h.
TRotMatrix::TRotMatrix | ( | ) |
TRotMatrix::TRotMatrix | ( | const char * | name, | |
const char * | title, | |||
Double_t * | matrix | |||
) |
Definition at line 41 of file TRotMatrix.cxx.
References TList::Add(), TObject::Error(), fNumber, TGeometry::GetListOfMatrices(), TCollection::GetSize(), gGeometry, and SetMatrix().
TRotMatrix::TRotMatrix | ( | const char * | name, | |
const char * | title, | |||
Double_t | theta, | |||
Double_t | phi, | |||
Double_t | psi | |||
) |
Definition at line 56 of file TRotMatrix.cxx.
References TList::Add(), fMatrix, fNumber, fPhi, fPsi, fTheta, fType, TGeometry::GetListOfMatrices(), TCollection::GetSize(), gGeometry, and i.
TRotMatrix::TRotMatrix | ( | const char * | name, | |
const char * | title, | |||
Double_t | theta1, | |||
Double_t | phi1, | |||
Double_t | theta2, | |||
Double_t | phi2, | |||
Double_t | theta3, | |||
Double_t | phi3 | |||
) |
Definition at line 78 of file TRotMatrix.cxx.
References TList::Add(), fNumber, TGeometry::GetListOfMatrices(), TCollection::GetSize(), gGeometry, and SetAngles().
TRotMatrix::~TRotMatrix | ( | ) | [virtual] |
Definition at line 110 of file TRotMatrix.cxx.
References TGeometry::GetListOfMatrices(), gGeometry, and THashList::Remove().
TRotMatrix::TRotMatrix | ( | ) |
TRotMatrix::TRotMatrix | ( | const char * | name, | |
const char * | title, | |||
Double_t * | matrix | |||
) |
TRotMatrix::TRotMatrix | ( | const char * | name, | |
const char * | title, | |||
Double_t | theta, | |||
Double_t | phi, | |||
Double_t | psi | |||
) |
TRotMatrix::TRotMatrix | ( | const char * | name, | |
const char * | title, | |||
Double_t | theta1, | |||
Double_t | phi1, | |||
Double_t | theta2, | |||
Double_t | phi2, | |||
Double_t | theta3, | |||
Double_t | phi3 | |||
) |
virtual TRotMatrix::~TRotMatrix | ( | ) | [virtual] |
void TRotMatrix::SetReflection | ( | ) | [private, virtual] |
Definition at line 228 of file TRotMatrix.cxx.
References Determinant(), fType, kReflection, TObject::ResetBit(), and TObject::SetBit().
Referenced by SetAngles(), and SetMatrix().
Double_t TRotMatrix::Determinant | ( | ) | const [virtual] |
virtual Double_t* TRotMatrix::GetMatrix | ( | ) | [inline, virtual] |
Definition at line 56 of file TRotMatrix.h.
References fMatrix.
Referenced by TVolumePosition::Cormx2Local(), TNode::DistancetoPrimitive(), TVolume::GetIdentity(), TNode::Paint(), THelix::SetRange(), TVolumePosition::TVolumePosition(), TVolumeView::TVolumeView(), TNode::UpdateMatrix(), and TGeometry::UpdateTempMatrix().
virtual Int_t TRotMatrix::GetNumber | ( | ) | const [inline, virtual] |
virtual Int_t TRotMatrix::GetType | ( | ) | const [inline, virtual] |
Definition at line 58 of file TRotMatrix.h.
References fType.
Referenced by TGeometry::UpdateTempMatrix().
virtual Double_t TRotMatrix::GetTheta | ( | ) | const [inline, virtual] |
virtual Double_t TRotMatrix::GetPhi | ( | ) | const [inline, virtual] |
virtual Double_t TRotMatrix::GetPsi | ( | ) | const [inline, virtual] |
virtual Bool_t TRotMatrix::IsReflection | ( | ) | const [inline, virtual] |
Definition at line 63 of file TRotMatrix.h.
References kReflection, and TObject::TestBit().
Referenced by TNode::DistancetoPrimitive(), TNode::Paint(), TVolumePosition::UpdatePosition(), and TGeometry::UpdateTempMatrix().
const Double_t * TRotMatrix::SetAngles | ( | Double_t | theta1, | |
Double_t | phi1, | |||
Double_t | theta2, | |||
Double_t | phi2, | |||
Double_t | theta3, | |||
Double_t | phi3 | |||
) | [virtual] |
Definition at line 170 of file TRotMatrix.cxx.
References TMath::Cos(), fMatrix, fPhi, fPsi, fTheta, fType, TNamed::GetName(), SetReflection(), and TMath::Sin().
Referenced by TRotMatrix().
void TRotMatrix::SetMatrix | ( | const Double_t * | matrix | ) | [virtual] |
Definition at line 212 of file TRotMatrix.cxx.
References fMatrix, fPhi, fPsi, fTheta, fType, and SetReflection().
Referenced by TVolume::GetIdentity(), TRotMatrix(), and TVolumeView::TVolumeView().
void TRotMatrix::SetName | ( | const char * | name | ) | [inline, virtual] |
Reimplemented from TNamed.
Definition at line 71 of file TRotMatrix.h.
Referenced by TVolume::GetIdentity().
virtual void TRotMatrix::SetReflection | ( | ) | [private, virtual] |
virtual Double_t TRotMatrix::Determinant | ( | ) | const [virtual] |
virtual Double_t* TRotMatrix::GetMatrix | ( | ) | [inline, virtual] |
virtual Int_t TRotMatrix::GetNumber | ( | ) | const [inline, virtual] |
virtual Int_t TRotMatrix::GetType | ( | ) | const [inline, virtual] |
virtual Double_t TRotMatrix::GetTheta | ( | ) | const [inline, virtual] |
virtual Double_t TRotMatrix::GetPhi | ( | ) | const [inline, virtual] |
virtual Double_t TRotMatrix::GetPsi | ( | ) | const [inline, virtual] |
virtual Bool_t TRotMatrix::IsReflection | ( | ) | const [inline, virtual] |
virtual const Double_t* TRotMatrix::SetAngles | ( | Double_t | theta1, | |
Double_t | phi1, | |||
Double_t | theta2, | |||
Double_t | phi2, | |||
Double_t | theta3, | |||
Double_t | phi3 | |||
) | [virtual] |
virtual void TRotMatrix::SetMatrix | ( | const Double_t * | matrix | ) | [virtual] |
virtual void TRotMatrix::SetName | ( | const char * | name | ) | [virtual] |
Reimplemented from TNamed.
Int_t TRotMatrix::fNumber [protected] |
Int_t TRotMatrix::fType [protected] |
Definition at line 36 of file TRotMatrix.h.
Referenced by GetType(), SetAngles(), SetMatrix(), SetReflection(), and TRotMatrix().
Double_t TRotMatrix::fTheta [protected] |
Definition at line 37 of file TRotMatrix.h.
Referenced by GetTheta(), SetAngles(), SetMatrix(), and TRotMatrix().
Double_t TRotMatrix::fPhi [protected] |
Definition at line 38 of file TRotMatrix.h.
Referenced by GetPhi(), SetAngles(), SetMatrix(), and TRotMatrix().
Double_t TRotMatrix::fPsi [protected] |
Definition at line 39 of file TRotMatrix.h.
Referenced by GetPsi(), SetAngles(), SetMatrix(), and TRotMatrix().
Double_t TRotMatrix::fMatrix [protected] |
Definition at line 40 of file TRotMatrix.h.
Referenced by Determinant(), GetGLMatrix(), GetMatrix(), TGeometry::operator=(), TNode::operator=(), SetAngles(), SetMatrix(), and TRotMatrix().