VGM Version 5.3
|
VGM implementation for Geant4 Boolean solid. More...
#include <BooleanSolid.h>
Public Member Functions | |
BooleanSolid (const std::string &name, VGM::BooleanType boolType, VGM::ISolid *solidA, VGM::ISolid *solidB, CLHEP::HepRotation *rotation, const CLHEP::Hep3Vector &translation) | |
BooleanSolid (G4BooleanSolid *booleanSolid, G4ReflectedSolid *reflectedBoolean) | |
virtual | ~BooleanSolid () |
virtual std::string | Name () const |
Return the name of this solid. | |
virtual VGM::BooleanType | BoolType () const |
Return the Boolean type of this solid. | |
virtual VGM::ISolid * | ConstituentSolidA () const |
Return the first constituent solid. | |
virtual VGM::ISolid * | ConstituentSolidB () const |
Return the second constituent solid. | |
virtual VGM::Transform | Displacement () const |
Return the 3D displacement of the second constituent solid with respect to the first one. | |
virtual bool | ToBeReflected () const |
Return true if the solid has to be first reflected before being placed. | |
Public Member Functions inherited from BaseVGM::VBooleanSolid | |
VBooleanSolid () | |
virtual | ~VBooleanSolid () |
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::IBooleanSolid | |
virtual | ~IBooleanSolid () |
Public Member Functions inherited from VGM::ISolid | |
virtual | ~ISolid () |
Static Public Member Functions | |
static G4VSolid * | GetConstituentSolid (int index, G4BooleanSolid *booleanSolid) |
Protected Member Functions | |
BooleanSolid () | |
BooleanSolid (const BooleanSolid &rhs) | |
VGM implementation for Geant4 Boolean solid.
Definition at line 36 of file BooleanSolid.h.
Geant4GM::BooleanSolid::BooleanSolid | ( | const std::string & | name, |
VGM::BooleanType | boolType, | ||
VGM::ISolid * | solidA, | ||
VGM::ISolid * | solidB, | ||
CLHEP::HepRotation * | rotation, | ||
const CLHEP::Hep3Vector & | translation ) |
Standard constructor to define Boolean solids via constituents
boolType | type of Boolean operation (kIntersection, kSubtraction, kUnion) |
solidA,solidB | constituent solids |
rotation,translation | the CLHEP rotation and translation of the solidB with respect to solidA |
Definition at line 32 of file BooleanSolid.cxx.
Geant4GM::BooleanSolid::BooleanSolid | ( | G4BooleanSolid * | booleanSolid, |
G4ReflectedSolid * | reflectedBoolean ) |
Standard constructor to define Boolean solid via G4 object
Definition at line 81 of file BooleanSolid.cxx.
|
virtual |
Definition at line 114 of file BooleanSolid.cxx.
|
protected |
Protected default constructor
Definition at line 100 of file BooleanSolid.cxx.
|
protected |
Protected copy constructor
Definition at line 107 of file BooleanSolid.cxx.
|
virtual |
Return the name of this solid.
Implements VGM::IBooleanSolid.
Definition at line 138 of file BooleanSolid.cxx.
|
virtual |
Return the Boolean type of this solid.
Implements VGM::IBooleanSolid.
Definition at line 147 of file BooleanSolid.cxx.
|
virtual |
Return the first constituent solid.
Implements VGM::IBooleanSolid.
Definition at line 164 of file BooleanSolid.cxx.
|
virtual |
Return the second constituent solid.
Implements VGM::IBooleanSolid.
Definition at line 176 of file BooleanSolid.cxx.
|
virtual |
Return the 3D displacement of the second constituent solid with respect to the first one.
Implements VGM::IBooleanSolid.
Definition at line 189 of file BooleanSolid.cxx.
|
inlinevirtual |
Return true if the solid has to be first reflected before being placed.
Implements VGM::IBooleanSolid.
Definition at line 71 of file BooleanSolid.h.
|
static |
Definition at line 205 of file BooleanSolid.cxx.