vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
query.h
Go to the documentation of this file.
1 #ifndef QUERY_H_
2 #define QUERY_H_
3 
4 #include "queryinterpret.h"
5 
6 namespace AP_LSystem {
11 class Query
12 {
13 private:
14  // dont create an instances
15  Query(){};
16 public:
20  static double positionX( const double * )
21  {
22  return QueryInterpret::get()->positionX();
23  }
24 
28  static double positionY( const double * )
29  {
30  return QueryInterpret::get()->positionY();
31  }
32 
36  static double positionZ( const double * )
37  {
38  return QueryInterpret::get()->positionZ();
39  }
40 
44  static double headingX( const double * )
45  {
46  return QueryInterpret::get()->headingX();
47  }
48 
52  static double headingY( const double * )
53  {
54  return QueryInterpret::get()->headingY();
55  }
56 
60  static double headingZ( const double * )
61  {
62  return QueryInterpret::get()->headingZ();
63  }
64 
68  static double upX( const double * )
69  {
70  return QueryInterpret::get()->upX();
71  }
72 
76  static double upY( const double * )
77  {
78  return QueryInterpret::get()->upY();
79  }
80 
84  static double upZ( const double * )
85  {
86  return QueryInterpret::get()->upZ();
87  }
88 
92  static double leftX( const double * )
93  {
94  return QueryInterpret::get()->leftX();
95  }
96 
100  static double leftY( const double * )
101  {
102  return QueryInterpret::get()->leftY();
103  }
104 
108  static double leftZ( const double * )
109  {
110  return QueryInterpret::get()->leftZ();
111  }
112 };
113 }
114 
115 #endif