19 void buildWindow(
const char* title,
bool* isOpening);
30 static constexpr const char* RNG_NAMES[] =
44 HaltonPerDigitScramble
47 static constexpr const char* GENERATOR_NAMES[] =
52 "Halton (Fixed Scramble)",
53 "Halton (Per-digit Scramble)"
62 struct ScatterPlotData
65 std::vector<float> xs;
66 std::vector<float> ys;
69 void resize(std::size_t size);
70 void reserve(std::size_t size);
71 int getPointCount()
const;
81 struct GeneratorSettings
84 int xAxisDimIndex = 0;
85 int yAxisDimIndex = 1;
86 bool useSampleFlow =
true;
89 void buildControlPanelContent();
90 void buildPlotterViewContent();
91 void safeguardParameters();
92 void genRngPoints(TSpan<float> out_xBuffer, TSpan<float> out_yBuffer)
const;
93 void genGeneratorPoints(TSpan<float> out_xBuffer, TSpan<float> out_yBuffer)
const;
95 std::vector<ScatterPlotData> m_scatterPlots;
96 std::vector<char> m_plotNameBuffer;
99 bool m_useParamSafeguards;
100 bool m_autoClearOnGenerate;
101 std::string m_paramSafeguardMessage;
102 RngSettings m_rngSettings;
103 GeneratorSettings m_generatorSettings;
105 bool m_isNormalizedFitRequested;