0.4.1
Loading...
Searching...
No Matches
FlowAnimation.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
9
/// @file FlowAnimation.hpp
10
/// @brief Handles Flow animations
11
/// @author T. Topp (topp@ins.uni-stuttgart.de)
12
/// @date 2021-12-13
13
14
#pragma once
15
16
#include <imgui_node_editor.h>
17
18
namespace
NAV::FlowAnimation
19
{
20
21
/// @brief Thread safe flow animaton of links
22
/// @param[in] id Id of the link to animate the flow with
23
/// @param[in] direction The direction to show the flow
24
void
Add
(ax::NodeEditor::LinkId
id
, ax::NodeEditor::FlowDirection direction = ax::NodeEditor::FlowDirection::Forward);
25
26
/// @brief Triggers the queued flow animations
27
void
ProcessQueue
();
28
29
}
// namespace NAV::FlowAnimation
NAV::FlowAnimation
Definition
FlowAnimation.hpp:19
NAV::FlowAnimation::Add
void Add(ax::NodeEditor::LinkId id, ax::NodeEditor::FlowDirection direction=ax::NodeEditor::FlowDirection::Forward)
Thread safe flow animaton of links.
Definition
FlowAnimation.cpp:25
NAV::FlowAnimation::ProcessQueue
void ProcessQueue()
Triggers the queued flow animations.
Definition
FlowAnimation.cpp:34
src
internal
gui
FlowAnimation.hpp
Generated by
1.13.2