ATLAS Offline Software
|
#include <SubtractedVolumeBounds.h>
Public Member Functions | |
SubtractedVolumeBounds () | |
Default Constructor. More... | |
SubtractedVolumeBounds (Volume *outerVol, Volume *innerVol) | |
Constructor - the box boundaries. More... | |
SubtractedVolumeBounds (const SubtractedVolumeBounds &bobo) | |
Copy Constructor. More... | |
virtual | ~SubtractedVolumeBounds () |
Destructor. More... | |
SubtractedVolumeBounds & | operator= (const SubtractedVolumeBounds &bobo) |
Assignment operator. More... | |
SubtractedVolumeBounds * | clone () const override final |
Virtual constructor. More... | |
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. More... | |
const std::vector< const Trk::Surface * > * | decomposeToSurfaces (const Amg::Transform3D &transform) override final |
Method to decompose the Bounds into boundarySurfaces. More... | |
ObjectAccessor | boundarySurfaceAccessor (const Amg::Vector3D &gp, const Amg::Vector3D &dir, bool forceInside=false) const override final |
Provide accessor for BoundarySurfaces. More... | |
const Volume * | outer () const |
This method returns the outer Volume. More... | |
Volume * | outer () |
const Volume * | inner () const |
This method returns the inner Volume. More... | |
Volume * | inner () |
std::vector< bool > | boundsOrientation () const |
This method returns bounds orientation. More... | |
MsgStream & | dump (MsgStream &sl) const override |
Output Method for MsgStream. More... | |
std::ostream & | dump (std::ostream &sl) const override final |
Output Method for std::ostream. More... | |
Static Private Member Functions | |
static Trk::Volume * | createSubtractedVolume (const Amg::Transform3D &transf, Trk::Volume *subtrVol) |
Private Attributes | |
Volume * | m_outer |
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. More... | |
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.
Trk::SubtractedVolumeBounds::SubtractedVolumeBounds | ( | ) |
Trk::SubtractedVolumeBounds::SubtractedVolumeBounds | ( | const SubtractedVolumeBounds & | bobo | ) |
|
virtual |
Destructor.
Definition at line 62 of file SubtractedVolumeBounds.cxx.
|
inlinefinaloverridevirtual |
Provide accessor for BoundarySurfaces.
Implements Trk::VolumeBounds.
Definition at line 119 of file SubtractedVolumeBounds.h.
|
inline |
This method returns bounds orientation.
Definition at line 124 of file SubtractedVolumeBounds.h.
|
inlinefinaloverridevirtual |
Virtual constructor.
Implements Trk::VolumeBounds.
Definition at line 104 of file SubtractedVolumeBounds.h.
|
staticprivate |
Definition at line 331 of file SubtractedVolumeBounds.cxx.
|
finaloverridevirtual |
Method to decompose the Bounds into boundarySurfaces.
Implements Trk::VolumeBounds.
Definition at line 85 of file SubtractedVolumeBounds.cxx.
|
overridevirtual |
Output Method for MsgStream.
Implements Trk::VolumeBounds.
Definition at line 305 of file SubtractedVolumeBounds.cxx.
|
finaloverridevirtual |
Output Method for std::ostream.
Implements Trk::VolumeBounds.
Definition at line 318 of file SubtractedVolumeBounds.cxx.
|
inline |
Definition at line 117 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 108 of file SubtractedVolumeBounds.h.
Trk::SubtractedVolumeBounds & Trk::SubtractedVolumeBounds::operator= | ( | const SubtractedVolumeBounds & | bobo | ) |
|
inline |
Definition at line 114 of file SubtractedVolumeBounds.h.
|
private |
Definition at line 101 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 99 of file SubtractedVolumeBounds.h.
|
private |
Definition at line 94 of file SubtractedVolumeBounds.h.