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

Creates an NDEVRRadialChart chart for models containing linework. More...

#include <GeometryLineworkCharts.h>

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

Signals

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

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
void addData (const PlotData &value)
 
void clearAll ()
 
const ConstPointer< Unit > & coordinateUnit ()
 
bool event (QEvent *event) override
 
const ConstPointer< Unit > & hUnit ()
 
void mouseMoveEvent (QMouseEvent *event) override
 
void mousePressEvent (QMouseEvent *event) override
 
void mouseReleaseEvent (QMouseEvent *event) override
 
 NDEVRChart (QChart *chart, QWidget *parent=nullptr)
 
 NDEVRChart (QWidget *parent=nullptr)
 
void redrawPlots ()
 
Bounds< 3, fltp08resolvedBounds (Bounds< 3, fltp08 > override_bounds=Constant< Bounds< 3, fltp08 > >::Invalid) const
 
void setDarkThemed (bool dark)
 
void setData (const Buffer< PlotData > &value)
 
void setData (const PlotData &value)
 
void setHUnit (const ConstPointer< Unit > &unit)
 
void setLineSize (fltp04 line_size)
 
void setLockedAxes (bool locked_axes)
 
void setPointSize (fltp04 point_size)
 
void setRelativeVertex (const Vertex< 3, fltp08 > &relative_vertex)
 
void setSideAxes (const String &x_name, const String &y_name)
 
void setTitle (const TranslatedString &title)
 
void setUnit (const ConstPointer< Unit > &unit)
 
void setVUnit (const ConstPointer< Unit > &unit)
 
void updateAxisScale (Bounds< 3, fltp08 > override_bounds=Constant< Bounds< 3, fltp08 > >::Invalid)
 
const ConstPointer< Unit > & vUnit ()
 

Protected Slots

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

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
void plotData (uint04 index) override
 
Vertex< 3, fltp08positionToWorldSpace (const QPointF &point) const override
 
void prepareAxes () override
 
- Protected Member Functions inherited from NDEVRChart
void fontChanged ()
 
fltp04 getDefaultLineSize () const
 
fltp04 getDefaultMarkerSize () const
 
fltp04 getLineSize () const
 
fltp04 getMarkerSize () const
 
void init ()
 

Protected Attributes

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

Detailed Description

Creates an NDEVRRadialChart chart for models containing linework.


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 file: