VGM Version 5.3
|
VGM implementation for Root Boolean solid. More...
#include <BooleanSolid.h>
Public Member Functions | |
BooleanSolid (const std::string &name, VGM::BooleanType boolType, VGM::ISolid *solidA, VGM::ISolid *solidB, TGeoMatrix *displacementB) | |
BooleanSolid (TGeoCompositeShape *compositeShape) | |
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 TGeoShape * | GetConstituentSolid (int index, TGeoCompositeShape *compositeShape) |
Protected Member Functions | |
BooleanSolid () | |
BooleanSolid (const BooleanSolid &rhs) | |
VGM implementation for Root Boolean solid.
Definition at line 33 of file BooleanSolid.h.
RootGM::BooleanSolid::BooleanSolid | ( | const std::string & | name, |
VGM::BooleanType | boolType, | ||
VGM::ISolid * | solidA, | ||
VGM::ISolid * | solidB, | ||
TGeoMatrix * | displacementB ) |
Standard constructor to define Boolean solids via constituents
boolType | type of Boolean operation (kIntersection, kSubtraction, kUnion) |
solidA,solidB | constituent solids |
displacementB | the Root 3D transformation that defines the displacement of the solidB with respect to solidA |
Definition at line 38 of file BooleanSolid.cxx.
RootGM::BooleanSolid::BooleanSolid | ( | TGeoCompositeShape * | compositeShape | ) |
Standard constructor to define Boolean solid via Root object
Definition at line 117 of file BooleanSolid.cxx.
|
virtual |
Definition at line 143 of file BooleanSolid.cxx.
|
protected |
Protected default constructor
Definition at line 129 of file BooleanSolid.cxx.
|
protected |
Protected copy constructor
Definition at line 136 of file BooleanSolid.cxx.
|
virtual |
Return the name of this solid.
Implements VGM::IBooleanSolid.
Definition at line 153 of file BooleanSolid.cxx.
|
virtual |
Return the Boolean type of this solid.
Implements VGM::IBooleanSolid.
Definition at line 162 of file BooleanSolid.cxx.
|
virtual |
Return the first constituent solid.
Implements VGM::IBooleanSolid.
Definition at line 182 of file BooleanSolid.cxx.
|
virtual |
Return the second constituent solid.
Implements VGM::IBooleanSolid.
Definition at line 196 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 210 of file BooleanSolid.cxx.
|
inlinevirtual |
Return true if the solid has to be first reflected before being placed.
Implements VGM::IBooleanSolid.
Definition at line 69 of file BooleanSolid.h.
|
static |
Return the constituent shape specified by index
Definition at line 279 of file BooleanSolid.cxx.