Plan tour — TourPlanner picks the order and
the chosen viewpoint per stop. Defaults to
planTourTwoOpt (greedy NN seeded then refined by
2-opt swaps). Pass planTourGreedy directly via
params.planner to skip the refinement pass on time-
critical / headless paths.
Smooth — buildTourWaypoints inserts portal-
transit waypoints between adjacent room transitions and
emits the final flat waypoint list.
The defaults target IFC building models — supply a DataModel
paired with the SceneModel and the pipeline self-configures.
For non-IFC sources, override
CameraTourPlanParams.extractor with a geometry-fallback
extractor.
Returns the tour as pure data — playback against a View is
playCameraTour's job and is decoupled so the planner can run
headless (e.g. on a server to precompute tours).
Compose the four-stage camera-tour planning pipeline:
planTourGreedydirectly viaparams.plannerto skip the refinement pass on time- critical / headless paths.The defaults target IFC building models — supply a DataModel paired with the SceneModel and the pipeline self-configures. For non-IFC sources, override CameraTourPlanParams.extractor with a geometry-fallback extractor.
Returns the tour as pure data — playback against a
ViewisplayCameraTour's job and is decoupled so the planner can run headless (e.g. on a server to precompute tours).