VGM Version 5.3
Loading...
Searching...
No Matches
Geant4GM::DisplacedSolid Class Reference

VGM implementation for Geant4 displaced solid. More...

#include <DisplacedSolid.h>

Inheritance diagram for Geant4GM::DisplacedSolid:

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::ISolidConstituentSolid () 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)
 

Detailed Description

VGM implementation for Geant4 displaced solid.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 35 of file DisplacedSolid.h.

Constructor & Destructor Documentation

◆ DisplacedSolid() [1/4]

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

Parameters
constituentSolidconstituent solids
rotation,translationthe CLHEP rotation and translation of the constituent solid

Definition at line 28 of file DisplacedSolid.cxx.

◆ DisplacedSolid() [2/4]

Geant4GM::DisplacedSolid::DisplacedSolid ( G4DisplacedSolid * displacedSolid,
G4ReflectedSolid * reflectedDisplaced )

Standard constructor to define Displaced solid via G4 object

Definition at line 53 of file DisplacedSolid.cxx.

◆ ~DisplacedSolid()

Geant4GM::DisplacedSolid::~DisplacedSolid ( )
virtual

Definition at line 86 of file DisplacedSolid.cxx.

◆ DisplacedSolid() [3/4]

Geant4GM::DisplacedSolid::DisplacedSolid ( )
protected

Protected default constructor

Definition at line 72 of file DisplacedSolid.cxx.

◆ DisplacedSolid() [4/4]

Geant4GM::DisplacedSolid::DisplacedSolid ( const DisplacedSolid & rhs)
protected

Protected copy constructor

Definition at line 79 of file DisplacedSolid.cxx.

Member Function Documentation

◆ Name()

std::string Geant4GM::DisplacedSolid::Name ( ) const
virtual

Return the name of this solid.

Implements VGM::IDisplacedSolid.

Definition at line 96 of file DisplacedSolid.cxx.

◆ ConstituentSolid()

VGM::ISolid * Geant4GM::DisplacedSolid::ConstituentSolid ( ) const
virtual

Return the constituent solid.

Implements VGM::IDisplacedSolid.

Definition at line 105 of file DisplacedSolid.cxx.

◆ Displacement()

VGM::Transform Geant4GM::DisplacedSolid::Displacement ( ) const
virtual

Return the 3D displacement of the constituent solid.

Implements VGM::IDisplacedSolid.

Definition at line 118 of file DisplacedSolid.cxx.

◆ ToBeReflected()

bool Geant4GM::DisplacedSolid::ToBeReflected ( ) const
inlinevirtual

Definition at line 62 of file DisplacedSolid.h.


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