VGM Version 5.3
|
VGM implementation for Root Boolean solid. More...
#include <MultiUnion.h>
Public Member Functions | |
MultiUnion (const std::string &name, std::vector< VGM::ISolid * > constituents, std::vector< TGeoMatrix * > transforms) | |
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 (int index) const |
Return the i-th constituent solid. | |
virtual VGM::Transform | Transformation (int index) const |
Return the displacement of the ith constituent solid. | |
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 () |
Public Member Functions inherited from VGM::ISolid | |
virtual | ~ISolid () |
Protected Member Functions | |
MultiUnion () | |
MultiUnion (const MultiUnion &rhs) | |
VGM implementation for Root Boolean solid.
Definition at line 35 of file MultiUnion.h.
RootGM::MultiUnion::MultiUnion | ( | const std::string & | name, |
std::vector< VGM::ISolid * > | constituents, | ||
std::vector< TGeoMatrix * > | transforms ) |
Standard constructor to define Boolean solids via constituents
solids | constituent solids |
transforms | the constituent solid transformations |
Definition at line 36 of file MultiUnion.cxx.
|
virtual |
Definition at line 114 of file MultiUnion.cxx.
|
protected |
Protected default constructor
Definition at line 100 of file MultiUnion.cxx.
|
protected |
Protected copy constructor
Definition at line 107 of file MultiUnion.cxx.
|
virtual |
Return the name of this solid.
Implements VGM::IMultiUnion.
Definition at line 124 of file MultiUnion.cxx.
|
virtual |
Return the number of constituent solids.
Implements VGM::IMultiUnion.
Definition at line 133 of file MultiUnion.cxx.
|
virtual |
Return the i-th constituent solid.
Implements VGM::IMultiUnion.
Definition at line 142 of file MultiUnion.cxx.
|
virtual |
Return the displacement of the ith constituent solid.
Implements VGM::IMultiUnion.
Definition at line 151 of file MultiUnion.cxx.
|
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.