2#include <NDEVR/NDEVRChart.h>
3#include <NDEVR/QTDesignObject.h>
4#include <NDEVR/QCustomCombobox.h>
5#include <NDEVR/QCustomLabel.h>
6#include <NDEVR/DesignParameter.h>
7#include <NDEVR/DesignParameterAccumulator.h>
8#include <NDEVR/SnapLocation.h>
9#include <NDEVR/DesignObjectLookup.h>
10#include <NDEVR/FeatureOptions.h>
11#include <NDEVR/Translator.h>
73 uint04 jump = (initial_data.
size() / 10000) + 1;
74 for (
uint04 i = 0; i < initial_data.
size(); i += jump)
122 setWindowTitle(
_tqs(
"Plot Data"));
123 QVBoxLayout* layout =
new QVBoxLayout();
155 QHBoxLayout* h_layout =
new QHBoxLayout();
166 layout->addLayout(h_layout);
230 display_items.
add(params[i].displayName());
231 items.
add(params[i].stringID());
233 combo->
setup(title, items, display_items);
#define _t(english_string)
Definition Translator.h:87
#define _td(def, english_string)
Definition Translator.h:91
A bitset that stores 8 bits (elements with only two possible values: 0 or 1, true or false,...
Definition BitFlag.hpp:68
A specification of upper and lower bounds in N-dimensions.
Definition Bounds.hpp:57
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
void add(t_type &&object)
Definition Buffer.hpp:199
constexpr t_index_type size() const
Definition Buffer.hpp:1461
void removeIndex(t_index_type location)
Definition Buffer.hpp:1037
Definition GraphicsPipeline.h:42
Definition CustomDesignChart.h:109
QCustomLineEdit * m_v_max_edit
Definition CustomDesignChart.h:243
CustomDesignChart * m_chart
Definition CustomDesignChart.h:237
QCustomLineEdit * m_h_max_edit
Definition CustomDesignChart.h:241
QCustomComboBox * m_v_combo
Definition CustomDesignChart.h:239
DynamicPointer< QTDesignObject > m_object
Definition CustomDesignChart.h:236
void setupLineEdit(const TranslatedString &label, QCustomLineEdit *edit, uint01 min_max, uint01 axis)
Definition CustomDesignChart.h:171
QCustomLineEdit * m_h_min_edit
Definition CustomDesignChart.h:240
void clearBounds()
Definition CustomDesignChart.h:185
QCustomComboBox * m_h_combo
Definition CustomDesignChart.h:238
QCustomLineEdit * m_v_min_edit
Definition CustomDesignChart.h:242
void setupCombo(const TranslatedString &title, QCustomComboBox *combo)
Definition CustomDesignChart.h:194
CustomDesignChartDialog(const DynamicPointer< QTDesignObject > &object, QWidget *parent=nullptr)
Definition CustomDesignChart.h:111
Definition CustomDesignChart.h:16
Bounds< 2, fltp08 > m_bounds
Definition CustomDesignChart.h:104
void updateChart()
Definition CustomDesignChart.h:24
void setHorizontalParameter(const DesignParameter ¶m)
Definition CustomDesignChart.h:84
void setVerticalParameter(const DesignParameter ¶m)
Definition CustomDesignChart.h:89
Buffer< UUID > m_object_ids
Definition CustomDesignChart.h:102
DesignObjectLookup * m_manager
Definition CustomDesignChart.h:103
CustomDesignChart(DesignObjectLookup *lookup, QWidget *parent=nullptr)
Definition CustomDesignChart.h:18
DesignParameter m_parameters[2]
Definition CustomDesignChart.h:101
Bounds< 2, fltp08 > bounds() const
Definition CustomDesignChart.h:98
void setUUID(const UUID &id)
Definition CustomDesignChart.h:94
void setBounds(const Bounds< 2, fltp08 > &bounds)
Definition CustomDesignChart.h:99
Definition DesignObjectLookup.h:61
Buffer< Model > getModelsByID(const Buffer< UUID > &ids) const
Definition DesignObjectLookup.cpp:1588
Definition DesignParameterAccumulator.h:57
Buffer< fltp08 > float_values
Definition DesignParameterAccumulator.h:120
@ e_get_floats
Definition DesignParameterAccumulator.h:68
Definition DesignParameterAccumulator.h:45
Buffer< DesignParameter > parameters
Definition DesignParameterAccumulator.h:52
Definition DesignParameter.h:42
ConstPointer< Unit > defaultUnit() const
Definition DesignParameter.cpp:175
Definition Pointer.hpp:303
static String supports_scanner
Definition FeatureOptions.h:21
static bool IsFeatureEnabled(const String &resource)
Definition FeatureOptions.cpp:112
bool use_unit
Definition ModelIterator.h:77
void parseAll(const Model &model)
Definition ModelIterator.cpp:27
Definition NDEVRChart.h:14
ConstPointer< Unit > m_unit[2]
Definition NDEVRChart.h:81
void updateAxisScale(Bounds< 3, fltp08 > override_bounds=Constant< Bounds< 3, fltp08 > >::NaN)
Definition NDEVRChart.cpp:423
void setTitle(const TranslatedString &title)
Definition NDEVRChart.cpp:108
bool m_locked_axes
Definition NDEVRChart.h:79
void setSideAxes(const String &x_name, const String &y_name)
Definition NDEVRChart.cpp:65
void clearAll()
Definition NDEVRChart.cpp:408
void setData(const PlotData &value)
Definition NDEVRChart.cpp:123
ConstPointer< Unit > m_coordinate_unit
Definition NDEVRChart.h:80
Definition QCustomCombobox.h:47
void setup(const TranslatedString &title, const Buffer< TranslatedString > &values)
Definition QCustomCombobox.cpp:198
t_type getAs() const
Definition QCustomCombobox.h:191
Definition QCustomLabel.h:42
Definition QCustomLineEdit.h:118
void setup(const TranslatedString &title)
Definition QCustomLineEdit.h:156
fltp08 getUnitValue(bool allow_placeholder=true) const
Definition QCustomLineEdit.cpp:300
void setPlaceholderText(const QString &value)
Definition QCustomLineEdit.cpp:670
void setAllowPlaceholderAsValue(bool allow)
Definition QCustomLineEdit.cpp:445
QCustomValidator & customValidator()
Definition QCustomLineEdit.cpp:56
void editingFinishedSignal()
void setConstantUnit(const ConstPointer< Unit > &unit, uint01 dimension=Constant< uint01 >::NaN)
Definition QCustomLineEdit.cpp:64
void setAllowEmpty(bool allow_empty)
Definition QCustomValidator.h:76
Represents a color in the RGB space with optional alpha transparency.
Definition RGBColor.h:53
t_type getAs() const
Definition String.h:334
Definition TranslatedString.h:9
NDEVR_BASE_API const String & translation() const
Definition TranslatedString.cpp:104
An element of a vector space. An element of the real coordinate space Rn Basis vector,...
Definition Vector.hpp:62
A vertex.
Definition Vertex.hpp:54
@ MIN
Definition BaseValues.hpp:226
@ MAX
Definition BaseValues.hpp:227
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:98
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:120
constexpr bool isNaN(const t_type &value)
Query if 'value' is valid or invalid.
Definition BaseFunctions.hpp:200
@ Y
Definition BaseValues.hpp:202
@ X
Definition BaseValues.hpp:200
@ Z
Definition BaseValues.hpp:204
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:181
Definition BaseValues.hpp:272
Definition NDEVRChart.h:18
QPen pen
Definition NDEVRChart.h:22
Buffer< Vertex< 3, fltp08 > > point_data
Definition NDEVRChart.h:21