![]() |
ATLAS Offline Software
|
Bounds for a generic subtracted volume, the decomposeToSurfaces method creates a vector of n surfaces (n1+n2-n_subtracted): More...
#include <SubtractedVolumeBounds.h>
Public Member Functions | |
| SubtractedVolumeBounds () | |
| Default Constructor. | |
| SubtractedVolumeBounds (std::unique_ptr< Volume > outerVol, std::unique_ptr< Volume > innerVol) | |
| Constructor - the box boundaries. | |
| SubtractedVolumeBounds (const SubtractedVolumeBounds &bobo) | |
| Copy Constructor. | |
| virtual | ~SubtractedVolumeBounds () |
| Destructor. | |
| SubtractedVolumeBounds & | operator= (const SubtractedVolumeBounds &bobo) |
| Assignment operator. | |
| SubtractedVolumeBounds * | clone () const override final |
| Virtual constructor. | |
| bool | inside (const Amg::Vector3D &, double tol=0.) const override final |
| This method checks if position in the 3D volume frame is inside the cylinder. | |
| virtual std::vector< std::unique_ptr< Trk::Surface > > | decomposeToSurfaces (const Amg::Transform3D &transform) override final |
| Method to decompose the Bounds into boundarySurfaces. | |
| ObjectAccessor | boundarySurfaceAccessor (const Amg::Vector3D &gp, const Amg::Vector3D &dir, bool forceInside=false) const override final |
| Provide accessor for BoundarySurfaces. | |
| const Volume * | outer () const |
| This method returns the outer Volume. | |
| Volume * | outer () |
| const Volume * | inner () const |
| This method returns the inner Volume. | |
| Volume * | inner () |
| const std::vector< bool > & | boundsOrientation () const |
| This method returns bounds orientation. | |
| MsgStream & | dump (MsgStream &sl) const override |
| Output Method for MsgStream. | |
| std::ostream & | dump (std::ostream &sl) const override final |
| Output Method for std::ostream. | |
Static Private Member Functions | |
| static Trk::Volume * | createSubtractedVolume (const Amg::Transform3D &transf, Trk::Volume *subtrVol) |
Private Attributes | |
| std::unique_ptr< Volume > | m_outer {} |
| std::unique_ptr< Volume > | m_inner {} |
| EightObjectsAccessor | m_objectAccessor {} |
| There's only one single object Acessor for the moment has to be implemented if Subtracteds are used more widely. | |
| std::vector< bool > | m_boundsOrientation {} |
Bounds for a generic subtracted volume, the decomposeToSurfaces method creates a vector of n surfaces (n1+n2-n_subtracted):
BoundarySurfaceFace [index]: [n1] surfaces from 'outer' volume [n1+n2-n_subtr] remaining surfaces (after subtraction) from 'inner' volume
Definition at line 40 of file SubtractedVolumeBounds.h.
|
default |
Default Constructor.
| Trk::SubtractedVolumeBounds::SubtractedVolumeBounds | ( | std::unique_ptr< Volume > | outerVol, |
| std::unique_ptr< Volume > | innerVol ) |
Constructor - the box boundaries.
Definition at line 35 of file SubtractedVolumeBounds.cxx.
| Trk::SubtractedVolumeBounds::SubtractedVolumeBounds | ( | const SubtractedVolumeBounds & | bobo | ) |
Copy Constructor.
Definition at line 43 of file SubtractedVolumeBounds.cxx.
|
virtualdefault |
Destructor.
|
inlinefinaloverridevirtual |
Provide accessor for BoundarySurfaces.
Implements Trk::VolumeBounds.
Definition at line 117 of file SubtractedVolumeBounds.h.
|
inline |
This method returns bounds orientation.
Definition at line 122 of file SubtractedVolumeBounds.h.
|
inlinefinaloverridevirtual |
Virtual constructor.
Implements Trk::VolumeBounds.
Definition at line 102 of file SubtractedVolumeBounds.h.
|
staticprivate |
Definition at line 307 of file SubtractedVolumeBounds.cxx.
|
finaloverridevirtual |
Method to decompose the Bounds into boundarySurfaces.
Implements Trk::VolumeBounds.
Definition at line 67 of file SubtractedVolumeBounds.cxx.
|
overridevirtual |
Output Method for MsgStream.
Implements Trk::VolumeBounds.
Definition at line 281 of file SubtractedVolumeBounds.cxx.
|
finaloverridevirtual |
Output Method for std::ostream.
Implements Trk::VolumeBounds.
Definition at line 294 of file SubtractedVolumeBounds.cxx.
|
inline |
Definition at line 115 of file SubtractedVolumeBounds.h.
|
inlinefinaloverridevirtual |
This method checks if position in the 3D volume frame is inside the cylinder.
Implements Trk::VolumeBounds.
Definition at line 106 of file SubtractedVolumeBounds.h.
| Trk::SubtractedVolumeBounds & Trk::SubtractedVolumeBounds::operator= | ( | const SubtractedVolumeBounds & | bobo | ) |
Assignment operator.
Definition at line 55 of file SubtractedVolumeBounds.cxx.
|
inline |
Definition at line 112 of file SubtractedVolumeBounds.h.
|
private |
Definition at line 99 of file SubtractedVolumeBounds.h.
|
private |
Definition at line 95 of file SubtractedVolumeBounds.h.
|
private |
There's only one single object Acessor for the moment has to be implemented if Subtracteds are used more widely.
Definition at line 98 of file SubtractedVolumeBounds.h.
|
private |
Definition at line 94 of file SubtractedVolumeBounds.h.