API Documentation
Loading...
Searching...
No Matches
GeometryLineworkCharts.h
Go to the documentation of this file.
1#pragma once
2#include <NDEVR/NDEVRChart.h>
3#include <NDEVR/Model.h>
4#include <NDEVR/SnapLocation.h>
5namespace NDEVR
6{
8 {
9 Q_OBJECT
10 public:
11 TopDownLineworkChart(QWidget* parent = nullptr);
12 void updateData(const Buffer<Model>& models, bool align_with_scan);
13 void updateData(const Buffer<Model>& models, const Matrix<fltp08>& transform);
14 protected:
15 void addModel(const Model& deployment, const TranslatedString& point_names, const Matrix<fltp08>& transform, QPen pen);
16 void updateHint(TranslatedString title, const Vertex<3, fltp08>& vertex);
17 signals:
19 void onModelClickedSignal(const UUID& id, uint04 segment_index);
20 void onModelHoveredSignal(const UUID& id, uint04 segment_index, bool hovered);
21 protected slots:
22 void onHoveredSlot(const Vertex<3, fltp08>& vertex);
23 void clickedSlot(const PlotData& plot_data, Vertex<3, fltp08> vertex);
24 void hoveredSlot(const PlotData& plot_data, Vertex<3, fltp08> vertex, bool hovered);
25 protected:
27 };
28}
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition Matrix.hpp:173
Definition Model.h:54
Definition NDEVRChart.h:88
Definition GeometryLineworkCharts.h:8
void onHoveredSlot(const Vertex< 3, fltp08 > &vertex)
Definition GeometryLineworkCharts.cpp:125
void addModel(const Model &deployment, const TranslatedString &point_names, const Matrix< fltp08 > &transform, QPen pen)
Definition GeometryLineworkCharts.cpp:59
void onModelHoveredSignal(const UUID &id, uint04 segment_index, bool hovered)
TopDownLineworkChart(QWidget *parent=nullptr)
Definition GeometryLineworkCharts.cpp:10
Buffer< UUID > m_ids
Definition GeometryLineworkCharts.h:26
void onModelClickedSignal(const UUID &id, uint04 segment_index)
void updateData(const Buffer< Model > &models, bool align_with_scan)
Definition GeometryLineworkCharts.cpp:18
void hoveredSlot(const PlotData &plot_data, Vertex< 3, fltp08 > vertex, bool hovered)
Definition GeometryLineworkCharts.cpp:132
void onSceneHoveredSignal(const Vertex< 3, fltp08 > &vertex)
void clickedSlot(const PlotData &plot_data, Vertex< 3, fltp08 > vertex)
Definition GeometryLineworkCharts.cpp:107
void updateHint(TranslatedString title, const Vertex< 3, fltp08 > &vertex)
Definition GeometryLineworkCharts.cpp:93
Definition TranslatedString.h:9
Definition UUID.h:66
A vertex.
Definition Vertex.hpp:54
Definition ACIColor.h:37
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:120
Definition NDEVRChart.h:18