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

#include <CustomDesignChart.h>

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

Public Member Functions

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

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

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

Constructor & Destructor Documentation

◆ CustomDesignChart()

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

Member Function Documentation

◆ bounds()

Bounds< 2, fltp08 > bounds ( ) const
inline

◆ setBounds()

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

◆ setHorizontalParameter()

void setHorizontalParameter ( const DesignParameter & param)
inline

◆ setUUID()

void setUUID ( const UUID & id)
inline

◆ setVerticalParameter()

void setVerticalParameter ( const DesignParameter & param)
inline

◆ updateChart()

void updateChart ( )
inline

Member Data Documentation

◆ m_bounds

Bounds<2, fltp08> m_bounds = Constant<Bounds<2, fltp08>>::NaN
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: