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

A chart that allows for the plotting of 2 Geometry Data sources as a scatter plot. More...

#include <CustomDesignChart.h>

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

Public Member Functions

Bounds< 2, fltp08bounds () const
 
 CustomDesignChart (DesignObjectLookup *lookup, QWidget *parent=nullptr)
 
void setBounds (const Bounds< 2, fltp08 > &bounds)
 
void setHorizontalParameter (const DesignParameter &param)
 
void setUUID (const UUID &id)
 
void setVerticalParameter (const DesignParameter &param)
 
void updateChart ()
 
- 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)
 
virtual Vertex< 3, fltp08positionToWorldSpace (const QPointF &point) const
 
virtual void prepareAxes ()
 
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 Attributes

Bounds< 2, fltp08m_bounds = Constant<Bounds<2, fltp08>>::Invalid
 
DesignObjectLookupm_manager = nullptr
 
Buffer< UUIDm_object_ids
 
DesignParameter m_parameters [2]
 
- 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]
 

Additional Inherited Members

- 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)
 
- Protected Slots inherited from NDEVRChart
void onSeriesClickedSlot (uint04 index, const QPointF &point)
 
void onSeriesHoveredSlot (uint04 index, const QPointF &point, bool state)
 
- Protected Member Functions inherited from NDEVRChart
void fontChanged ()
 
fltp04 getDefaultLineSize () const
 
fltp04 getDefaultMarkerSize () const
 
fltp04 getLineSize () const
 
fltp04 getMarkerSize () const
 
void init ()
 
virtual void plotData (uint04 index)
 

Detailed Description

A chart that allows for the plotting of 2 Geometry Data sources as a scatter plot.


Constructor & Destructor Documentation

◆ CustomDesignChart()

CustomDesignChart ( DesignObjectLookup * lookup,
QWidget * parent = nullptr )

Member Function Documentation

◆ bounds()

Bounds< 2, fltp08 > bounds ( ) const

◆ setBounds()

void setBounds ( const Bounds< 2, fltp08 > & bounds)

◆ setHorizontalParameter()

void setHorizontalParameter ( const DesignParameter & param)

◆ setUUID()

void setUUID ( const UUID & id)

◆ setVerticalParameter()

void setVerticalParameter ( const DesignParameter & param)

◆ updateChart()

void updateChart ( )

Member Data Documentation

◆ m_bounds

Bounds<2, fltp08> m_bounds = Constant<Bounds<2, fltp08>>::Invalid
protected

◆ m_manager

DesignObjectLookup* m_manager = nullptr
protected

◆ m_object_ids

Buffer<UUID> m_object_ids
protected

◆ m_parameters

DesignParameter m_parameters[2]
protected

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