EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairGeoTransform Class Reference

#include <EicRoot/blob/master/geobase/FairGeoTransform.h>

+ Inheritance diagram for FairGeoTransform:
+ Collaboration diagram for FairGeoTransform:

Public Member Functions

 FairGeoTransform ()
 
 FairGeoTransform (const FairGeoTransform &t)
 
 ~FairGeoTransform ()
 
FairGeoTransformoperator= (const FairGeoTransform &t)
 
const FairGeoRotationgetRotMatrix () const
 
const FairGeoVectorgetTransVector () 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 FairGeoVectorgetTranslation ()
 
const FairGeoRotationgetRotation () const
 
void setTransform (const FairGeoTransform &t)
 

Protected Attributes

FairGeoRotation rot
 
FairGeoVector trans
 
FairGeoVector trans_cm
 

Detailed Description

basic geometry transformation class

Author
Ilse koenig

Definition at line 10 of file FairGeoTransform.h.

View newest version in sPHENIX GitHub at line 10 of file FairGeoTransform.h

Constructor & Destructor Documentation

FairGeoTransform::FairGeoTransform ( )

translation vector, describing the position in cm

FairGeoTransform::FairGeoTransform ( const FairGeoTransform t)
inline

Definition at line 48 of file FairGeoTransform.h.

View newest version in sPHENIX GitHub at line 48 of file FairGeoTransform.h

FairGeoTransform::~FairGeoTransform ( )
inline

Definition at line 19 of file FairGeoTransform.h.

View newest version in sPHENIX GitHub at line 19 of file FairGeoTransform.h

Member Function Documentation

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const FairGeoRotation& FairGeoTransform::getRotation ( ) const
inline

Definition at line 42 of file FairGeoTransform.h.

View newest version in sPHENIX GitHub at line 42 of file FairGeoTransform.h

References rot.

const FairGeoRotation& FairGeoTransform::getRotMatrix ( ) const
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().

+ Here is the caller graph for this function:

const FairGeoVector& FairGeoTransform::getTranslation ( )
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().

+ Here is the caller graph for this function:

const FairGeoVector& FairGeoTransform::getTransVector ( ) const
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().

+ Here is the caller graph for this function:

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.

+ Here is the call graph for this function:

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.

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FairGeoTransform::setRotMatrix ( const FairGeoRotation r)
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().

+ Here is the caller graph for this function:

void FairGeoTransform::setRotMatrix ( const Double_t *  a)
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().

+ Here is the call graph for this function:

void FairGeoTransform::setRotMatrix ( const Float_t *  a)
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().

+ Here is the call graph for this function:

void FairGeoTransform::setTransform ( const FairGeoTransform t)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FairGeoTransform::setTransVector ( const FairGeoVector t)
inline
void FairGeoTransform::setTransVector ( const Double_t *  a)
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.

+ Here is the call graph for this function:

void FairGeoTransform::setTransVector ( const Float_t *  a)
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.

+ Here is the call graph for this function:

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

References rot, and trans.

Referenced by FairGeoNode::calcLabTransform(), FairGeoNode::calcModuleTransform(), FairGeoNode::calcRefPos(), and FairGeoBasicShape::posInMother().

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

Member Data Documentation

FairGeoRotation FairGeoTransform::rot
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().

FairGeoVector FairGeoTransform::trans
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().

FairGeoVector FairGeoTransform::trans_cm
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().


The documentation for this class was generated from the following files: