Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
PhaseExportManager.hpp
Go to the documentation of this file.
1
8
9#pragma once
10
13#include <slint.h>
14
15#include <cstdint>
16#include <string>
17
18namespace correlation::app {
19
25public:
27
34 [[nodiscard]] static slint::Image renderHeatmapImage(const PhaseHeatmap2D &heatmap,
35 plotters::ColormapType colormap);
36
44 [[nodiscard]] static bool exportHeatmapPng(const std::string &filepath,
45 const PhaseHeatmap2D &heatmap,
46 plotters::ColormapType colormap);
47};
48
49} // namespace correlation::app
High-throughput scientific colormap engine and precomputed LUT service.
Data types, descriptor enums, crystal presets, and telemetry models for Phase Search.
static slint::Image renderHeatmapImage(const PhaseHeatmap2D &heatmap, plotters::ColormapType colormap)
Rasterizes a 2D phase distribution heatmap to a Slint display image.
Definition PhaseExportManager.cpp:36
static bool exportHeatmapPng(const std::string &filepath, const PhaseHeatmap2D &heatmap, plotters::ColormapType colormap)
Encodes and exports a 2D phase distribution heatmap as a PNG file.
Definition PhaseExportManager.cpp:71
Definition AppController.hpp:27
ColormapType
Supported scientific colormaps for scalar mapping.
Definition ColormapService.hpp:26
128x128 joint distribution histogram across two order parameters (X and Y).
Definition PhaseSearchTypes.hpp:116