Molecule Viewer
 All Classes Functions Variables Enumerations Pages
Directions.hpp
1 #ifndef _DIRECTIONS_HPP_
2 #define _DIRECTIONS_HPP_
3 
4 #include "common.hpp"
5 
7 
11 class Directions {
12 
13 public:
14 
16  Directions();
17 
19  virtual ~Directions();
20 
22 
23  void generateViewMatrices(float distanceToMolecule);
24 
26  const glm::vec3 GetDirection(int i) const;
27 
29 
30  const glm::mat4 GetViewMatrix(int i) const;
31 
33  const int GetDirectionNumber() const;
34 
35 
36 private:
37 
39  void initDirections();
40 
42  std::vector<glm::vec3> * _directions;
43 
45  std::vector<glm::mat4> * _occlusionViewMatrices;
46 
48  int _directionCount;
49 };
50 
51 #endif //#ifndef _DIRECTIONS_HPP_