CVirtual class to decide and return which approaching surface to be taken.
More...
#include <IApproachDescriptor.h>
◆ IApproachDescriptor() [1/3]
| Trk::IApproachDescriptor::IApproachDescriptor |
( |
std::unique_ptr< ApproachSurfaces > | aSurfaces, |
|
|
bool | rebuild = true ) |
|
inline |
Definition at line 48 of file IApproachDescriptor.h.
std::unique_ptr< ApproachSurfaces > m_approachSurfaces
std::unique_ptr< BinnedArray< const ApproachSurfaces > > m_approachSurfaceArray
std::unique_ptr< Surface > m_approachSurfaceArraySurface
◆ IApproachDescriptor() [2/3]
| Trk::IApproachDescriptor::IApproachDescriptor |
( |
std::unique_ptr< BinnedArray< const ApproachSurfaces > > | aSurfaceArray, |
|
|
std::unique_ptr< Surface > | aSurfaceArraySurface = nullptr ) |
|
inline |
◆ ~IApproachDescriptor()
| virtual Trk::IApproachDescriptor::~IApproachDescriptor |
( |
| ) |
|
|
virtualdefault |
◆ IApproachDescriptor() [3/3]
◆ approachSurfaces()
get the compatible surfaces
- return : a boolean indicating if an actual intersection had been tried
- fill vector of intersections
- primary bin surface : sf
- position & direction : pos, dir
Implemented in Trk::ApproachDescriptor.
◆ operator=()
◆ rebuild()
| bool Trk::IApproachDescriptor::rebuild |
( |
| ) |
const |
|
inline |
◆ registerLayer()
| void Trk::IApproachDescriptor::registerLayer |
( |
const Layer & | lay | ) |
|
|
inline |
Definition at line 98 of file IApproachDescriptor.h.
98 {
103 }
105 std::span<ApproachSurfaces const * const> aSurfaceObjects =
107 for (auto& aSurfaces : aSurfaceObjects) {
109 }
110 }
111}
void registerLayerToSurfaces(const Layer &lay, const ApproachSurfaces &aSurfaces)
◆ registerLayerToSurfaces()
| void Trk::IApproachDescriptor::registerLayerToSurfaces |
( |
const Layer & | lay, |
|
|
const ApproachSurfaces & | aSurfaces ) |
|
inlineprivate |
Definition at line 113 of file IApproachDescriptor.h.
114 {
115 for (Trk::Surface* aSurface : aSurfaces) {
116 aSurface->associateLayer(lay);
118 }
119}
◆ m_approachSurfaceArray
◆ m_approachSurfaceArraySurface
| std::unique_ptr<Surface> Trk::IApproachDescriptor::m_approachSurfaceArraySurface |
|
protected |
◆ m_approachSurfaces
◆ m_rebuild
| bool Trk::IApproachDescriptor::m_rebuild |
|
protected |
The documentation for this class was generated from the following file: