A navigation policy that uses grid based navigation for indexed surfaces Navigate through a multilayer structure by creating an artificial path on the grid.
More...
|
| | IndexGridNavigationPolicy (const GeometryContext &gctx, const TrackingVolume &volume, const Logger &logger, const IndexGridNavigationConfig &config, const IndexGridType &grid) |
| | Main constructor, which expects the grid and will fill it with the surfaces from the volume passed.
|
| void | connect (NavigationDelegate &delegate) const override |
| | Connect this policy with a navigation delegate.
|
| const IndexGridType & | indexGrid () const |
| | Give const access to the index grid.
|
| void | initializeCandidates (const GeometryContext &gctx, const NavigationArguments &args, NavigationPolicyState &state, AppendOnlyNavigationStream &stream, const Logger &logger) const |
| | Update the navigation state from the surface array.
|
|
virtual | ~INavigationPolicy ()=default |
| | Virtual destructor so policies can be held through this base class.
|
| virtual void | createState (const GeometryContext &gctx, const NavigationArguments &args, NavigationPolicyStateManager &stateManager, const Logger &logger) const |
| | Create and initialize the state for this policy.
|
| void | initializeStatelessCache (const GeometryContext &gctx, const Logger &logger=getDummyLogger()) |
| | One-time initialization step that probes whether this policy pushes only default (empty) states and caches the result (mutating internal state), allowing the navigator to skip the per-volume-entry state creation and the matching pop entirely for volumes with such policies.
|
| bool | isStateless () const |
| | Whether this policy is known to push only default (empty) states, see initializeStatelessCache.
|
| virtual bool | isValid (const GeometryContext &gctx, const NavigationArguments &args, NavigationPolicyState &state, const Logger &logger) const |
| | Check if the policy is in a valid state for navigation.
|
| virtual void | popState (NavigationPolicyStateManager &stateManager, const Logger &logger) const |
| | Remove the state for this policy from the state manager.
|
| virtual void | visit (const std::function< void(const INavigationPolicy &)> &visitor) const |
| | Convenience function to walk over all navigation policies.
|
template<typename GridType>
class Acts::IndexGridNavigationPolicy< GridType >
A navigation policy that uses grid based navigation for indexed surfaces Navigate through a multilayer structure by creating an artificial path on the grid.