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

VGM implementation for Geant4 Boolean solid. More...

#include <MultiUnion.h>

Inheritance diagram for Geant4GM::MultiUnion:

Public Member Functions

 MultiUnion (const std::string &name, std::vector< VGM::ISolid * > constituents, std::vector< G4Transform3D > transforms)
 
 MultiUnion (G4MultiUnion *MultiUnion, G4ReflectedSolid *reflected)
 
virtual ~MultiUnion ()
 
virtual std::string Name () const
 Return the name of this solid.
 
virtual int NofSolids () const
 Return the number of constituent solids.
 
virtual ISolid * ConstituentSolid (G4int index) const
 
virtual VGM::Transform Transformation (G4int index) const
 
virtual bool ToBeReflected () const
 Return true if the solid has to be first reflected before being placed.
 
- Public Member Functions inherited from BaseVGM::VMultiUnion
 VMultiUnion ()
 
virtual ~VMultiUnion ()
 
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::IMultiUnion
virtual ~IMultiUnion ()
 
virtual ISolidConstituentSolid (int index) const =0
 Return the i-th constituent solid.
 
virtual Transform Transformation (int index) const =0
 Return the displacement of the ith constituent solid.
 
- Public Member Functions inherited from VGM::ISolid
virtual ~ISolid ()
 

Protected Member Functions

 MultiUnion ()
 
 MultiUnion (const MultiUnion &rhs)
 

Detailed Description

VGM implementation for Geant4 Boolean solid.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 39 of file MultiUnion.h.

Constructor & Destructor Documentation

◆ MultiUnion() [1/4]

Geant4GM::MultiUnion::MultiUnion ( const std::string & name,
std::vector< VGM::ISolid * > constituents,
std::vector< G4Transform3D > transforms )

Standard constructor to define Boolean solids via constituents

Parameters
solidsconstituent solids
transformsthe constituent solid transformations

Definition at line 28 of file MultiUnion.cxx.

◆ MultiUnion() [2/4]

Geant4GM::MultiUnion::MultiUnion ( G4MultiUnion * MultiUnion,
G4ReflectedSolid * reflected )

Standard constructor to define Boolean solid via G4 object

Definition at line 56 of file MultiUnion.cxx.

◆ ~MultiUnion()

Geant4GM::MultiUnion::~MultiUnion ( )
virtual

Definition at line 90 of file MultiUnion.cxx.

◆ MultiUnion() [3/4]

Geant4GM::MultiUnion::MultiUnion ( )
protected

Protected default constructor

Definition at line 76 of file MultiUnion.cxx.

◆ MultiUnion() [4/4]

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

Protected copy constructor

Definition at line 83 of file MultiUnion.cxx.

Member Function Documentation

◆ Name()

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

Return the name of this solid.

Implements VGM::IMultiUnion.

Definition at line 100 of file MultiUnion.cxx.

◆ NofSolids()

G4int Geant4GM::MultiUnion::NofSolids ( ) const
virtual

Return the number of constituent solids.

Implements VGM::IMultiUnion.

Definition at line 109 of file MultiUnion.cxx.

◆ ConstituentSolid()

VGM::ISolid * Geant4GM::MultiUnion::ConstituentSolid ( G4int index) const
virtual

Definition at line 118 of file MultiUnion.cxx.

◆ Transformation()

VGM::Transform Geant4GM::MultiUnion::Transformation ( G4int index) const
virtual

Definition at line 129 of file MultiUnion.cxx.

◆ ToBeReflected()

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

Return true if the solid has to be first reflected before being placed.

Implements VGM::IMultiUnion.

Definition at line 66 of file MultiUnion.h.


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