ATLAS Offline Software
|
#include <CuboidVolumeBounds.h>
Public Member Functions | |
CuboidVolumeBounds () | |
Default Constructor. More... | |
CuboidVolumeBounds (double hlenghtx, double hlenghty, double hlengthz) | |
Constructor - the box boundaries. More... | |
CuboidVolumeBounds (const CuboidVolumeBounds &bobo) | |
Copy Constructor. More... | |
virtual | ~CuboidVolumeBounds () |
Destructor. More... | |
CuboidVolumeBounds & | operator= (const CuboidVolumeBounds &bobo) |
Assignment operator. More... | |
CuboidVolumeBounds * | 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... | |
double | halflengthX () const |
This method returns the halflength in local x. More... | |
double | halflengthY () const |
This method returns the halflength in local y. More... | |
double | halflengthZ () const |
This method returns the halflength in local z. More... | |
MsgStream & | dump (MsgStream &sl) const override final |
Output Method for MsgStream. More... | |
std::ostream & | dump (std::ostream &sl) const override final |
Output Method for std::ostream. More... | |
Private Member Functions | |
RectangleBounds * | faceXYRectangleBounds () const |
This method returns the associated RecantleBounds of the face PlaneSurface parallel to local xy plane. More... | |
RectangleBounds * | faceYZRectangleBounds () const |
This method returns the associated RecantleBounds of the face PlaneSurface parallel to local yz plane. More... | |
RectangleBounds * | faceZXRectangleBounds () const |
This method returns the associated RecantleBounds of the face PlaneSurface parallel to local zx plane. More... | |
Private Attributes | |
double | m_halfX |
double | m_halfY |
double | m_halfZ |
SixObjectsAccessor | m_objectAccessor |
There's only one single object Acessor for the moment has to be implemented if Cuboids are used more widely. More... | |
Bounds for a cubical Volume, the decomposeToSurfaces method creates a vector of 6 surfaces:
BoundarySurfaceFace [index]:
Definition at line 52 of file CuboidVolumeBounds.h.
Trk::CuboidVolumeBounds::CuboidVolumeBounds | ( | ) |
Trk::CuboidVolumeBounds::CuboidVolumeBounds | ( | double | hlenghtx, |
double | hlenghty, | ||
double | hlengthz | ||
) |
Trk::CuboidVolumeBounds::CuboidVolumeBounds | ( | const CuboidVolumeBounds & | bobo | ) |
|
virtualdefault |
Destructor.
|
inlinefinaloverridevirtual |
Provide accessor for BoundarySurfaces.
Implements Trk::VolumeBounds.
Definition at line 138 of file CuboidVolumeBounds.h.
|
inlinefinaloverridevirtual |
Virtual constructor.
Implements Trk::VolumeBounds.
Definition at line 122 of file CuboidVolumeBounds.h.
|
finaloverridevirtual |
Method to decompose the Bounds into boundarySurfaces.
Implements Trk::VolumeBounds.
Definition at line 64 of file CuboidVolumeBounds.cxx.
|
finaloverridevirtual |
Output Method for MsgStream.
Implements Trk::VolumeBounds.
Definition at line 148 of file CuboidVolumeBounds.cxx.
|
finaloverridevirtual |
Output Method for std::ostream.
Implements Trk::VolumeBounds.
Definition at line 161 of file CuboidVolumeBounds.cxx.
|
private |
This method returns the associated RecantleBounds of the face PlaneSurface parallel to local xy plane.
Definition at line 128 of file CuboidVolumeBounds.cxx.
|
private |
This method returns the associated RecantleBounds of the face PlaneSurface parallel to local yz plane.
Definition at line 134 of file CuboidVolumeBounds.cxx.
|
private |
This method returns the associated RecantleBounds of the face PlaneSurface parallel to local zx plane.
Definition at line 140 of file CuboidVolumeBounds.cxx.
|
inline |
|
inline |
|
inline |
|
inlinefinaloverridevirtual |
This method checks if position in the 3D volume frame is inside the cylinder.
Implements Trk::VolumeBounds.
Definition at line 126 of file CuboidVolumeBounds.h.
Trk::CuboidVolumeBounds & Trk::CuboidVolumeBounds::operator= | ( | const CuboidVolumeBounds & | bobo | ) |
|
private |
Definition at line 113 of file CuboidVolumeBounds.h.
|
private |
Definition at line 114 of file CuboidVolumeBounds.h.
|
private |
Definition at line 115 of file CuboidVolumeBounds.h.
|
private |
There's only one single object Acessor for the moment has to be implemented if Cuboids are used more widely.
Definition at line 119 of file CuboidVolumeBounds.h.