#include <TGLUtil.h>
Definition at line 617 of file TGLUtil.h.
TGLMatrix::TGLMatrix | ( | ) |
TGLMatrix::TGLMatrix | ( | const TGLVertex3 & | translation | ) |
TGLMatrix::TGLMatrix | ( | const TGLVertex3 & | origin, | |
const TGLVector3 & | zAxis, | |||
const TGLVector3 & | xAxis | |||
) |
TGLMatrix::TGLMatrix | ( | const TGLVertex3 & | origin, | |
const TGLVector3 & | zAxis | |||
) |
Definition at line 635 of file TGLUtil.cxx.
References TMath::Abs(), Cross(), TGLVector3::Normalise(), Set(), TGLVertex3::Set(), SetIdentity(), TGLVertex3::X(), TGLVertex3::Y(), and TGLVertex3::Z().
TGLMatrix::TGLMatrix | ( | const Double_t | vals[16] | ) |
TGLMatrix::TGLMatrix | ( | const TGLMatrix & | other | ) |
Definition at line 677 of file TGLUtil.cxx.
TGLMatrix::~TGLMatrix | ( | ) | [virtual] |
Definition at line 684 of file TGLUtil.cxx.
TGLMatrix::TGLMatrix | ( | ) |
TGLMatrix::TGLMatrix | ( | const TGLVertex3 & | translation | ) |
TGLMatrix::TGLMatrix | ( | const TGLVertex3 & | origin, | |
const TGLVector3 & | zAxis, | |||
const TGLVector3 & | xAxis | |||
) |
TGLMatrix::TGLMatrix | ( | const TGLVertex3 & | origin, | |
const TGLVector3 & | zAxis | |||
) |
TGLMatrix::TGLMatrix | ( | const Double_t | vals[16] | ) |
TGLMatrix::TGLMatrix | ( | const TGLMatrix & | other | ) |
virtual TGLMatrix::~TGLMatrix | ( | ) | [virtual] |
void TGLMatrix::MultRight | ( | const TGLMatrix & | rhs | ) |
Definition at line 690 of file TGLUtil.cxx.
References B, C, c, fVals, and T.
Referenced by operator *=().
void TGLMatrix::MultLeft | ( | const TGLMatrix & | lhs | ) |
void TGLMatrix::Set | ( | const TGLVertex3 & | origin, | |
const TGLVector3 & | zAxis, | |||
const TGLVector3 & | xAxis = 0 | |||
) |
Definition at line 722 of file TGLUtil.cxx.
References Cross(), fVals, TGLVector3::Normalise(), TGLVertex3::X(), TGLVertex3::Y(), and TGLVertex3::Z().
Referenced by operator=(), TGLPhysicalShape::SetTransform(), TGLCamera::TGLCamera(), and TGLMatrix().
void TGLMatrix::Set | ( | const Double_t | vals[16] | ) |
void TGLMatrix::SetIdentity | ( | ) |
Definition at line 752 of file TGLUtil.cxx.
References fVals.
Referenced by TGLOrthoCamera::Reset(), TGLPerspectiveCamera::Reset(), and TGLMatrix().
Definition at line 763 of file TGLUtil.cxx.
Referenced by TGLPhysicalShape::SetTranslation(), and TGLMatrix().
void TGLMatrix::SetTranslation | ( | const TGLVertex3 & | translation | ) |
void TGLMatrix::Translate | ( | const TGLVector3 & | vect | ) |
Definition at line 789 of file TGLUtil.cxx.
References fVals.
Referenced by TGLScenePad::AddHistoPhysical(), and TGLPhysicalShape::Translate().
Definition at line 799 of file TGLUtil.cxx.
Referenced by TGLOrthoCamera::Configure(), TGLPerspectiveCamera::Configure(), TGLCamera::Dolly(), TGLOrthoCamera::Reset(), TGLPerspectiveCamera::Reset(), TGLCamera::RotateRad(), TGLAutoRotator::Timeout(), and TGLCamera::Truck().
void TGLMatrix::Scale | ( | const TGLVector3 & | scale | ) |
Definition at line 819 of file TGLUtil.cxx.
References Error, fVals, and GetScale().
Referenced by TGLScenePad::AddHistoPhysical(), and TGLPhysicalShape::Scale().
void TGLMatrix::Rotate | ( | const TGLVertex3 & | pivot, | |
const TGLVector3 & | axis, | |||
Double_t | angle | |||
) |
Definition at line 853 of file TGLUtil.cxx.
References axis, c, TMath::Cos(), TGLVector3::Normalise(), s, TMath::Sin(), TGLVertex3::X(), x, TGLVertex3::Y(), y, and TGLVertex3::Z().
Referenced by TGLPhysicalShape::Rotate().
Definition at line 881 of file TGLUtil.cxx.
References c, cos(), TMath::Cos(), fVals, sin(), and TMath::Sin().
Referenced by TGLScenePad::AddHistoPhysical(), and TGLCamera::RotateRad().
Definition at line 899 of file TGLUtil.cxx.
References C, c, cos(), TMath::Cos(), fVals, sin(), and TMath::Sin().
Referenced by TGLCamera::RotateRad().
void TGLMatrix::TransformVertex | ( | TGLVertex3 & | vertex | ) | const |
void TGLMatrix::Transpose3x3 | ( | ) |
Definition at line 929 of file TGLUtil.cxx.
References fVals.
Referenced by TGLPhysicalShape::TGLPhysicalShape().
Double_t TGLMatrix::Invert | ( | ) |
Definition at line 954 of file TGLUtil.cxx.
References fVals, and Warning().
Referenced by TGLCamera::SetCenterVec(), and TGLCamera::SetExternalCenter().
TGLVector3 TGLMatrix::GetTranslation | ( | ) | const |
Definition at line 781 of file TGLUtil.cxx.
References fVals.
Referenced by TGLPerspectiveCamera::Apply(), TGLOrthoCamera::Apply(), TGLPhysicalShape::GetTranslation(), TGLCameraOverlay::RenderPlaneIntersect(), TEveLegoEventHandler::Rotate(), and TGLCamera::RotateRad().
TGLVector3 TGLMatrix::GetScale | ( | ) | const |
Definition at line 1079 of file TGLUtil.cxx.
Referenced by TGLPhysicalShape::GetScale(), and Scale().
Definition at line 752 of file TGLUtil.h.
Referenced by TGLCamera::SetCenterVec(), TGLCamera::SetCenterVecWarp(), and TGLCamera::SetExternalCenter().
void TGLMatrix::SetBaseVec | ( | Int_t | b, | |
const TGLVector3 & | v | |||
) | [inline] |
TGLVector3 TGLMatrix::GetBaseVec | ( | Int_t | b | ) | const [inline] |
Definition at line 773 of file TGLUtil.h.
References fVals.
Referenced by TGLPerspectiveCamera::Apply(), TGLOrthoCamera::Apply(), TEveCaloLegoGL::DirectDraw(), TGLCamera::GetTheta(), TGLCameraGuide::Render(), TGLCameraOverlay::RenderAxis(), TGLCameraOverlay::RenderBar(), TGLCameraOverlay::RenderPlaneIntersect(), TEveLegoEventHandler::Rotate(), TGLCamera::RotateRad(), TGLCameraOverlay::SetFrustum(), and TGLAutoRotator::Start().
void TGLMatrix::GetBaseVec | ( | Int_t | b, | |
TGLVector3 & | v | |||
) | const [inline] |
TGLVector3 TGLMatrix::Multiply | ( | const TGLVector3 & | v, | |
Double_t | w = 1 | |||
) | const |
TGLVector3 TGLMatrix::Rotate | ( | const TGLVector3 & | v | ) | const |
void TGLMatrix::MultiplyIP | ( | TGLVector3 & | v, | |
Double_t | w = 1 | |||
) | const |
void TGLMatrix::RotateIP | ( | TGLVector3 & | v | ) | const |
Definition at line 1068 of file TGLUtil.cxx.
References fVals.
Referenced by TGLCamera::GetTheta(), and TGLCamera::RotateRad().
const Double_t* TGLMatrix::CArr | ( | ) | const [inline] |
Definition at line 683 of file TGLUtil.h.
References fVals.
Referenced by TEveTextGL::DirectDraw(), TGLPhysicalShape::Draw(), TGLAxisPainterBox::SetAxis3DTitlePos(), TEveCaloLegoGL::SetAxis3DTitlePos(), TGLCamera::ViewportRect(), TGLCamera::ViewportToWorld(), and TGLCamera::WorldToViewport().
Double_t* TGLMatrix::Arr | ( | ) | [inline] |
Definition at line 684 of file TGLUtil.h.
References fVals.
Referenced by TGLPerspectiveCamera::Apply(), TGLOrthoCamera::Apply(), TEveCaloLegoGL::DrawAxis2D(), TEveCaloLegoGL::DrawAxis3D(), TGLAxisPainterBox::DrawAxis3D(), and TGLCamera::UpdateCache().
void TGLMatrix::Dump | ( | ) | const |
TGLMatrix::ClassDef | ( | TGLMatrix | , | |
0 | ||||
) |
void TGLMatrix::MultRight | ( | const TGLMatrix & | rhs | ) |
void TGLMatrix::MultLeft | ( | const TGLMatrix & | lhs | ) |
void TGLMatrix::Set | ( | const TGLVertex3 & | origin, | |
const TGLVector3 & | zAxis, | |||
const TGLVector3 & | xAxis = 0 | |||
) |
void TGLMatrix::Set | ( | const Double_t | vals[16] | ) |
void TGLMatrix::SetIdentity | ( | ) |
void TGLMatrix::SetTranslation | ( | const TGLVertex3 & | translation | ) |
void TGLMatrix::Translate | ( | const TGLVector3 & | vect | ) |
void TGLMatrix::Scale | ( | const TGLVector3 & | scale | ) |
void TGLMatrix::Rotate | ( | const TGLVertex3 & | pivot, | |
const TGLVector3 & | axis, | |||
Double_t | angle | |||
) |
void TGLMatrix::TransformVertex | ( | TGLVertex3 & | vertex | ) | const |
void TGLMatrix::Transpose3x3 | ( | ) |
Double_t TGLMatrix::Invert | ( | ) |
TGLVector3 TGLMatrix::GetTranslation | ( | ) | const |
TGLVector3 TGLMatrix::GetScale | ( | ) | const |
void TGLMatrix::SetBaseVec | ( | Int_t | b, | |
const TGLVector3 & | v | |||
) |
TGLVector3 TGLMatrix::GetBaseVec | ( | Int_t | b | ) | const |
void TGLMatrix::GetBaseVec | ( | Int_t | b, | |
TGLVector3 & | v | |||
) | const |
TGLVector3 TGLMatrix::Multiply | ( | const TGLVector3 & | v, | |
Double_t | w = 1 | |||
) | const |
TGLVector3 TGLMatrix::Rotate | ( | const TGLVector3 & | v | ) | const |
void TGLMatrix::MultiplyIP | ( | TGLVector3 & | v, | |
Double_t | w = 1 | |||
) | const |
void TGLMatrix::RotateIP | ( | TGLVector3 & | v | ) | const |
const Double_t* TGLMatrix::CArr | ( | ) | const [inline] |
void TGLMatrix::Dump | ( | ) | const |
TGLMatrix::ClassDef | ( | TGLMatrix | , | |
0 | ||||
) |
Double_t TGLMatrix::fVals [private] |
Definition at line 621 of file TGLUtil.h.
Referenced by Arr(), CArr(), Dump(), GetBaseVec(), GetScale(), GetTranslation(), Invert(), Move3LF(), MoveLF(), Multiply(), MultiplyIP(), MultLeft(), MultRight(), operator=(), operator[](), Rotate(), RotateIP(), RotateLF(), RotatePF(), Scale(), Set(), SetBaseVec(), SetIdentity(), SetTranslation(), TransformVertex(), Translate(), and Transpose3x3().