VGM Version 5.3
|
VGM implementation for Geant4 displaced solid. More...
#include <DisplacedSolid.h>
Public Member Functions | |
DisplacedSolid (const std::string &name, VGM::ISolid *constituentSolid, CLHEP::HepRotation *rotation, const CLHEP::Hep3Vector &translation) | |
DisplacedSolid (G4DisplacedSolid *displacedSolid, G4ReflectedSolid *reflectedDisplaced) | |
virtual | ~DisplacedSolid () |
virtual std::string | Name () const |
Return the name of this solid. | |
virtual VGM::ISolid * | ConstituentSolid () const |
Return the constituent solid. | |
virtual VGM::Transform | Displacement () const |
Return the 3D displacement of the constituent solid. | |
virtual bool | ToBeReflected () const |
Public Member Functions inherited from BaseVGM::VDisplacedSolid | |
VDisplacedSolid () | |
virtual | ~VDisplacedSolid () |
virtual VGM::SolidType | Type () const |
Return the type of this solid. | |
virtual std::ostream & | Put (std::ostream &out) const |
Put the printing of the solid parameters in the out stream. | |
Public Member Functions inherited from VGM::IDisplacedSolid | |
virtual | ~IDisplacedSolid () |
Public Member Functions inherited from VGM::ISolid | |
virtual | ~ISolid () |
Protected Member Functions | |
DisplacedSolid () | |
DisplacedSolid (const DisplacedSolid &rhs) | |
VGM implementation for Geant4 displaced solid.
Definition at line 35 of file DisplacedSolid.h.
Geant4GM::DisplacedSolid::DisplacedSolid | ( | const std::string & | name, |
VGM::ISolid * | constituentSolid, | ||
CLHEP::HepRotation * | rotation, | ||
const CLHEP::Hep3Vector & | translation ) |
Standard constructor to define displaced solids via constituent
constituentSolid | constituent solids |
rotation,translation | the CLHEP rotation and translation of the constituent solid |
Definition at line 28 of file DisplacedSolid.cxx.
Geant4GM::DisplacedSolid::DisplacedSolid | ( | G4DisplacedSolid * | displacedSolid, |
G4ReflectedSolid * | reflectedDisplaced ) |
Standard constructor to define Displaced solid via G4 object
Definition at line 53 of file DisplacedSolid.cxx.
|
virtual |
Definition at line 86 of file DisplacedSolid.cxx.
|
protected |
Protected default constructor
Definition at line 72 of file DisplacedSolid.cxx.
|
protected |
Protected copy constructor
Definition at line 79 of file DisplacedSolid.cxx.
|
virtual |
Return the name of this solid.
Implements VGM::IDisplacedSolid.
Definition at line 96 of file DisplacedSolid.cxx.
|
virtual |
Return the constituent solid.
Implements VGM::IDisplacedSolid.
Definition at line 105 of file DisplacedSolid.cxx.
|
virtual |
Return the 3D displacement of the constituent solid.
Implements VGM::IDisplacedSolid.
Definition at line 118 of file DisplacedSolid.cxx.
|
inlinevirtual |
Definition at line 62 of file DisplacedSolid.h.