Registry to make easier additions of new models

This commit is contained in:
Dominik Demuth
2026-03-08 13:24:15 +01:00
parent c4485aac6f
commit 86ec6b220a
23 changed files with 174 additions and 136 deletions

23
src/motions/conemotion.h Normal file
View File

@@ -0,0 +1,23 @@
#ifndef CONEMOTION_H
#define CONEMOTION_H
#include "base.h"
#include "coordinates.h"
namespace motions {
class ConeMotion : public BaseMotion {
public:
using BaseMotion::BaseMotion;
void initialize(std::mt19937_64& rng) override;
void setParameters(const std::unordered_map<std::string, double> &) override;
[[nodiscard]] std::unordered_map<std::string, double> getParameters() const override;
protected:
double m_angle{0};
coordinates::SphericalPos m_axis{1, 0};
};
}
#endif //CONEMOTION_H