|
Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
|
Ray-sphere picking and camera HUD projection utilities for 3D molecular viewports. More...
#include "render3d/Camera3D.hpp"#include "render3d/Scene3D.hpp"#include <array>#include <cstddef>#include <optional>#include <string>

Go to the source code of this file.
Classes | |
| struct | correlation::render3d::CameraHudMetrics |
| Projected 2D axis endpoints and calibrated scale bar metrics derived from Camera3D. More... | |
Namespaces | |
| namespace | correlation |
| namespace | correlation::render3d |
Functions | |
| std::optional< std::size_t > | correlation::render3d::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 | correlation::render3d::computeCameraHudMetrics (const Camera3D &camera, float viewport_height_px) |
| Computes projected axis triad vectors and a nice-number Angstrom scale bar. | |
Ray-sphere picking and camera HUD projection utilities for 3D molecular viewports.