GlobeEngine
OrbitCollection.h
Go to the documentation of this file.
1 #ifndef ExoViewer_OrbitCollection_h
2 #define ExoViewer_OrbitCollection_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:
17  void clear();
18  void create(){};
19  void create(int _circleCount);
20  void addCircle();
21  void removeCircle();
22  void setCircleCount(int _circleCount);
23 
24  void createGeometry(std::vector<vmml::Vector3d> points);
25  void update();
26  void draw(std::shared_ptr<ge::Camera> _cam, bool _scaled, float _scaleFactor, int _numberOfRings, float _unitSize);
27 
28  private:
29  GLfloat alpha;
30  int circleCount;
31  };
32 
33 }
34 
35 #endif
Definition: DrawableComponent.h:25
void update()
Definition: OrbitCollection.cpp:98
OrbitCollection()
Definition: OrbitCollection.cpp:5
void setCircleCount(int _circleCount)
Definition: OrbitCollection.cpp:35
Definition: AstroCommon.h:18
void addCircle()
Definition: OrbitCollection.cpp:27
void removeCircle()
Definition: OrbitCollection.cpp:31
void create()
Definition: OrbitCollection.h:18
void draw(std::shared_ptr< ge::Camera > _cam, bool _scaled, float _scaleFactor, int _numberOfRings, float _unitSize)
Definition: OrbitCollection.cpp:80
Definition: OrbitCollection.h:11
~OrbitCollection()
Definition: OrbitCollection.cpp:10
void createGeometry(std::vector< vmml::Vector3d > points)
Definition: OrbitCollection.cpp:40
void clear()
Definition: OrbitCollection.cpp:15