quickplot
Loading...
Searching...
No Matches
logAxis.h
1// SPDX-License-Identifier: GPL-3.0-or-later
2// Copyright (c) 2024 Team Dissolve and contributors
3
4#pragma once
5
6#include "axis.h"
7#include "axisTickLabels.h"
8#include <QQuick3DGeometry>
9#include <QVector3D>
10
12class LogAxis : public Axis
13{
14 Q_OBJECT
15 QML_NAMED_ELEMENT(LogAxis)
16
17 public:
18 LogAxis();
19 std::vector<float> convert(QList<double> values) const override;
20 double tickCoord(int index) const override;
21 void nudge(double delta);
22
23 private:
24 void updateTicks_() override;
25
26 Q_SIGNALS:
27 void dataChanged();
28};
Definition axis.h:12
virtual void nudge(double delta)
Definition axis.cpp:106
Definition logAxis.h:13
double tickCoord(int index) const override
Definition logAxis.cpp:66
std::vector< float > convert(QList< double > values) const override
Definition logAxis.cpp:13