Flow Visualisation
Arrow.h
Go to the documentation of this file.
1 //
2 // Arrow.h
3 // flowviz
4 //
5 // Created by Johann Götz on 23.05.15.
6 // Copyright (c) 2015 Johann Götz. All rights reserved.
7 //
8 
9 #ifndef __flowviz__Arrow__
10 #define __flowviz__Arrow__
11 
12 #include <stdio.h>
13 #include "VertexGeometry.h"
14 #include "Geometry.h"
15 
16 namespace objects {
17 
18  class Arrow
19  {
20  private:
21  VertexGeometry m_vertexGeometry;
22  render::Geometry *m_geometry;
23 
24  glm::vec3 m_position;
25 
26  float m_arrowTime;
27 
28  public:
29  Arrow();
30  ~Arrow();
31 
33 
34  void update(float timer);
35  };
36 
37 }
38 
39 #endif /* defined(__flowviz__Arrow__) */
Stores all model information.
Definition: VertexGeometry.h:22
Definition: Arrow.h:18
Arrow()
Definition: Arrow.cpp:14
render::Geometry * get_geometry()
Definition: Arrow.cpp:71
void update(float timer)
Definition: Arrow.cpp:80
Definition: type_mat2x2.hpp:39
Represents a 3D Object in OpenGL.
Definition: Geometry.h:26
~Arrow()
Definition: Arrow.cpp:61
Definition: Arrow.h:16