ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
turntable.hpp File Reference
#include <array>
#include <chrono>
#include <cmath>
#include <memory>
#include <numbers>
Include dependency graph for turntable.hpp:

Go to the source code of this file.

Classes

struct  rux::view::TurntableState
 Shared state for the turntable orbit mode. More...

Namespaces

namespace  rux
namespace  rux::view

Functions

std::array< double, 3 > rux::view::orbit_camera_position (const std::array< double, 3 > &center, double radius, double azimuth_rad, double elevation_deg) noexcept
 Compute the camera world position for one turntable orbit step.
void rux::view::register_turntable_callbacks (std::shared_ptr< TurntableState > state, rux::VizualizationObserver &observer)
 Register turntable keyboard callbacks and wire up the per-tick orbit loop.