API Documentation
Loading...
Searching...
No Matches
TopDownLineworkChart Class Reference

#include <GeometryLineworkCharts.h>

Inheritance diagram for TopDownLineworkChart:
[legend]
Collaboration diagram for TopDownLineworkChart:
[legend]

Signals

void onSceneHoveredSignal (const Vertex< 3, fltp08 > &vertex)
 
void onModelClickedSignal (const UUID &id, uint04 segment_index)
 
void onModelHoveredSignal (const UUID &id, uint04 segment_index, bool hovered)
 
- Signals inherited from NDEVRChart
void onHoveredSignal (Vertex< 3, fltp08 > vertex)
 
void onPressedSignal (Vertex< 3, fltp08 > vertex)
 
void onReleasedSignal (Vertex< 3, fltp08 > vertex)
 
void onSeriesHoveredSignal (const PlotData &plot_data, Vertex< 3, fltp08 > vertex, bool hovered)
 
void onSeriesClickedSignal (const PlotData &plot_data, Vertex< 3, fltp08 > vertex)
 

Public Member Functions

 TopDownLineworkChart (QWidget *parent=nullptr)
 
void updateData (const Buffer< Model > &models, bool align_with_scan)
 
void updateData (const Buffer< Model > &models, const Matrix< fltp08 > &transform)
 
- Public Member Functions inherited from NDEVRRadialChart
 NDEVRRadialChart (QWidget *parent=nullptr)
 
- Public Member Functions inherited from NDEVRChart
 NDEVRChart (QWidget *parent=nullptr)
 
 NDEVRChart (QChart *chart, QWidget *parent=nullptr)
 
bool event (QEvent *event) override
 
void setSideAxes (const String &x_name, const String &y_name)
 
void setDarkThemed (bool dark)
 
void setTitle (const TranslatedString &title)
 
void addData (const PlotData &value)
 
void setData (const PlotData &value)
 
void setData (const Buffer< PlotData > &value)
 
void setLockedAxes (bool locked_axes)
 
void setPointSize (fltp04 point_size)
 
void setLineSize (fltp04 line_size)
 
void updateAxisScale (Bounds< 3, fltp08 > override_bounds=Constant< Bounds< 3, fltp08 > >::NaN)
 
void clearAll ()
 
void redrawPlots ()
 
const ConstPointer< Unit > & coordinateUnit ()
 
const ConstPointer< Unit > & hUnit ()
 
const ConstPointer< Unit > & vUnit ()
 
void setUnit (const ConstPointer< Unit > &unit)
 
void setHUnit (const ConstPointer< Unit > &unit)
 
void setVUnit (const ConstPointer< Unit > &unit)
 
void setRelativeVertex (const Vertex< 3, fltp08 > &relative_vertex)
 
void mouseMoveEvent (QMouseEvent *event) override
 
void mousePressEvent (QMouseEvent *event) override
 
void mouseReleaseEvent (QMouseEvent *event) override
 
Bounds< 3, fltp08resolvedBounds (Bounds< 3, fltp08 > override_bounds=Constant< Bounds< 3, fltp08 > >::NaN) const
 

Protected Slots

void onHoveredSlot (const Vertex< 3, fltp08 > &vertex)
 
void clickedSlot (const PlotData &plot_data, Vertex< 3, fltp08 > vertex)
 
void hoveredSlot (const PlotData &plot_data, Vertex< 3, fltp08 > vertex, bool hovered)
 
- Protected Slots inherited from NDEVRChart
void onSeriesHoveredSlot (uint04 index, const QPointF &point, bool state)
 
void onSeriesClickedSlot (uint04 index, const QPointF &point)
 

Protected Member Functions

void addModel (const Model &deployment, const TranslatedString &point_names, const Matrix< fltp08 > &transform, QPen pen)
 
void updateHint (TranslatedString title, const Vertex< 3, fltp08 > &vertex)
 
- Protected Member Functions inherited from NDEVRRadialChart
Vertex< 3, fltp08positionToWorldSpace (const QPointF &point) const override
 
void plotData (uint04 index) override
 
void prepareAxes () override
 
- Protected Member Functions inherited from NDEVRChart
void init ()
 
void fontChanged ()
 
fltp04 getDefaultMarkerSize () const
 
fltp04 getDefaultLineSize () const
 
fltp04 getLineSize () const
 
fltp04 getMarkerSize () const
 

Protected Attributes

Buffer< UUIDm_ids
 
- Protected Attributes inherited from NDEVRRadialChart
QValueAxis * m_radial_axis
 
QValueAxis * m_angular_axis
 
QPolarChart * m_chart
 
Matrix< fltp08m_transform
 
- Protected Attributes inherited from NDEVRChart
fltp04 m_point_size
 
fltp04 m_line_size
 
QChart * m_base_chart
 
bool m_is_dark = true
 
bool m_locked_axes = true
 
ConstPointer< Unitm_coordinate_unit
 
ConstPointer< Unitm_unit [2]
 
Vertex< 3, fltp08m_relative_vertex
 
Bounds< 3, fltp08m_bounds
 
Buffer< QValueAxis * > m_axes
 
Buffer< PlotDatam_plot_data
 

Constructor & Destructor Documentation

◆ TopDownLineworkChart()

TopDownLineworkChart ( QWidget * parent = nullptr)

Member Function Documentation

◆ addModel()

void addModel ( const Model & deployment,
const TranslatedString & point_names,
const Matrix< fltp08 > & transform,
QPen pen )
protected

◆ clickedSlot

void clickedSlot ( const PlotData & plot_data,
Vertex< 3, fltp08 > vertex )
protectedslot

◆ hoveredSlot

void hoveredSlot ( const PlotData & plot_data,
Vertex< 3, fltp08 > vertex,
bool hovered )
protectedslot

◆ onHoveredSlot

void onHoveredSlot ( const Vertex< 3, fltp08 > & vertex)
protectedslot

◆ onModelClickedSignal

void onModelClickedSignal ( const UUID & id,
uint04 segment_index )
signal

◆ onModelHoveredSignal

void onModelHoveredSignal ( const UUID & id,
uint04 segment_index,
bool hovered )
signal

◆ onSceneHoveredSignal

void onSceneHoveredSignal ( const Vertex< 3, fltp08 > & vertex)
signal

◆ updateData() [1/2]

void updateData ( const Buffer< Model > & models,
bool align_with_scan )

◆ updateData() [2/2]

void updateData ( const Buffer< Model > & models,
const Matrix< fltp08 > & transform )

◆ updateHint()

void updateHint ( TranslatedString title,
const Vertex< 3, fltp08 > & vertex )
protected

Member Data Documentation

◆ m_ids

Buffer<UUID> m_ids
protected

The documentation for this class was generated from the following files: