Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
|
#include <Rotation.h>
Classes | |
class | HepRotation_row |
Static Public Member Functions | |
static double | getTolerance () |
static double | setTolerance (double tol) |
Static Public Attributes | |
static DLL_API const HepRotation | IDENTITY |
Protected Member Functions | |
HepRotation (double mxx, double mxy, double mxz, double myx, double myy, double myz, double mzx, double mzy, double mzz) | |
Protected Attributes | |
double | rxx |
double | rxy |
double | rxz |
double | ryx |
double | ryy |
double | ryz |
double | rzx |
double | rzy |
double | rzz |
Friends | |
HepRotation | operator* (const HepRotationX &rx, const HepRotation &r) |
HepRotation | operator* (const HepRotationY &ry, const HepRotation &r) |
HepRotation | operator* (const HepRotationZ &rz, const HepRotation &r) |
Definition at line 42 of file Rotation.h.
|
inline |
Referenced by rotateAxes().
|
inline |
|
inlinedefault |
|
inline |
|
inline |
|
inline |
CLHEP::HepRotation::HepRotation | ( | const Hep3Vector & | axis, |
double | delta | ||
) |
Definition at line 50 of file RotationA.cc.
CLHEP::HepRotation::HepRotation | ( | const HepAxisAngle & | ax | ) |
Definition at line 57 of file RotationA.cc.
CLHEP::HepRotation::HepRotation | ( | double | phi, |
double | theta, | ||
double | psi | ||
) |
Definition at line 54 of file RotationE.cc.
CLHEP::HepRotation::HepRotation | ( | const HepEulerAngles & | e | ) |
Definition at line 61 of file RotationE.cc.
CLHEP::HepRotation::HepRotation | ( | const Hep3Vector & | colX, |
const Hep3Vector & | colY, | ||
const Hep3Vector & | colZ | ||
) |
Definition at line 132 of file RotationC.cc.
|
inline |
|
inline |
|
inlineprotected |
Hep3Vector CLHEP::HepRotation::axis | ( | ) | const |
Definition at line 75 of file RotationA.cc.
Referenced by axisAngle(), rectify(), and setDelta().
HepAxisAngle CLHEP::HepRotation::axisAngle | ( | ) | const |
Definition at line 120 of file RotationA.cc.
Referenced by CLHEP::HepLorentzRotation::decompose(), and decompose().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
int CLHEP::HepRotation::compare | ( | const HepRotation & | r | ) | const |
Definition at line 173 of file Rotation.cc.
void CLHEP::HepRotation::decompose | ( | Hep3Vector & | boost, |
HepAxisAngle & | rotation | ||
) | const |
Definition at line 24 of file RotationP.cc.
void CLHEP::HepRotation::decompose | ( | HepAxisAngle & | rotation, |
Hep3Vector & | boost | ||
) | const |
Definition at line 19 of file RotationP.cc.
double CLHEP::HepRotation::delta | ( | ) | const |
Definition at line 62 of file RotationA.cc.
Referenced by axisAngle(), rectify(), and setAxis().
double CLHEP::HepRotation::distance2 | ( | const HepBoost & | lt | ) | const |
Definition at line 35 of file RotationL.cc.
double CLHEP::HepRotation::distance2 | ( | const HepLorentzRotation & | lt | ) | const |
Definition at line 25 of file RotationL.cc.
double CLHEP::HepRotation::distance2 | ( | const HepRotation & | r | ) | const |
Definition at line 29 of file RotationP.cc.
Referenced by distance2(), CLHEP::HepLorentzRotation::distance2(), howNear(), isNear(), and CLHEP::HepLorentzRotation::isNear().
HepEulerAngles CLHEP::HepRotation::eulerAngles | ( | ) | const |
Definition at line 198 of file RotationE.cc.
void CLHEP::HepRotation::getAngleAxis | ( | double & | delta, |
Hep3Vector & | axis | ||
) | const |
Definition at line 148 of file Rotation.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
double CLHEP::HepRotation::howNear | ( | const HepBoost & | lt | ) | const |
Definition at line 43 of file RotationL.cc.
double CLHEP::HepRotation::howNear | ( | const HepLorentzRotation & | lt | ) | const |
Definition at line 39 of file RotationL.cc.
double CLHEP::HepRotation::howNear | ( | const HepRotation & | r | ) | const |
Definition at line 37 of file RotationP.cc.
|
inline |
Referenced by G4GMocrenFileSceneHandler::AddPrimitive(), G4GMocrenFileSceneHandler::AddSolid(), G4INCLXXInterface::ApplyYourself(), G4ReflectedSolid::BoundingLimits(), G4ReflectedSolid::CalculateExtent(), G4ScaledSolid::CalculateExtent(), G4NavigationLogger::CheckAndReportBadNormal(), G4ParameterisedNavigation::ComputeStep(), G4VoxelNavigation::ComputeStep(), G4ReplicaNavigation::ComputeStep(), G4NormalNavigation::ComputeStep(), G4NRESP71M03::DKINMA(), G4tgbGeometryDumper::DumpPVPlacement(), G4GMocrenFileSceneHandler::EndSavingGdd(), G4DisplacedSolid::G4DisplacedSolid(), G4ErrorCylSurfaceTarget::G4ErrorCylSurfaceTarget(), G4PVPlacement::G4PVPlacement(), G4TwistTubsFlatSide::G4TwistTubsFlatSide(), G4TQuadrupoleMagField::GetFieldValue(), G4QuadrupoleMagField::GetFieldValue(), G4VPhysicalVolume::GetObjectRotation(), G4TwistTubsHypeSide::GetRhoAtPZ(), G4TwistTubsSide::ProjectAtPXPZ(), G4LogicalCrystalVolume::SetMillerOrientation(), and G4GDMLWriteStructure::TraverseVolumeTree().
|
inline |
Referenced by G4LatticePhysical::SetPhysicalOrientation(), and setRows().
bool CLHEP::HepRotation::isIdentity | ( | ) | const |
bool CLHEP::HepRotation::isNear | ( | const HepBoost & | lt, |
double | epsilon = Hep4RotationInterface::tolerance |
||
) | const |
Definition at line 52 of file RotationL.cc.
bool CLHEP::HepRotation::isNear | ( | const HepLorentzRotation & | lt, |
double | epsilon = Hep4RotationInterface::tolerance |
||
) | const |
Definition at line 47 of file RotationL.cc.
bool CLHEP::HepRotation::isNear | ( | const HepRotation & | r, |
double | epsilon = Hep4RotationInterface::tolerance |
||
) | const |
Definition at line 41 of file RotationP.cc.
double CLHEP::HepRotation::norm2 | ( | ) | const |
Definition at line 46 of file RotationP.cc.
Referenced by CLHEP::HepLorentzRotation::distance2(), CLHEP::HepBoost::distance2(), CLHEP::HepBoostX::distance2(), CLHEP::HepBoostY::distance2(), CLHEP::HepBoostZ::distance2(), CLHEP::HepLorentzRotation::isNear(), CLHEP::HepBoost::isNear(), CLHEP::HepBoostX::isNear(), CLHEP::HepBoostY::isNear(), CLHEP::HepBoostZ::isNear(), and CLHEP::HepLorentzRotation::norm2().
|
inline |
|
inline |
|
inline |
double CLHEP::HepRotation::operator() | ( | int | i, |
int | j | ||
) | const |
Definition at line 23 of file Rotation.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinedefault |
|
inline |
|
inline |
|
inline |
|
inline |
double CLHEP::HepRotation::phi | ( | ) | const |
Definition at line 67 of file RotationE.cc.
Referenced by setPsi(), and setTheta().
double CLHEP::HepRotation::phiX | ( | ) | const |
Definition at line 124 of file Rotation.cc.
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4tgbGeometryDumper::DumpRotationMatrix(), and operator<<().
double CLHEP::HepRotation::phiY | ( | ) | const |
Definition at line 128 of file Rotation.cc.
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4tgbGeometryDumper::DumpRotationMatrix(), and operator<<().
double CLHEP::HepRotation::phiZ | ( | ) | const |
Definition at line 132 of file Rotation.cc.
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4tgbGeometryDumper::DumpRotationMatrix(), and operator<<().
std::ostream & CLHEP::HepRotation::print | ( | std::ostream & | os | ) | const |
Definition at line 17 of file RotationIO.cc.
Referenced by G4ReflectedSolid::StreamInfo(), and G4DisplacedSolid::StreamInfo().
double CLHEP::HepRotation::psi | ( | ) | const |
Definition at line 107 of file RotationE.cc.
Referenced by setPhi(), and setTheta().
void CLHEP::HepRotation::rectify | ( | ) |
Definition at line 149 of file RotationC.cc.
Referenced by CLHEP::HepLorentzRotation::decompose(), G4GDMLWriteDefine::GetAngles(), G4GDMLReadDefine::GetRotationMatrix(), and CLHEP::HepLorentzRotation::rectify().
|
inline |
|
inline |
Referenced by CLHEP::HepBoost::operator*(), CLHEP::operator*(), and CLHEP::HepLorentzRotation::set().
HepRotation & CLHEP::HepRotation::rotate | ( | double | delta, |
const Hep3Vector & | axis | ||
) |
Definition at line 42 of file Rotation.cc.
Referenced by G4tgbPlaceParamCircle::ComputeTransformation(), and CLHEP::Hep3Vector::rotate().
|
inline |
HepRotation & CLHEP::HepRotation::rotateAxes | ( | const Hep3Vector & | newX, |
const Hep3Vector & | newY, | ||
const Hep3Vector & | newZ | ||
) |
Definition at line 100 of file Rotation.cc.
HepRotation & CLHEP::HepRotation::rotateX | ( | double | delta | ) |
Definition at line 61 of file Rotation.cc.
Referenced by G4tgbRotationMatrix::BuildG4RotMatrixFrom3(), G4tgrUtils::GetRotationFromDirection(), G4GDMLReadDefine::GetRotationMatrix(), G4GDMLReadParamvol::ParametersRead(), and G4VScoringMesh::RotateX().
HepRotation & CLHEP::HepRotation::rotateY | ( | double | delta | ) |
Definition at line 74 of file Rotation.cc.
Referenced by G4INCLXXInterface::ApplyYourself(), G4tgbRotationMatrix::BuildG4RotMatrixFrom3(), G4NeutronBetaDecayChannel::DecayIt(), G4tgrUtils::GetRotationFromDirection(), G4GDMLReadDefine::GetRotationMatrix(), G4GDMLReadParamvol::ParametersRead(), G4VScoringMesh::RotateY(), and G4LogicalCrystalVolume::SetMillerOrientation().
HepRotation & CLHEP::HepRotation::rotateZ | ( | double | delta | ) |
Definition at line 87 of file Rotation.cc.
Referenced by G4VTwistSurface::AmIOnLeftSide(), G4INCLXXInterface::ApplyYourself(), G4tgbRotationMatrix::BuildG4RotMatrixFrom3(), G4VDivisionParameterisation::ChangeRotMatrix(), G4NeutronBetaDecayChannel::DecayIt(), G4TwistBoxSide::G4TwistBoxSide(), G4TwistTrapAlphaSide::G4TwistTrapAlphaSide(), G4TwistTrapFlatSide::G4TwistTrapFlatSide(), G4TwistTrapParallelSide::G4TwistTrapParallelSide(), G4TwistTubsFlatSide::G4TwistTubsFlatSide(), G4TwistTubsSide::G4TwistTubsSide(), G4GDMLReadDefine::GetRotationMatrix(), G4GDMLReadParamvol::ParametersRead(), G4VScoringMesh::RotateZ(), G4LogicalCrystalVolume::SetMillerOrientation(), and G4PhysicalVolumeModel::VisitGeometryAndGetVisReps().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by G4TQuadrupoleMagField::GetFieldValue().
|
inline |
Referenced by G4TQuadrupoleMagField::GetFieldValue().
|
inline |
Referenced by G4TQuadrupoleMagField::GetFieldValue().
HepRotation & CLHEP::HepRotation::set | ( | const Hep3Vector & | axis, |
double | delta | ||
) |
Definition at line 23 of file RotationA.cc.
Referenced by G4MuonDecayChannel::DecayIt(), CLHEP::HepLorentzRotation::decompose(), HepRotation(), rectify(), set(), setAxis(), setDelta(), setPhi(), setPsi(), setRows(), and setTheta().
HepRotation & CLHEP::HepRotation::set | ( | const Hep3Vector & | colX, |
const Hep3Vector & | colY, | ||
const Hep3Vector & | colZ | ||
) |
Definition at line 70 of file RotationC.cc.
HepRotation & CLHEP::HepRotation::set | ( | const HepAxisAngle & | ax | ) |
Definition at line 54 of file RotationA.cc.
HepRotation & CLHEP::HepRotation::set | ( | const HepEulerAngles & | e | ) |
Definition at line 58 of file RotationE.cc.
|
inline |
|
inline |
|
inline |
|
inline |
HepRotation & CLHEP::HepRotation::set | ( | double | phi, |
double | theta, | ||
double | psi | ||
) |
Definition at line 32 of file RotationE.cc.
void CLHEP::HepRotation::setAxis | ( | const Hep3Vector & | axis | ) |
Definition at line 127 of file RotationA.cc.
void CLHEP::HepRotation::setDelta | ( | double | delta | ) |
Definition at line 131 of file RotationA.cc.
void CLHEP::HepRotation::setPhi | ( | double | phi | ) |
Definition at line 259 of file RotationE.cc.
Referenced by G4GMocrenTouchable::GetRotation().
void CLHEP::HepRotation::setPsi | ( | double | psi | ) |
Definition at line 267 of file RotationE.cc.
HepRotation & CLHEP::HepRotation::setRows | ( | const Hep3Vector & | rowX, |
const Hep3Vector & | rowY, | ||
const Hep3Vector & | rowZ | ||
) |
Definition at line 139 of file RotationC.cc.
void CLHEP::HepRotation::setTheta | ( | double | theta | ) |
Definition at line 263 of file RotationE.cc.
|
inlinestatic |
double CLHEP::HepRotation::theta | ( | ) | const |
Definition at line 101 of file RotationE.cc.
double CLHEP::HepRotation::thetaX | ( | ) | const |
Definition at line 136 of file Rotation.cc.
Referenced by G4tgbGeometryDumper::DumpRotationMatrix(), and operator<<().
double CLHEP::HepRotation::thetaY | ( | ) | const |
Definition at line 140 of file Rotation.cc.
Referenced by G4tgbGeometryDumper::DumpRotationMatrix(), and operator<<().
double CLHEP::HepRotation::thetaZ | ( | ) | const |
Definition at line 144 of file Rotation.cc.
Referenced by G4tgbGeometryDumper::DumpRotationMatrix(), and operator<<().
|
inline |
Referenced by rotate(), and rotateAxes().
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by CLHEP::operator*().
|
inline |
Referenced by CLHEP::operator*().
|
inline |
Referenced by CLHEP::operator*().
|
inline |
Referenced by CLHEP::operator*().
|
inline |
Referenced by CLHEP::operator*().
|
inline |
Referenced by CLHEP::HepRotationX::distance2(), CLHEP::HepRotationY::distance2(), CLHEP::HepRotationZ::distance2(), G4tgrUtils::Dumprm(), G4tgbGeometryDumper::DumpRotationMatrix(), getAngleAxis(), G4GDMLWriteDefine::GetAngles(), G4VScoringMesh::List(), operator()(), CLHEP::operator*(), phiX(), and print().
|
inline |
|
inline |
|
inline |
Referenced by CLHEP::operator*().
|
inline |
|
inline |
Referenced by CLHEP::HepRotationX::distance2(), CLHEP::HepRotationY::distance2(), CLHEP::HepRotationZ::distance2(), G4tgrUtils::Dumprm(), G4tgbGeometryDumper::DumpRotationMatrix(), getAngleAxis(), G4GDMLWriteDefine::GetAngles(), G4VScoringMesh::List(), operator()(), CLHEP::operator*(), phiY(), and print().
|
inline |
|
inline |
Referenced by CLHEP::operator*().
|
inline |
|
inline |
|
inline |
Referenced by CLHEP::HepRotationX::distance2(), CLHEP::HepRotationY::distance2(), CLHEP::HepRotationZ::distance2(), G4tgrUtils::Dumprm(), G4tgbGeometryDumper::DumpRotationMatrix(), getAngleAxis(), G4GDMLWriteDefine::GetAngles(), G4VScoringMesh::List(), operator()(), CLHEP::operator*(), print(), and thetaZ().
|
friend |
|
friend |
|
friend |
|
static |
Definition at line 366 of file Rotation.h.
Referenced by G4VScoringMesh::GetRotationMatrix(), G4AssemblyVolume::MakeImprint(), G4LogicalCrystalVolume::SetMillerOrientation(), and G4LatticePhysical::SetPhysicalOrientation().
|
protected |
Definition at line 385 of file Rotation.h.
Referenced by axis(), compare(), delta(), distance2(), eulerAngles(), G3toG4RotationMatrix::G3toG4RotationMatrix(), isIdentity(), norm2(), rectify(), rotateY(), rotateZ(), set(), G3toG4RotationMatrix::SetRotationMatrixByCol(), and G3toG4RotationMatrix::SetRotationMatrixByRow().
|
protected |
Definition at line 385 of file Rotation.h.
Referenced by axis(), compare(), distance2(), eulerAngles(), G3toG4RotationMatrix::G3toG4RotationMatrix(), isIdentity(), rectify(), rotateY(), rotateZ(), set(), G3toG4RotationMatrix::SetRotationMatrixByCol(), and G3toG4RotationMatrix::SetRotationMatrixByRow().
|
protected |
Definition at line 385 of file Rotation.h.
Referenced by axis(), compare(), distance2(), eulerAngles(), G3toG4RotationMatrix::G3toG4RotationMatrix(), isIdentity(), psi(), rectify(), rotateY(), rotateZ(), set(), G3toG4RotationMatrix::SetRotationMatrixByCol(), and G3toG4RotationMatrix::SetRotationMatrixByRow().
|
protected |
Definition at line 386 of file Rotation.h.
Referenced by axis(), compare(), distance2(), eulerAngles(), G3toG4RotationMatrix::G3toG4RotationMatrix(), isIdentity(), rectify(), rotateX(), rotateZ(), set(), G3toG4RotationMatrix::SetRotationMatrixByCol(), and G3toG4RotationMatrix::SetRotationMatrixByRow().
|
protected |
Definition at line 386 of file Rotation.h.
Referenced by axis(), compare(), delta(), distance2(), eulerAngles(), G3toG4RotationMatrix::G3toG4RotationMatrix(), isIdentity(), norm2(), rectify(), rotateX(), rotateZ(), set(), G3toG4RotationMatrix::SetRotationMatrixByCol(), and G3toG4RotationMatrix::SetRotationMatrixByRow().
|
protected |
Definition at line 386 of file Rotation.h.
Referenced by axis(), compare(), distance2(), eulerAngles(), G3toG4RotationMatrix::G3toG4RotationMatrix(), isIdentity(), psi(), rectify(), rotateX(), rotateZ(), set(), G3toG4RotationMatrix::SetRotationMatrixByCol(), and G3toG4RotationMatrix::SetRotationMatrixByRow().
|
protected |
Definition at line 387 of file Rotation.h.
Referenced by axis(), compare(), distance2(), eulerAngles(), G3toG4RotationMatrix::G3toG4RotationMatrix(), isIdentity(), phi(), rectify(), rotateX(), rotateY(), set(), G3toG4RotationMatrix::SetRotationMatrixByCol(), and G3toG4RotationMatrix::SetRotationMatrixByRow().
|
protected |
Definition at line 387 of file Rotation.h.
Referenced by axis(), compare(), distance2(), eulerAngles(), G3toG4RotationMatrix::G3toG4RotationMatrix(), isIdentity(), phi(), rectify(), rotateX(), rotateY(), set(), G3toG4RotationMatrix::SetRotationMatrixByCol(), and G3toG4RotationMatrix::SetRotationMatrixByRow().
|
protected |
Definition at line 387 of file Rotation.h.
Referenced by axis(), compare(), delta(), distance2(), eulerAngles(), G3toG4RotationMatrix::G3toG4RotationMatrix(), isIdentity(), norm2(), phi(), psi(), rectify(), rotateX(), rotateY(), set(), G3toG4RotationMatrix::SetRotationMatrixByCol(), G3toG4RotationMatrix::SetRotationMatrixByRow(), and theta().