EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/geobase/FairGeoTransform.h>
Public Member Functions | |
FairGeoTransform () | |
FairGeoTransform (const FairGeoTransform &t) | |
~FairGeoTransform () | |
FairGeoTransform & | operator= (const FairGeoTransform &t) |
const FairGeoRotation & | getRotMatrix () const |
const FairGeoVector & | getTransVector () const |
void | setRotMatrix (const FairGeoRotation &r) |
void | setRotMatrix (const Double_t *a) |
void | setRotMatrix (const Float_t *a) |
void | setTransVector (const FairGeoVector &t) |
void | setTransVector (const Double_t *a) |
void | setTransVector (const Float_t *a) |
FairGeoVector | transFrom (const FairGeoVector &p) const |
FairGeoVector | transTo (const FairGeoVector &p) const |
void | transFrom (const FairGeoTransform &) |
void | transTo (const FairGeoTransform &) |
void | invert (void) |
void | clear () |
void | print () |
const FairGeoVector & | getTranslation () |
const FairGeoRotation & | getRotation () const |
void | setTransform (const FairGeoTransform &t) |
Protected Attributes | |
FairGeoRotation | rot |
FairGeoVector | trans |
FairGeoVector | trans_cm |
basic geometry transformation class
Definition at line 10 of file FairGeoTransform.h.
View newest version in sPHENIX GitHub at line 10 of file FairGeoTransform.h
FairGeoTransform::FairGeoTransform | ( | ) |
translation vector, describing the position in cm
|
inline |
Definition at line 48 of file FairGeoTransform.h.
View newest version in sPHENIX GitHub at line 48 of file FairGeoTransform.h
|
inline |
Definition at line 19 of file FairGeoTransform.h.
View newest version in sPHENIX GitHub at line 19 of file FairGeoTransform.h
void FairGeoTransform::clear | ( | void | ) |
Definition at line 117 of file FairGeoTransform.cxx.
View newest version in sPHENIX GitHub at line 117 of file FairGeoTransform.cxx
References FairGeoVector::clear(), rot, FairGeoRotation::setUnitMatrix(), and trans.
Referenced by FairGeoBrik::calcVoluPosition(), FairGeoTube::calcVoluPosition(), FairGeoTubs::calcVoluPosition(), FairGeoCone::calcVoluPosition(), FairGeoSphe::calcVoluPosition(), FairGeoPgon::calcVoluPosition(), FairGeoPcon::calcVoluPosition(), FairGeoEltu::calcVoluPosition(), FairGeoCons::calcVoluPosition(), and FairGeoVolume::clear().
|
inline |
Definition at line 42 of file FairGeoTransform.h.
View newest version in sPHENIX GitHub at line 42 of file FairGeoTransform.h
References rot.
|
inline |
Definition at line 21 of file FairGeoTransform.h.
View newest version in sPHENIX GitHub at line 21 of file FairGeoTransform.h
References rot.
Referenced by FairGeoNode::compare(), FairGeoRootBuilder::createNode(), CbmRichHitProducer::Init(), CbmRichProjectionProducer::Init(), CbmRichGeoTest::Init(), operator=(), FairGeoBasicShape::posInMother(), FairGeoNode::print(), setTransform(), transFrom(), transTo(), and FairGeoNode::write().
|
inline |
Definition at line 36 of file FairGeoTransform.h.
View newest version in sPHENIX GitHub at line 36 of file FairGeoTransform.h
References trans, and trans_cm.
Referenced by CbmRichHitProducer::Init(), CbmRichProjectionProducer::Init(), CbmRichTestHits::Init(), CbmRichTestSim::Init(), and CbmRichGeoTest::Init().
|
inline |
Definition at line 22 of file FairGeoTransform.h.
View newest version in sPHENIX GitHub at line 22 of file FairGeoTransform.h
References trans.
Referenced by FairGeoNode::calcRefPos(), FairGeoNode::compare(), FairGeoRootBuilder::createNode(), operator=(), FairGeoBasicShape::posInMother(), FairGeoNode::print(), setTransform(), transFrom(), transTo(), and FairGeoNode::write().
void FairGeoTransform::invert | ( | void | ) |
Definition at line 129 of file FairGeoTransform.cxx.
View newest version in sPHENIX GitHub at line 129 of file FairGeoTransform.cxx
References FairGeoRotation::invert(), rot, and trans.
FairGeoTransform & FairGeoTransform::operator= | ( | const FairGeoTransform & | t | ) |
Definition at line 56 of file FairGeoTransform.cxx.
View newest version in sPHENIX GitHub at line 56 of file FairGeoTransform.cxx
References getRotMatrix(), getTransVector(), rot, and trans.
void FairGeoTransform::print | ( | ) |
Definition at line 123 of file FairGeoTransform.cxx.
View newest version in sPHENIX GitHub at line 123 of file FairGeoTransform.cxx
References FairGeoRotation::print(), FairGeoVector::print(), rot, and trans.
Referenced by FairGeoVolume::print().
|
inline |
Definition at line 23 of file FairGeoTransform.h.
View newest version in sPHENIX GitHub at line 23 of file FairGeoTransform.h
References rot.
Referenced by FairGeoTrap::calcVoluPosition(), FairGeoTrd1::calcVoluPosition(), FairGeoBasicShape::posInMother(), FairGeoOldAsciiIo::read(), and FairGeoSet::readTransform().
|
inline |
Definition at line 24 of file FairGeoTransform.h.
View newest version in sPHENIX GitHub at line 24 of file FairGeoTransform.h
References rot, and FairGeoRotation::setMatrix().
|
inline |
Definition at line 25 of file FairGeoTransform.h.
View newest version in sPHENIX GitHub at line 25 of file FairGeoTransform.h
References rot, and FairGeoRotation::setMatrix().
|
inline |
Definition at line 57 of file FairGeoTransform.h.
View newest version in sPHENIX GitHub at line 57 of file FairGeoTransform.h
References getRotMatrix(), getTransVector(), rot, and trans.
Referenced by FairGeoNode::getPosition(), and FairGeoNode::setLabTransform().
|
inline |
Definition at line 26 of file FairGeoTransform.h.
View newest version in sPHENIX GitHub at line 26 of file FairGeoTransform.h
Referenced by FairGeoAssembly::calcVoluPosition(), FairGeoTubs::calcVoluPosition(), FairGeoTorus::calcVoluPosition(), FairGeoBrik::calcVoluPosition(), FairGeoTube::calcVoluPosition(), FairGeoTrap::calcVoluPosition(), FairGeoTrd1::calcVoluPosition(), FairGeoCone::calcVoluPosition(), FairGeoEltu::calcVoluPosition(), FairGeoCons::calcVoluPosition(), FairGeoBasicShape::posInMother(), FairGeoOldAsciiIo::read(), and FairGeoSet::readTransform().
|
inline |
Definition at line 27 of file FairGeoTransform.h.
View newest version in sPHENIX GitHub at line 27 of file FairGeoTransform.h
References FairGeoVector::setVector(), and trans.
|
inline |
Definition at line 28 of file FairGeoTransform.h.
View newest version in sPHENIX GitHub at line 28 of file FairGeoTransform.h
References FairGeoVector::setVector(), and trans.
FairGeoVector FairGeoTransform::transFrom | ( | const FairGeoVector & | p | ) | const |
Definition at line 65 of file FairGeoTransform.cxx.
View newest version in sPHENIX GitHub at line 65 of file FairGeoTransform.cxx
Referenced by FairGeoNode::calcLabTransform(), FairGeoNode::calcModuleTransform(), FairGeoNode::calcRefPos(), and FairGeoBasicShape::posInMother().
void FairGeoTransform::transFrom | ( | const FairGeoTransform & | s | ) |
Definition at line 104 of file FairGeoTransform.cxx.
View newest version in sPHENIX GitHub at line 104 of file FairGeoTransform.cxx
References getRotMatrix(), getTransVector(), rot, trans, and FairGeoRotation::transform().
FairGeoVector FairGeoTransform::transTo | ( | const FairGeoVector & | p | ) | const |
Definition at line 76 of file FairGeoTransform.cxx.
View newest version in sPHENIX GitHub at line 76 of file FairGeoTransform.cxx
References FairGeoRotation::inverse(), rot, and trans.
Referenced by FairGeoBasicShape::posInMother(), and FairGeoNode::setLabTransform().
void FairGeoTransform::transTo | ( | const FairGeoTransform & | s | ) |
Definition at line 87 of file FairGeoTransform.cxx.
View newest version in sPHENIX GitHub at line 87 of file FairGeoTransform.cxx
References FairGeoRotation::diff2(), getRotMatrix(), getTransVector(), FairGeoRotation::inverse(), rot, FairGeoRotation::setUnitMatrix(), trans, and FairGeoRotation::transform().
|
protected |
Definition at line 13 of file FairGeoTransform.h.
View newest version in sPHENIX GitHub at line 13 of file FairGeoTransform.h
Referenced by clear(), getRotation(), getRotMatrix(), invert(), operator=(), print(), setRotMatrix(), setTransform(), transFrom(), and transTo().
|
protected |
rotation matrix, describing the orientation
Definition at line 14 of file FairGeoTransform.h.
View newest version in sPHENIX GitHub at line 14 of file FairGeoTransform.h
Referenced by clear(), getTranslation(), getTransVector(), invert(), operator=(), print(), setTransform(), setTransVector(), transFrom(), and transTo().
|
protected |
translation vector, describing the position
Definition at line 15 of file FairGeoTransform.h.
View newest version in sPHENIX GitHub at line 15 of file FairGeoTransform.h
Referenced by getTranslation().