2#include <NDEVR/String.h>
4#include <NDEVR/Pointer.h>
5#include <NDEVR/PolyLine.h>
30 NDEVRChart(QChart* chart, QWidget* parent =
nullptr);
31 bool event(QEvent* event)
override;
32 void setSideAxes(
const String& x_name,
const String& y_name);
33 void setDarkThemed(
bool dark);
35 void addData(
const PlotData& value);
36 void setData(
const PlotData& value);
51 virtual void prepareAxes();
53 void mouseMoveEvent(QMouseEvent* event)
override;
54 void mousePressEvent(QMouseEvent* event)
override;
55 void mouseReleaseEvent(QMouseEvent* event)
override;
64 void onSeriesHoveredSlot(
uint04 index,
const QPointF& point,
bool state);
65 void onSeriesClickedSlot(
uint04 index,
const QPointF& point);
67 virtual void plotData(
uint04 index);
70 fltp04 getDefaultMarkerSize()
const;
71 fltp04 getDefaultLineSize()
const;
72 fltp04 getLineSize()
const;
73 fltp04 getMarkerSize()
const;
78 bool m_is_dark =
true;
79 bool m_locked_axes =
true;
93 void plotData(
uint04 index)
override;
94 void prepareAxes()
override;
A specification of upper and lower bounds in N-dimensions.
Definition Bounds.hpp:52
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:59
Provides a constant, unmodifiable pointer that has shared ownership of a dynamically allocated object...
Definition GraphicsPipeline.h:42
Definition Matrix.hpp:176
Definition NDEVRChart.h:14
void setPointSize(fltp04 point_size)
Definition NDEVRChart.h:39
void onPressedSignal(Vertex< 3, fltp08 > vertex)
void setLockedAxes(bool locked_axes)
Definition NDEVRChart.h:38
const ConstPointer< Unit > & vUnit()
Definition NDEVRChart.h:46
QChart * m_base_chart
Definition NDEVRChart.h:77
void onHoveredSignal(Vertex< 3, fltp08 > vertex)
const ConstPointer< Unit > & coordinateUnit()
Definition NDEVRChart.h:44
void onSeriesClickedSignal(const PlotData &plot_data, Vertex< 3, fltp08 > vertex)
void onReleasedSignal(Vertex< 3, fltp08 > vertex)
void setLineSize(fltp04 line_size)
Definition NDEVRChart.h:40
Buffer< QValueAxis * > m_axes
Definition NDEVRChart.h:84
ConstPointer< Unit > m_coordinate_unit
Definition NDEVRChart.h:80
fltp04 m_line_size
Definition NDEVRChart.h:76
Buffer< PlotData > m_plot_data
Definition NDEVRChart.h:85
void onSeriesHoveredSignal(const PlotData &plot_data, Vertex< 3, fltp08 > vertex, bool hovered)
fltp04 m_point_size
Definition NDEVRChart.h:75
Bounds< 3, fltp08 > m_bounds
Definition NDEVRChart.h:83
Vertex< 3, fltp08 > m_relative_vertex
Definition NDEVRChart.h:82
const ConstPointer< Unit > & hUnit()
Definition NDEVRChart.h:45
Definition NDEVRChart.h:88
QValueAxis * m_angular_axis
Definition NDEVRChart.h:97
QValueAxis * m_radial_axis
Definition NDEVRChart.h:96
Matrix< fltp08 > m_transform
Definition NDEVRChart.h:99
QPolarChart * m_chart
Definition NDEVRChart.h:98
A polyline which stores vertex information for many points along a given path.
Definition CoordinateProjectionManager.h:44
The core String class for the software.
Definition String.h:47
Any text displayed to the user should be defined as a TranslatedString which allows the.
Definition TranslatedString.h:13
A vertex or point. A specific type of Vector used primarily for spacial location information.
Definition Vertex.hpp:48
float fltp04
Defines an alias representing a 4 byte floating-point number.
Definition BaseValues.hpp:152
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:115
@ Y
Definition BaseValues.hpp:197
@ X
Definition BaseValues.hpp:195
Definition BaseValues.hpp:267
Definition NDEVRChart.h:18
QPen pen
Definition NDEVRChart.h:22
Buffer< Vertex< 3, fltp08 > > point_data
Definition NDEVRChart.h:21
bool operator==(const PlotData &plot_data) const
Definition NDEVRChart.h:24
TranslatedString value
Definition NDEVRChart.h:19
Polyline< 3, fltp08 > line_data
Definition NDEVRChart.h:20