Geant4
10.01.p02
|
#include <UTransform3D.hh>
Public Member Functions | |
UTransform3D () | |
UTransform3D (double tx, double ty, double tz, double phi=0., double theta=0., double psi=0.) | |
UTransform3D (const UTransform3D &other) | |
~UTransform3D () | |
void | RotateX (double angle) |
void | RotateY (double angle) |
void | RotateZ (double angle) |
void | SetAngles (double phi, double theta, double psi) |
UVector3 | GlobalPoint (const UVector3 &local) const |
UVector3 | GlobalVector (const UVector3 &local) const |
UVector3 | LocalPoint (const UVector3 &global) const |
UVector3 | LocalVector (const UVector3 &global) const |
UTransform3D & | operator= (const UTransform3D &other) |
UTransform3D & | operator*= (const UTransform3D &other) |
UTransform3D & | operator*= (const UVector3 &vect) |
Public Attributes | |
UVector3 | fTr |
double | fRot [9] |
Definition at line 26 of file UTransform3D.hh.
UTransform3D::UTransform3D | ( | ) |
Definition at line 31 of file UTransform3D.cc.
References fRot, fTr, kIdRot, and UVector3::Set().
UTransform3D::UTransform3D | ( | double | tx, |
double | ty, | ||
double | tz, | ||
double | phi = 0. , |
||
double | theta = 0. , |
||
double | psi = 0. |
||
) |
Definition at line 39 of file UTransform3D.cc.
References fTr, UVector3::Set(), and SetAngles().
UTransform3D::UTransform3D | ( | const UTransform3D & | other | ) |
Definition at line 53 of file UTransform3D.cc.
|
inline |
Definition at line 34 of file UTransform3D.hh.
Definition at line 167 of file UTransform3D.cc.
References fRot, fTr, UVector3::x(), UVector3::y(), and UVector3::z().
Referenced by UMultiUnion::DistanceToOutNoVoxels(), UMultiUnion::GetPointOnSurface(), and UUtils::TransformLimits().
Definition at line 180 of file UTransform3D.cc.
References fRot, UVector3::x(), UVector3::y(), and UVector3::z().
Referenced by UMultiUnion::DistanceToOutVoxels(), and UMultiUnion::Normal().
Definition at line 194 of file UTransform3D.cc.
References fRot, fTr, local, UVector3::x(), UVector3::y(), and UVector3::z().
Referenced by UMultiUnion::DistanceToInCandidates(), UMultiUnion::DistanceToInNoVoxels(), UMultiUnion::DistanceToOutNoVoxels(), UMultiUnion::DistanceToOutVoxels(), UMultiUnion::InsideNoVoxels(), UMultiUnion::InsideWithExclusion(), UMultiUnion::Normal(), UMultiUnion::SafetyFromInside(), UMultiUnion::SafetyFromOutside(), and UMultiUnion::SafetyFromOutsideNumberNode().
Definition at line 208 of file UTransform3D.cc.
References fRot, local, UVector3::x(), UVector3::y(), and UVector3::z().
Referenced by UMultiUnion::DistanceToInCandidates(), UMultiUnion::DistanceToInNoVoxels(), UMultiUnion::DistanceToOutNoVoxels(), and UMultiUnion::DistanceToOutVoxels().
UTransform3D & UTransform3D::operator*= | ( | const UTransform3D & | other | ) |
Definition at line 222 of file UTransform3D.cc.
References fRot, fTr, kIdRot, UVector3::x(), UVector3::y(), and UVector3::z().
UTransform3D & UTransform3D::operator*= | ( | const UVector3 & | vect | ) |
Definition at line 244 of file UTransform3D.cc.
References fRot, fTr, UVector3::x(), UVector3::y(), and UVector3::z().
UTransform3D & UTransform3D::operator= | ( | const UTransform3D & | other | ) |
Definition at line 63 of file UTransform3D.cc.
void UTransform3D::RotateX | ( | double | angle | ) |
Definition at line 101 of file UTransform3D.cc.
References fRot, fTr, UUtils::kDegToRad, kIdRot, s, UVector3::Set(), UVector3::x(), UVector3::y(), and UVector3::z().
void UTransform3D::RotateY | ( | double | angle | ) |
Definition at line 123 of file UTransform3D.cc.
References fRot, fTr, UUtils::kDegToRad, kIdRot, s, UVector3::Set(), UVector3::x(), UVector3::y(), and UVector3::z().
void UTransform3D::RotateZ | ( | double | angle | ) |
Definition at line 145 of file UTransform3D.cc.
References fRot, fTr, UUtils::kDegToRad, kIdRot, s, UVector3::Set(), UVector3::x(), UVector3::y(), and UVector3::z().
void UTransform3D::SetAngles | ( | double | phi, |
double | theta, | ||
double | psi | ||
) |
Definition at line 72 of file UTransform3D.cc.
References fRot, and UUtils::kDegToRad.
Referenced by UTransform3D().
double UTransform3D::fRot[9] |
Definition at line 53 of file UTransform3D.hh.
Referenced by G4UMultiUnion::AddNode(), G4UMultiUnion::GetTransformation(), GlobalPoint(), GlobalVector(), LocalPoint(), LocalVector(), operator*=(), operator=(), RotateX(), RotateY(), RotateZ(), SetAngles(), UMultiUnion::StreamInfo(), and UTransform3D().
UVector3 UTransform3D::fTr |
Definition at line 52 of file UTransform3D.hh.
Referenced by G4UMultiUnion::AddNode(), G4UMultiUnion::GetTransformation(), GlobalPoint(), LocalPoint(), operator*=(), operator=(), RotateX(), RotateY(), RotateZ(), UMultiUnion::StreamInfo(), and UTransform3D().