|
Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
|
Namespaces | |
| namespace | detail |
| namespace | vulkan |
Classes | |
| class | Camera3D |
| Manages camera positioning, orbit rotations, panning, zooming, and view-projection matrices. More... | |
| class | CpuRenderEngine |
| Offscreen CPU software rasterizer implementing IRenderEngine. More... | |
| class | SoftwareFramebuffer |
| Manages RGBA8 color pixels and Z-buffer for software rasterization. More... | |
| struct | RasterizerOptions |
| Configuration parameters for software rasterizer lighting and shading. More... | |
| class | SoftwareRasterizer |
| Executes software-rendered 3D visualization using depth-tested billboards and lines. More... | |
| struct | RgbaColor |
| 8-bit RGBA color representation for vertex colors and framebuffers. More... | |
| struct | ViewportDimensions |
| Width and height in pixels for the rendering viewport. More... | |
| struct | GpuHaloConfig |
| Configuration parameters for GPU-driven halo visualization. More... | |
| struct | RenderStyleConfig |
| Visual shading and background styling configuration for 3D render engines. More... | |
| class | IRenderEngine |
| Abstract interface representing a headless offscreen 3D rendering backend. More... | |
| struct | LodRenderPolicy |
| Effective rendering policy derived from LOD state and camera motion. More... | |
| class | LodController |
| Evaluates active LOD policies based on atom count and camera interaction state. More... | |
| class | Vector4 |
| Stack-allocated 4D homogeneous vector. More... | |
| class | Matrix4 |
| 4x4 column-major transformation matrix. More... | |
| class | Quaternion |
| Unit quaternion for robust 3D rotation representation without gimbal lock. More... | |
| struct | RgbaPixel |
| Standard 32-bit RGBA pixel representation. More... | |
| struct | PlotImageBuffer |
| Raw RGBA pixel buffer generated by MiniPlotRenderer. More... | |
| struct | PeakInfo |
| Detected peak position on a 1D distribution profile. More... | |
| struct | MiniPlotConfig |
| Configuration parameters for MiniPlot rendering. More... | |
| class | MiniPlotRenderer |
| High-performance 2D software renderer for distribution mini-charts. More... | |
| struct | CameraHudMetrics |
| Projected 2D axis endpoints and calibrated scale bar metrics derived from Camera3D. More... | |
| class | RenderEngineFactory |
| Constructs initialized IRenderEngine instances with fallback handling. More... | |
| struct | AtomInstance |
| Visual instance of an atom for 3D rendering. More... | |
| struct | BondInstance |
| Visual instance of a covalent or ionic bond connecting two atoms. More... | |
| struct | LineSegment |
| 3D line segment for wireframe rendering (e.g. simulation box boundaries). More... | |
| class | Scene3D |
| Aggregates atomic coordinates, bonds, and unit cell wireframes for rendering. More... | |
| class | TrajectoryStreamer |
| Streams trajectory snapshot frames into Scene3D with zero vector reallocation. More... | |
| class | VulkanContext |
| Inspects host Vulkan drivers and physical devices for headless rendering. More... | |
| class | VulkanRenderEngine |
| Headless Vulkan offscreen rendering pipeline producing RGBA pixel buffers. More... | |
Enumerations | |
| enum class | ProjectionMode : std::uint8_t { Perspective = 0 , Orthographic = 1 } |
| Projection mode for 3D camera rendering. More... | |
| enum class | LodLevel { High , Medium , Low } |
| enum class | BackendPreference { Auto , VulkanOnly , CpuOnly } |
Functions | |
| constexpr int | getAtomicNumber (std::string_view symbol) noexcept |
| Retrieves the atomic number (Z) for a chemical symbol. | |
| constexpr RgbaColor | getElementColor (int atomic_number) noexcept |
| Retrieves standard CPK color for a given atomic number in O(1) time. | |
| constexpr RgbaColor | getElementColor (std::string_view symbol) noexcept |
| Retrieves standard CPK color for a chemical symbol, or a categorical color for numeric LAMMPS atom types ("1", "2", ...). | |
| float | getElementDisplayRadius (std::string_view symbol, float scale=0.4F) |
| Retrieves visualization sphere radius scaled from covalent radius. | |
| std::optional< std::size_t > | pickAtom (const Camera3D &camera, const Scene3D &scene, float norm_x, float norm_y) noexcept |
| Picks the closest visible atom sphere intersected by a viewport click ray. | |
| CameraHudMetrics | computeCameraHudMetrics (const Camera3D &camera, float viewport_height_px) |
| Computes projected axis triad vectors and a nice-number Angstrom scale bar. | |
Variables | |
| constexpr std::array< RgbaColor, 119 > | ELEMENT_COLORS |
| Full 118-element CPK lookup table based on official ASE/Jmol standards. | |
|
strong |
|
strong |
|
strong |
|
nodiscard |
Computes projected axis triad vectors and a nice-number Angstrom scale bar.
| [in] | camera | Active 3D orbit camera. |
| [in] | viewport_height_px | Height of the 3D viewport in pixels. |

|
nodiscardconstexprnoexcept |
Retrieves the atomic number (Z) for a chemical symbol.
| symbol | Element symbol (e.g. "H", "Fe", "Si"). |

|
nodiscardconstexprnoexcept |
Retrieves standard CPK color for a given atomic number in O(1) time.
| atomic_number | Atomic number (Z). |

|
nodiscardconstexprnoexcept |
Retrieves standard CPK color for a chemical symbol, or a categorical color for numeric LAMMPS atom types ("1", "2", ...).
| symbol | Element symbol (e.g. "H", "Fe", "Si", or "1"). |

|
inlinenodiscard |
Retrieves visualization sphere radius scaled from covalent radius.
| symbol | Element symbol. |
| scale | Scaling factor (default 0.4 for ball-and-stick). |

|
nodiscardnoexcept |
Picks the closest visible atom sphere intersected by a viewport click ray.
| [in] | camera | Active 3D orbit camera. |
| [in] | scene | Active 3D molecular scene. |
| [in] | norm_x | Normalized horizontal viewport coordinate in [0, 1] (left to right). |
| [in] | norm_y | Normalized vertical viewport coordinate in [0, 1] (top to bottom). |

|
inlineconstexpr |
Full 118-element CPK lookup table based on official ASE/Jmol standards.
Index 0 holds the fallback color (Deep Pink {255, 20, 147, 255}) for unassigned or invalid Z. Indices 1 to 118 map directly to elements H (Z=1) through Og (Z=118) in O(1) time.