GlobeEngine
OrbitDrawable.h
Go to the documentation of this file.
1 #ifndef ExoViewer_OrbitDrawable_h
2 #define ExoViewer_OrbitDrawable_h
3 
4 #include "OpenGL_Includes.h"
5 #include "DrawableComponent.h"
6 #include "Texture.h"
7 #include "vmmlib/vector.hpp"
8 
9 namespace geAstro{
10 
12 {
13 public:
14 public:
15  OrbitDrawable();
17  void clear();
18  void create() {};
19  void create(std::vector<vmml::Vector3d> points);
20  void update();
21  void draw(std::shared_ptr<ge::Camera> _cam);
22  void setAlpha(GLfloat _alpha);
23 
24 private:
25  GLfloat alpha;
26 
27 };
28 
29 }
30 
31 #endif
Definition: DrawableComponent.h:25
Definition: OrbitDrawable.h:11
Definition: AstroCommon.h:18
void update()
Definition: OrbitDrawable.cpp:73
void create()
Definition: OrbitDrawable.h:18
~OrbitDrawable()
Definition: OrbitDrawable.cpp:11
void setAlpha(GLfloat _alpha)
Definition: OrbitDrawable.cpp:77
OrbitDrawable()
Definition: OrbitDrawable.cpp:6
void draw(std::shared_ptr< ge::Camera > _cam)
Definition: OrbitDrawable.cpp:55
void clear()
Definition: OrbitDrawable.cpp:16