|
ACTS
Experiment-independent tracking
|
Volume bounds described by eight arbitrary cuboid vertices. More...
#include <Acts/Geometry/GenericCuboidVolumeBounds.hpp>
Classes | |
| struct | BoundValues |
| This struct helps to symmetrize with the the other volume bounds classes. More... | |
Public Member Functions | |
| GenericCuboidVolumeBounds (const std::array< Acts::Vector3, 8 > &vertices) noexcept(false) | |
| Constructor from a set of vertices. | |
| GenericCuboidVolumeBounds (const std::array< double, BoundValues::eSize > &values) noexcept(false) | |
| Constructor from a fixed size array. | |
| Volume::BoundingBox | boundingBox (const Transform3 *trf=nullptr, const Vector3 &envelope={0, 0, 0}, const Volume *entity=nullptr) const final |
| Construct bounding box for this shape. | |
| std::vector< AxisDirection > | canonicalAxes () const override |
| Get the canonical direction values, i.e. | |
| void | draw (IVisualization3D &helper, const Transform3 &transform=Transform3::Identity()) const |
| Draw this shape using a visualization helper. | |
| bool | inside (const Vector3 &gpos, double tol=0.) const override |
| Checking if position given in volume frame is inside. | |
| std::vector< OrientedSurface > | orientedSurfaces (const Transform3 &transform=Transform3::Identity()) const override |
| Oriented surfaces, i.e. | |
| std::ostream & | toStream (std::ostream &sl) const override |
| VolumeBounds::BoundsType | type () const final |
| Return the bounds type - for persistency optimization. | |
| std::vector< double > | values () const final |
| Return the bound values as dynamically sized vector. | |
| Public Member Functions inherited from Acts::VolumeBounds | |
| virtual double | referenceBorder (AxisDirection aDir) const |
| Binning borders in double. | |
| virtual Vector3 | referenceOffset (AxisDirection aDir) const |
| Binning offset - overloaded for some R-binning types. | |
Additional Inherited Members | |
| Public Types inherited from Acts::VolumeBounds | |
| enum class | BoundsType { eCone , eCuboid , eCutoutCylinder , eCylinder , eGenericCuboid , eTrapezoid , eDiamond , eOther } |
| This is nested to the VolumeBounds, as also SurfaceBounds will have Bounds Type. | |
| Static Public Attributes inherited from Acts::VolumeBounds | |
| static const std::vector< std::string > | s_boundsTypeNames |
| Static member to get the name of the BoundsType. | |
Volume bounds described by eight arbitrary cuboid vertices.
|
explicit |
Constructor from a set of vertices.
| vertices | The set of input vertices |
The ordering is considered to be:
|
explicit |
Constructor from a fixed size array.
| values | The input values |
|
finalvirtual |
Construct bounding box for this shape.
| trf | Optional transform |
| envelope | Optional envelope to add / subtract from min/max |
| entity | Entity to associate this bounding box with |
Implements Acts::VolumeBounds.
|
overridevirtual |
Get the canonical direction values, i.e.
the axis directions that fully describe the shape's extent
Reimplemented from Acts::VolumeBounds.
| void Acts::GenericCuboidVolumeBounds::draw | ( | IVisualization3D & | helper, |
| const Transform3 & | transform = Transform3::Identity() ) const |
Draw this shape using a visualization helper.
| helper | The visualizatin helper |
| transform | Optional transformation matrix |
|
overridevirtual |
Checking if position given in volume frame is inside.
| gpos | is the global position to be checked |
| tol | is the tolerance applied for the inside check |
Implements Acts::VolumeBounds.
|
overridevirtual |
Oriented surfaces, i.e.
the decomposed boundary surfaces and the according navigation direction into the volume given the normal vector on the surface
| transform | is the 3D transform to be applied to the boundary surfaces to position them in 3D space |
It will throw an exception if the orientation prescription is not adequate
Implements Acts::VolumeBounds.
|
overridevirtual |
| sl | is the output stream to be written into |
Implements Acts::VolumeBounds.
|
finalvirtual |
Return the bounds type - for persistency optimization.
Implements Acts::VolumeBounds.
|
finalvirtual |
Return the bound values as dynamically sized vector.
Implements Acts::VolumeBounds.