|
Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
|
Namespaces | |
| namespace | detail |
| namespace | layout |
Classes | |
| class | ColormapService |
| High-throughput, perceptually uniform scientific colormap engine. More... | |
| struct | Glyph |
| Represents a single vector character glyph. More... | |
| struct | TextRenderParameters |
| Parameters for vector text rendering. More... | |
| struct | GlyphParameters |
| Parameters for registering a vector character glyph. More... | |
| class | Roboto |
| High-fidelity Roboto vector font implementation. More... | |
| struct | ComparisonQuery |
| Parameters defining a multi-dataset comparison PDF query. More... | |
| struct | ReferenceLine |
| User-defined reference marker line (constant X or constant Y). More... | |
| struct | PlotConfig |
| Theme and layout configuration for the plot. More... | |
| struct | MetricPlotSettings |
| User-configured axis limits, ticks, and scaling for a specific plot metric. More... | |
| struct | HoverInfo |
| Information about the mouse hover position. More... | |
| struct | CurveStyle |
| Custom rendering style for individual comparison curves. More... | |
| struct | LabeledHistogram |
| A labeled histogram for comparison rendering. More... | |
| struct | RgbaColor |
| 8-bit RGBA color representation for vertex colors and framebuffers. More... | |
Typedefs | |
| using | Point2D = std::pair<real_t, real_t> |
Enumerations | |
| enum class | ColormapType : uint8_t { Viridis = 0 , Plasma = 1 , Coolwarm = 2 , Turbo = 3 } |
| Supported scientific colormaps for scalar mapping. More... | |
| enum class | TextAnchor : std::uint8_t { Start , Middle , End } |
| Horizontal alignment / anchor options for SVG text rendering. More... | |
Functions | |
| void | renderHistogramAsPdf (const correlation::analysis::Histogram &hist, const std::string &filepath, const PlotConfig &config=PlotConfig()) |
| Renders a single histogram dataset to a PDF document file. | |
| void | renderComparisonPdf (const std::vector< LabeledHistogram > &datasets, const ComparisonQuery &query, const PlotConfig &config=PlotConfig()) |
| Renders an overlaid multi-dataset comparison plot to a PDF document file. | |
| real_t | sampleHistogramClamped (const std::vector< real_t > &x_bins, const std::vector< real_t > &y_vals, real_t x_val) |
| Samples a 1D dataset y(x) at point x using linear interpolation with boundary clamping to [x_min, x_max]. | |
| std::string | renderTextAsPath (const std::string &text, real_t x_pos, real_t y_pos, real_t size, TextAnchor anchor, std::string_view color, bool use_native_text=false) |
| Renders text as a filled SVG path using the Roboto outline font. Uses evenodd fill-rule to render the font's inner holes properly. | |
| void | renderHistogramAsPng (const correlation::analysis::Histogram &hist, const std::string &filepath, const PlotConfig &config={}, const std::map< std::string, real_t > &ashcroft_weights={}, int dpi=300) |
| Renders a single histogram dataset as a high-resolution PNG image. | |
| void | renderComparisonPng (const std::vector< LabeledHistogram > &datasets, const std::string &partial_key, const std::string &filepath, const PlotConfig &config={}, int dpi=300) |
| Renders multiple comparison histograms as a high-resolution PNG image. | |
| std::string | renderComparisonSvg (const std::vector< LabeledHistogram > &datasets, const std::string &partial_key="Total", const PlotConfig &config=PlotConfig(), const HoverInfo &hover=HoverInfo()) |
| Renders multiple histograms overlaid on a single comparison plot as an SVG string. | |
| std::string | renderHistogramAsSvg (const correlation::analysis::Histogram &hist, const PlotConfig &config=PlotConfig(), const HoverInfo &hover=HoverInfo(), const std::map< std::string, real_t > &weights={}, const std::map< std::string, bool > &curve_visibility={}, const std::map< std::string, std::string > &custom_colors={}) |
| Renders a single Histogram as a self-contained SVG string. | |
| using correlation::plotters::Point2D = std::pair<real_t, real_t> |
|
strong |
|
strong |
| void correlation::plotters::renderComparisonPdf | ( | const std::vector< LabeledHistogram > & | datasets, |
| const ComparisonQuery & | query, | ||
| const PlotConfig & | config = PlotConfig() ) |
Renders an overlaid multi-dataset comparison plot to a PDF document file.
| datasets | Collection of labeled histogram datasets. |
| query | Comparison query specifying key and destination filepath. |
| config | Canvas layout, colors, and font configuration. |


| void correlation::plotters::renderComparisonPng | ( | const std::vector< LabeledHistogram > & | datasets, |
| const std::string & | partial_key, | ||
| const std::string & | filepath, | ||
| const PlotConfig & | config = {}, | ||
| int | dpi = 300 ) |
Renders multiple comparison histograms as a high-resolution PNG image.
| datasets | Vector of labeled histogram comparison datasets. |
| partial_key | Target partial histogram key (e.g. "Total", "Si-O"). |
| filepath | Output PNG file path. |
| config | Visualization and canvas layout configuration. |
| dpi | Target DPI resolution (e.g. 150, 300, 600). |

|
nodiscard |
Renders multiple histograms overlaid on a single comparison plot as an SVG string.
| datasets | Collection of labeled histogram datasets to compare. |
| partial_key | Partial key to visualize across datasets (default "Total"). |
| config | Canvas layout, themes, and configuration. |
| hover | Real-time hover cursor coordinates and dimensions. |


| void correlation::plotters::renderHistogramAsPdf | ( | const correlation::analysis::Histogram & | hist, |
| const std::string & | filepath, | ||
| const PlotConfig & | config = PlotConfig() ) |
Renders a single histogram dataset to a PDF document file.
| hist | Input histogram dataset. |
| filepath | Destination filesystem path. |
| config | Canvas layout, colors, and font configuration. |


| void correlation::plotters::renderHistogramAsPng | ( | const correlation::analysis::Histogram & | hist, |
| const std::string & | filepath, | ||
| const PlotConfig & | config = {}, | ||
| const std::map< std::string, real_t > & | ashcroft_weights = {}, | ||
| int | dpi = 300 ) |
Renders a single histogram dataset as a high-resolution PNG image.
| hist | Input histogram data. |
| filepath | Output PNG file path. |
| config | Visualization and canvas layout configuration. |
| ashcroft_weights | Partial weighting map for Ashcroft-Langreth scaling. |
| dpi | Target DPI resolution (e.g. 150, 300, 600). |

|
nodiscard |
Renders a single Histogram as a self-contained SVG string.
| hist | Input histogram dataset. |
| config | Canvas layout, themes, and configuration. |
| hover | Real-time hover cursor coordinates and dimensions. |
| weights | Partial weighting map for Ashcroft-Langreth scaling. |
| curve_visibility | Selective curve visibility map. |
| custom_colors | Explicit color override map per partial key. |

|
inline |
Renders text as a filled SVG path using the Roboto outline font. Uses evenodd fill-rule to render the font's inner holes properly.
