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

VGM implementation for Root Boolean solid. More...

#include <MultiUnion.h>

Inheritance diagram for RootGM::MultiUnion:

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)
 

Detailed Description

VGM implementation for Root Boolean solid.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 35 of file MultiUnion.h.

Constructor & Destructor Documentation

◆ MultiUnion() [1/3]

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

Standard constructor to define Boolean solids via constituents

Parameters
solidsconstituent solids
transformsthe constituent solid transformations

Definition at line 36 of file MultiUnion.cxx.

◆ ~MultiUnion()

RootGM::MultiUnion::~MultiUnion ( )
virtual

Definition at line 114 of file MultiUnion.cxx.

◆ MultiUnion() [2/3]

RootGM::MultiUnion::MultiUnion ( )
protected

Protected default constructor

Definition at line 100 of file MultiUnion.cxx.

◆ MultiUnion() [3/3]

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

Protected copy constructor

Definition at line 107 of file MultiUnion.cxx.

Member Function Documentation

◆ Name()

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

Return the name of this solid.

Implements VGM::IMultiUnion.

Definition at line 124 of file MultiUnion.cxx.

◆ NofSolids()

int RootGM::MultiUnion::NofSolids ( ) const
virtual

Return the number of constituent solids.

Implements VGM::IMultiUnion.

Definition at line 133 of file MultiUnion.cxx.

◆ ConstituentSolid()

VGM::ISolid * RootGM::MultiUnion::ConstituentSolid ( int index) const
virtual

Return the i-th constituent solid.

Implements VGM::IMultiUnion.

Definition at line 142 of file MultiUnion.cxx.

◆ Transformation()

VGM::Transform RootGM::MultiUnion::Transformation ( int index) const
virtual

Return the displacement of the ith constituent solid.

Implements VGM::IMultiUnion.

Definition at line 151 of file MultiUnion.cxx.

◆ ToBeReflected()

bool RootGM::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: