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{
7 /**--------------------------------------------------------------------------------------------------
8 \brief Creates an NDEVRRadialChart chart for models containing linework.
9 **/
11 {
12 Q_OBJECT
13 public:
14 TopDownLineworkChart(QWidget* parent = nullptr);
15 void updateData(const Buffer<Model>& models, bool align_with_scan);
16 void updateData(const Buffer<Model>& models, const Matrix<fltp08>& transform);
17 protected:
18 void addModel(const Model& deployment, const TranslatedString& point_names, const Matrix<fltp08>& transform, QPen pen);
19 void updateHint(TranslatedString title, const Vertex<3, fltp08>& vertex);
20 signals:
22 void onModelClickedSignal(const UUID& id, uint04 segment_index);
23 void onModelHoveredSignal(const UUID& id, uint04 segment_index, bool hovered);
24 protected slots:
25 void onHoveredSlot(const Vertex<3, fltp08>& vertex);
26 void clickedSlot(const PlotData& plot_data, Vertex<3, fltp08> vertex);
27 void hoveredSlot(const PlotData& plot_data, Vertex<3, fltp08> vertex, bool hovered);
28 protected:
30 };
31}
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
Definition Matrix.hpp:176
A core class that represents a node on model heirarchy. This node may contain a Geometry or one or mo...
Definition Model.h:58
Default radial (round) base chart for 2D line or scatter plots within the NDEVR API.
Definition NDEVRChart.h:95
Creates an NDEVRRadialChart chart for models containing linework.
Definition GeometryLineworkCharts.h:11
void onHoveredSlot(const Vertex< 3, fltp08 > &vertex)
void addModel(const Model &deployment, const TranslatedString &point_names, const Matrix< fltp08 > &transform, QPen pen)
void onModelHoveredSignal(const UUID &id, uint04 segment_index, bool hovered)
TopDownLineworkChart(QWidget *parent=nullptr)
Buffer< UUID > m_ids
Definition GeometryLineworkCharts.h:29
void onModelClickedSignal(const UUID &id, uint04 segment_index)
void updateData(const Buffer< Model > &models, bool align_with_scan)
void hoveredSlot(const PlotData &plot_data, Vertex< 3, fltp08 > vertex, bool hovered)
void onSceneHoveredSignal(const Vertex< 3, fltp08 > &vertex)
void updateData(const Buffer< Model > &models, const Matrix< fltp08 > &transform)
void clickedSlot(const PlotData &plot_data, Vertex< 3, fltp08 > vertex)
void updateHint(TranslatedString title, const Vertex< 3, fltp08 > &vertex)
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
Definition TranslatedString.h:13
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
Definition UUID.h:60
A vertex or point. A specific type of Vector used primarily for spacial location information.
Definition Vertex.hpp:48
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:96
Definition NDEVRChart.h:21