Library globals

Namespace globals . dynamic_view

View source

SPDX-License-Identifier: GPL-2.0-or-later

NOTE! This copyright does *not* cover user models that use these Nasal
services by normal function calls - this is merely considered normal
use of the code, and does *not* fall under the heading of "derived
work."

Copyright (C) 2006-2008 by mfranz

Classes

Input

Class that reads a property value, applies factor & offset, clamps to min & max, and optionally lowpass filters.

ViewAxis

Class that maintains one sim/current-view/goal-*-offset-deg property.

fdms

disable menu entry and return for inappropriate FDMs (see Main/fg_init.cxx)

view_manager

Singleton class that manages a dynamic cockpit view by manipulating sim/current-view/goal-*-offset-deg properties.

Functions

clamp

cos

freeze

lookat

main_loop

Update loop for the whole dynamic view manager. It only runs if /sim/current-view/dynamic-view is true.

normatan

normdeg

npow

nsigmoid

pow

register

reset

resume

sigmoid

sin

Variables

BLEND_TIME

FREEZE_DURATION

cockpit_view

dynamic_view

elapsedN

elapsedN

enabled

enabled

fdm

loop_id

mouse_button

mouse_mode

original_resetView

original_resetView

panel_visibilityN

panel_visible