COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
coGRSetTrackingParamsMsg.h
Go to the documentation of this file.
1 /* This file is part of COVISE.
2 
3  You can use it under the terms of the GNU Lesser General Public License
4  version 2.1 or later, see lgpl-2.1.txt.
5 
6  * License: LGPL 2+ */
7 
8 //-*-Mode: C++;-*-
9 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
10 // ++ (C)2007 VISENSO ++
11 // ++ coGRSetTrackingParamsMsg - message to set the params from the ++
12 // ++ tracking manager ++
13 // ++ ++
14 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15 
16 #ifndef COGRSETTRACKINGPARAMSMSG_H
17 #define COGRSETTRACKINGPARAMSMSG_H
18 
19 #include "coGRMsg.h"
20 #include <util/coExport.h>
21 
22 namespace grmsg
23 {
24 
26 {
27 public:
29  bool rotatePoint,
30  bool rotatePointShown,
31  float rotationPointSize,
32  float rotatePointX,
33  float rotatePointY,
34  float rotatePointZ,
35  bool rotateAxis,
36  float rotateAxisX,
37  float rotateAxisY,
38  float rotateAxisZ,
39  bool translateRestrict,
40  float translateMinX,
41  float translateMaxX,
42  float translateMinY,
43  float translateMaxY,
44  float translateMinZ,
45  float translateMaxZ,
46  float translateFactor,
47  bool scaleRestrict,
48  float scaleMin,
49  float scaleMax,
50  float scaleFactor,
51  bool enableTracking,
52  const char *navigationMode);
53  coGRSetTrackingParamsMsg(const char *msg);
54 
56  {
57  return rotatePoint_;
58  };
60  {
61  return rotatePointShown_;
62  };
64  {
65  return rotationPointSize_;
66  };
68  {
69  return rotatePointX_;
70  };
72  {
73  return rotatePointY_;
74  };
76  {
77  return rotatePointZ_;
78  };
79  bool isRotateAxis()
80  {
81  return rotateAxis_;
82  };
84  {
85  return rotateAxisX_;
86  };
88  {
89  return rotateAxisY_;
90  };
92  {
93  return rotateAxisZ_;
94  };
95 
97  {
98  return translateRestrict_;
99  };
101  {
102  return translateMinX_;
103  };
105  {
106  return translateMaxX_;
107  };
109  {
110  return translateMinY_;
111  };
113  {
114  return translateMaxY_;
115  };
117  {
118  return translateMinZ_;
119  };
121  {
122  return translateMaxZ_;
123  };
125  {
126  return translateFactor_;
127  };
128 
130  {
131  return scaleRestrict_;
132  };
133  float getScaleMin()
134  {
135  return scaleMin_;
136  };
137  float getScaleMax()
138  {
139  return scaleMax_;
140  };
142  {
143  return scaleFactor_;
144  };
145 
147  {
148  return trackingEnable_;
149  };
150  const char *getNavigationMode()
151  {
152  return navigationMode_;
153  };
154 
155 private:
156  // rotate
157  bool rotatePoint_;
167  // translate
176  // scale
178  float scaleMin_;
179  float scaleMax_;
181  // navigation
184 };
185 }
186 #endif
float getScaleFactor()
Definition: coGRSetTrackingParamsMsg.h:141
bool isRotateAxis()
Definition: coGRSetTrackingParamsMsg.h:79
float translateMinX_
Definition: coGRSetTrackingParamsMsg.h:169
float getRotatePointX()
Definition: coGRSetTrackingParamsMsg.h:67
float getRotatePointY()
Definition: coGRSetTrackingParamsMsg.h:71
float rotatePointX_
Definition: coGRSetTrackingParamsMsg.h:160
bool scaleRestrict_
Definition: coGRSetTrackingParamsMsg.h:177
Definition: coGRSetTrackingParamsMsg.h:25
float getRotateAxisZ()
Definition: coGRSetTrackingParamsMsg.h:91
float rotateAxisY_
Definition: coGRSetTrackingParamsMsg.h:165
float getRotationPointSize()
Definition: coGRSetTrackingParamsMsg.h:63
float translateMaxX_
Definition: coGRSetTrackingParamsMsg.h:170
float rotateAxisZ_
Definition: coGRSetTrackingParamsMsg.h:166
float translateMinY_
Definition: coGRSetTrackingParamsMsg.h:171
#define GRMSGEXPORT
Definition: coExport.h:319
float rotateAxisX_
Definition: coGRSetTrackingParamsMsg.h:164
float translateFactor_
Definition: coGRSetTrackingParamsMsg.h:175
float scaleFactor_
Definition: coGRSetTrackingParamsMsg.h:180
float getScaleMax()
Definition: coGRSetTrackingParamsMsg.h:137
bool isTranslateRestrict()
Definition: coGRSetTrackingParamsMsg.h:96
float getTranslateMinY()
Definition: coGRSetTrackingParamsMsg.h:108
bool translateRestrict_
Definition: coGRSetTrackingParamsMsg.h:168
float getScaleMin()
Definition: coGRSetTrackingParamsMsg.h:133
float getTranslateFactor()
Definition: coGRSetTrackingParamsMsg.h:124
bool rotateAxis_
Definition: coGRSetTrackingParamsMsg.h:163
float getTranslateMinX()
Definition: coGRSetTrackingParamsMsg.h:100
char * navigationMode_
Definition: coGRSetTrackingParamsMsg.h:183
float rotatePointZ_
Definition: coGRSetTrackingParamsMsg.h:162
float getTranslateMinZ()
Definition: coGRSetTrackingParamsMsg.h:116
bool trackingEnable_
Definition: coGRSetTrackingParamsMsg.h:182
bool rotatePointShown_
Definition: coGRSetTrackingParamsMsg.h:158
float translateMinZ_
Definition: coGRSetTrackingParamsMsg.h:173
float getRotatePointZ()
Definition: coGRSetTrackingParamsMsg.h:75
float getTranslateMaxY()
Definition: coGRSetTrackingParamsMsg.h:112
float rotatePointY_
Definition: coGRSetTrackingParamsMsg.h:161
float translateMaxY_
Definition: coGRSetTrackingParamsMsg.h:172
float getTranslateMaxX()
Definition: coGRSetTrackingParamsMsg.h:104
bool isTrackingOn()
Definition: coGRSetTrackingParamsMsg.h:146
float getRotateAxisX()
Definition: coGRSetTrackingParamsMsg.h:83
bool isRotatePoint()
Definition: coGRSetTrackingParamsMsg.h:55
float getTranslateMaxZ()
Definition: coGRSetTrackingParamsMsg.h:120
float translateMaxZ_
Definition: coGRSetTrackingParamsMsg.h:174
bool isScaleRestrict()
Definition: coGRSetTrackingParamsMsg.h:129
float scaleMax_
Definition: coGRSetTrackingParamsMsg.h:179
const char * getNavigationMode()
Definition: coGRSetTrackingParamsMsg.h:150
float getRotateAxisY()
Definition: coGRSetTrackingParamsMsg.h:87
float scaleMin_
Definition: coGRSetTrackingParamsMsg.h:178
Definition: coGRMsg.h:38
float rotationPointSize_
Definition: coGRSetTrackingParamsMsg.h:159
bool isRotatePointVisible()
Definition: coGRSetTrackingParamsMsg.h:59