25 lines
533 B
C++
25 lines
533 B
C++
#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};
|
|
};
|
|
} // namespace motions
|
|
|
|
#endif // CONEMOTION_H
|