File indexing completed on 2025-01-18 09:10:59
0001
0002
0003
0004
0005
0006
0007
0008
0009 #pragma once
0010
0011 #include "Acts/Definitions/Algebra.hpp"
0012 #include "Acts/Definitions/Direction.hpp"
0013 #include "Acts/Propagator/NavigationTarget.hpp"
0014 #include "Acts/Propagator/NavigatorOptions.hpp"
0015 #include "Acts/Propagator/NavigatorStatistics.hpp"
0016
0017 namespace Acts {
0018
0019 class Surface;
0020
0021
0022
0023
0024
0025 class VoidNavigator {
0026 public:
0027
0028 struct Config {};
0029
0030
0031 struct Options : public NavigatorPlainOptions {
0032 explicit Options(const GeometryContext& gctx)
0033 : NavigatorPlainOptions(gctx) {}
0034
0035 void setPlainOptions(const NavigatorPlainOptions& options) {
0036 static_cast<NavigatorPlainOptions&>(*this) = options;
0037 }
0038 };
0039
0040
0041 struct State {
0042 explicit State(const Options& options_) : options(options_) {}
0043
0044 Options options;
0045
0046
0047 NavigatorStatistics statistics;
0048 };
0049
0050 State makeState(const Options& options) const {
0051 State state(options);
0052 return state;
0053 }
0054
0055 const Surface* currentSurface(const State& ) const {
0056 return nullptr;
0057 }
0058
0059 const Surface* startSurface(const State& ) const { return nullptr; }
0060
0061 const Surface* targetSurface(const State& ) const { return nullptr; }
0062
0063 bool navigationBreak(const State& ) const { return true; }
0064
0065 void initialize(State& , const Vector3& ,
0066 const Vector3& ,
0067 Direction ) const {
0068 return;
0069 }
0070
0071 NavigationTarget nextTarget(State& , const Vector3& ,
0072 const Vector3& ) const {
0073 return NavigationTarget::None();
0074 }
0075
0076 bool checkTargetValid(const State& , const Vector3& ,
0077 const Vector3& ) const {
0078 return true;
0079 }
0080
0081 void handleSurfaceReached(State& , const Vector3& ,
0082 const Vector3& ,
0083 const Surface& ) const {
0084 return;
0085 }
0086 };
0087
0088 }