42 std::array<float, 4>
halo_color{1.0F, 0.84F, 0.0F, 1.0F};
82 virtual void setScene(std::shared_ptr<const Scene3D> scene) = 0;
125 [[nodiscard]] virtual std::string_view
backendName() const noexcept = 0;
Orbit and arcball camera model for interactive 3D molecular visualization.
Data types, descriptor enums, crystal presets, and telemetry models for Phase Search.
Scene graph and geometric instances (atoms, bonds, lattice lines) for 3D visualization.
Manages camera positioning, orbit rotations, panning, zooming, and view-projection matrices.
Definition Camera3D.hpp:29
Abstract interface representing a headless offscreen 3D rendering backend.
Definition IRenderEngine.hpp:61
virtual void resize(const ViewportDimensions &dimensions)=0
Resizes the underlying framebuffer.
virtual ~IRenderEngine()=default
virtual void setScene(std::shared_ptr< const Scene3D > scene)=0
Assigns the active molecular scene to render.
virtual std::span< const uint8_t > renderFrame()=0
Executes a single frame render and returns RGBA8 pixel span.
virtual std::string_view backendName() const noexcept=0
Human-readable name of the backend.
virtual void setCamera(const Camera3D &camera)=0
Updates camera parameters for viewpoint transformation.
virtual std::string deviceName() const
Human-readable name of the active rendering device (e.g. GPU model or CPU).
Definition IRenderEngine.hpp:131
virtual void setFeatureVisibility(bool, bool)
Sets visibility flags for optional features (bonds, wireframe).
Definition IRenderEngine.hpp:95
virtual void setGpuHaloConfig(const GpuHaloConfig &)
Configures GPU-driven halo and phase search computation.
Definition IRenderEngine.hpp:101
virtual bool isHardwareAccelerated() const noexcept=0
Indicates if the engine uses hardware GPU acceleration.
virtual ViewportDimensions dimensions() const noexcept=0
Current viewport pixel dimensions.
virtual void setRenderStyle(const RenderStyleConfig &)
Configures visual shading parameters (depth cueing, background color).
Definition IRenderEngine.hpp:107
virtual bool initialize(const ViewportDimensions &dimensions)=0
Initializes the rendering engine and framebuffer with dimensions.
PhaseDescriptor
Bond-orientational order parameter descriptors available for phase filtering.
Definition PhaseSearchTypes.hpp:23
@ Q6Bar
Lechner-Dellago averaged q̄₆ (primary crystal symmetry descriptor).
Definition PhaseSearchTypes.hpp:24
Definition Camera3D.hpp:14
Configuration parameters for GPU-driven halo visualization.
Definition IRenderEngine.hpp:35
std::array< float, 4 > halo_color
Definition IRenderEngine.hpp:42
float halo_intensity
Definition IRenderEngine.hpp:41
float max_threshold
Definition IRenderEngine.hpp:39
bool enabled
Definition IRenderEngine.hpp:36
app::PhaseDescriptor descriptor
Definition IRenderEngine.hpp:37
float halo_radius_ratio
Definition IRenderEngine.hpp:40
bool dim_non_matching
Definition IRenderEngine.hpp:43
float min_threshold
Definition IRenderEngine.hpp:38
bool hide_non_matching
Definition IRenderEngine.hpp:44
Visual shading and background styling configuration for 3D render engines.
Definition IRenderEngine.hpp:51
RgbaColor background_color
Definition IRenderEngine.hpp:54
bool depth_cueing
Definition IRenderEngine.hpp:52
bool ssao_enabled
Definition IRenderEngine.hpp:53
8-bit RGBA color representation for vertex colors and framebuffers.
Definition ElementColors.hpp:23
Width and height in pixels for the rendering viewport.
Definition IRenderEngine.hpp:26
uint32_t height
Vertical pixel resolution.
Definition IRenderEngine.hpp:28
uint32_t width
Horizontal pixel resolution.
Definition IRenderEngine.hpp:27