2#include <NDEVR/NDEVRChart.h>
4#include <NDEVR/Deployment.h>
5#include <NDEVR/SnapLocation.h>
9 class TopDownDeploymentChart :
public NDEVRRadialChart
12 TopDownDeploymentChart(QWidget* parent =
nullptr);
13 void updateData(
const Buffer<Deployment>& deployments,
bool align_with_hole);
15 void updateData(
const Buffer<Deployment>& deployments,
const Matrix<fltp08>& transform);
17 void addDeployment(
const Deployment& deployment,
const TranslatedString& point_names,
const Matrix<fltp08>& transform, QPen pen);
20 Buffer<UUID> m_deployment_ids;
22 class SideViewDeploymentChart :
public NDEVRChart
26 explicit SideViewDeploymentChart(QWidget* parent =
nullptr);
27 void updateData(
const Buffer<Deployment>& deployments, SnapLocation snap_location);
28 void updateData(
const Buffer<Deployment>& deployments,
const Matrix<fltp08>& transform);
29 void setLockedAxes(
bool locked_axes);
30 bool hasLockedAxes()
const;
32 void onDeploymentClickedSignal(
const UUID& deployment, uint04 segment_index);
33 void onDeploymentHoveredSignal(
const UUID& deployment, uint04 segment_index,
bool hovered);
35 void clickedSlot(
const PlotData& plot_data, Vertex<3, fltp08> vertex);
36 void hoveredSlot(
const PlotData& plot_data, Vertex<3, fltp08> vertex,
bool hovered);
38 void drawOriginAxis(fltp08 size);
39 void addDeployment(
const Deployment& deployment,
const String& point_names,
const Matrix<fltp08>& transform, QPen pen);
41 QValueAxis* m_bot_axis;
42 QValueAxis* m_left_axis;
43 Buffer<UUID> m_deployment_ids;
44 bool m_is_updating_chart =
false;