Celeritas
0.5.0-86+4a8eea4
|
Return a VecGeom transformation from a Geant4 transformation. More...
#include <Transformer.hh>
Public Types | |
Type aliases | |
using | result_type = vecgeom::Transformation3D |
Public Member Functions | |
Transformer (Scaler const &convert_scale_) | |
Construct with a scaling function. | |
result_type | operator() (G4ThreeVector const &t) const |
Convert a translation. More... | |
result_type | operator() (G4ThreeVector const &t, G4RotationMatrix const &rot) const |
Convert a translation + rotation. More... | |
result_type | operator() (G4ThreeVector const &t, G4RotationMatrix const *rot) const |
Convert a translation + optional rotation. More... | |
result_type | operator() (G4AffineTransform const &at) const |
Convert an affine transform. More... | |
Return a VecGeom transformation from a Geant4 transformation.
|
inline |
Convert an affine transform.
Create a transform from an affine transform.
|
inline |
Convert a translation.
Create a transform from a translation.
|
inline |
Convert a translation + rotation.
Create a transform from a translation plus rotation.
|
inline |
Convert a translation + optional rotation.
Create a transform from a translation plus optional rotation.