0.2.0
Loading...
Searching...
No Matches
TouchTracker.hpp
Go to the documentation of this file.
1// This file is part of INSTINCT, the INS Toolkit for Integrated
2// Navigation Concepts and Training by the Institute of Navigation of
3// the University of Stuttgart, Germany.
4//
5// This Source Code Form is subject to the terms of the Mozilla Public
6// License, v. 2.0. If a copy of the MPL was not distributed with this
7// file, You can obtain one at https://mozilla.org/MPL/2.0/.
8
13
14#pragma once
15
16#include <imgui_node_editor.h>
17
18namespace NAV::gui
19{
22void TouchNode(ax::NodeEditor::NodeId id);
23
27float GetTouchProgress(ax::NodeEditor::NodeId id);
28
31void UpdateTouch(float deltaTime);
32
33} // namespace NAV::gui
float GetTouchProgress(ax::NodeEditor::NodeId id)
Get the Touch Progress for the specified node.
void TouchNode(ax::NodeEditor::NodeId id)
Trigger a touch event on the specified node.
void UpdateTouch(float deltaTime)
Updates the touch events for all nodes.