51 bool is_interacting = false) const noexcept;
LodRenderPolicy evaluatePolicy(std::size_t atom_count, bool is_interacting=false) const noexcept
Evaluates the active rendering policy.
Definition LodController.cpp:13
std::size_t medium_threshold_
Definition LodController.hpp:61
std::size_t high_threshold_
Definition LodController.hpp:60
std::size_t mediumThreshold() const noexcept
Definition LodController.hpp:54
void setHighThreshold(std::size_t threshold) noexcept
Definition LodController.hpp:56
constexpr LodController() noexcept=default
void setMediumThreshold(std::size_t threshold) noexcept
Definition LodController.hpp:57
std::size_t highThreshold() const noexcept
Definition LodController.hpp:53
Definition Camera3D.hpp:14
LodLevel
Definition LodController.hpp:19
@ Low
Systems > 25k atoms: Simplified point sprites, bonds suppressed during motion.
Definition LodController.hpp:22
@ High
Systems < 5k atoms: Full analytical ray-cast spheres and cylinder bonds.
Definition LodController.hpp:20
@ Medium
Systems 5k-25k atoms: Sphere impostors and line bonds.
Definition LodController.hpp:21
Effective rendering policy derived from LOD state and camera motion.
Definition LodController.hpp:29
LodLevel level
Current active LOD tier.
Definition LodController.hpp:30
float quality_scale
Sphere quality/resolution factor in [0.0, 1.0].
Definition LodController.hpp:33
bool render_bonds
Whether bond geometry should be rendered.
Definition LodController.hpp:31
bool render_wireframe
Whether simulation box lines should be rendered.
Definition LodController.hpp:32