Flow Visualisation
flow.h
Go to the documentation of this file.
1 //
2 // flow.h
3 // flowviz
4 //
5 // Created by Johann Götz on 05.06.15.
6 // Copyright (c) 2015 Johann Götz. All rights reserved.
7 //
8 
9 #ifndef flowviz_flow_h
10 #define flowviz_flow_h
11 
12 #include "glm.hpp"
13 
15 
19 struct Animation {
20  bool active;
21  float timeframe;
22  float elapsedTime;
23 
25 
26  Animation() : active(false) { }
27 };
28 
35  float startTime;
36 
38 };
39 
46 
48 };
49 
50 #endif
Additional information for movement animations.
Definition: flow.h:32
Animation()
Definition: flow.h:26
MoveAnimation()
Definition: flow.h:37
float finalTransparency
Definition: flow.h:45
Additional information for transparency animations.
Definition: flow.h:43
glm::vec3 currentPosition
Definition: flow.h:33
TransparencyAnimation()
Definition: flow.h:47
float startTime
Definition: flow.h:35
Definition: type_mat2x2.hpp:39
float currentTransparency
Definition: flow.h:44
AnimationType animationType
Definition: flow.h:24
float timeframe
Definition: flow.h:21
Definition: flow.h:14
Struct to store relevant information for arrow animations.
Definition: flow.h:19
AnimationType
Definition: flow.h:14
bool active
Definition: flow.h:20
Definition: flow.h:14
float elapsedTime
Definition: flow.h:22
glm::vec3 finalPosition
Definition: flow.h:34