COVISE Core
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
22namespace grmsg
23{
24
26{
27public:
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 };
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 };
134 {
135 return scaleMin_;
136 };
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
155private:
156 // rotate
167 // translate
176 // scale
181 // navigation
184};
185}
186#endif
#define GRMSGEXPORT
Definition: coExport.h:349
Definition: coGRActivatedViewpointMsg.h:23
Definition: coGRMsg.h:38
Definition: coGRSetTrackingParamsMsg.h:26
float getTranslateFactor()
Definition: coGRSetTrackingParamsMsg.h:124
float getTranslateMinZ()
Definition: coGRSetTrackingParamsMsg.h:116
float translateMinY_
Definition: coGRSetTrackingParamsMsg.h:171
float translateFactor_
Definition: coGRSetTrackingParamsMsg.h:175
float getRotationPointSize()
Definition: coGRSetTrackingParamsMsg.h:63
bool isScaleRestrict()
Definition: coGRSetTrackingParamsMsg.h:129
float getRotateAxisY()
Definition: coGRSetTrackingParamsMsg.h:87
float translateMaxX_
Definition: coGRSetTrackingParamsMsg.h:170
bool scaleRestrict_
Definition: coGRSetTrackingParamsMsg.h:177
bool translateRestrict_
Definition: coGRSetTrackingParamsMsg.h:168
bool isRotatePointVisible()
Definition: coGRSetTrackingParamsMsg.h:59
float scaleMin_
Definition: coGRSetTrackingParamsMsg.h:178
float getTranslateMinY()
Definition: coGRSetTrackingParamsMsg.h:108
float translateMinX_
Definition: coGRSetTrackingParamsMsg.h:169
float getRotateAxisZ()
Definition: coGRSetTrackingParamsMsg.h:91
bool isRotatePoint()
Definition: coGRSetTrackingParamsMsg.h:55
float getRotateAxisX()
Definition: coGRSetTrackingParamsMsg.h:83
float getTranslateMaxY()
Definition: coGRSetTrackingParamsMsg.h:112
float rotatePointX_
Definition: coGRSetTrackingParamsMsg.h:160
const char * getNavigationMode()
Definition: coGRSetTrackingParamsMsg.h:150
bool rotatePointShown_
Definition: coGRSetTrackingParamsMsg.h:158
float rotateAxisX_
Definition: coGRSetTrackingParamsMsg.h:164
float translateMaxY_
Definition: coGRSetTrackingParamsMsg.h:172
float getScaleMin()
Definition: coGRSetTrackingParamsMsg.h:133
float getTranslateMaxZ()
Definition: coGRSetTrackingParamsMsg.h:120
float getScaleFactor()
Definition: coGRSetTrackingParamsMsg.h:141
bool rotatePoint_
Definition: coGRSetTrackingParamsMsg.h:153
bool rotateAxis_
Definition: coGRSetTrackingParamsMsg.h:163
float translateMaxZ_
Definition: coGRSetTrackingParamsMsg.h:174
float scaleMax_
Definition: coGRSetTrackingParamsMsg.h:179
float rotateAxisY_
Definition: coGRSetTrackingParamsMsg.h:165
float getRotatePointY()
Definition: coGRSetTrackingParamsMsg.h:71
float getScaleMax()
Definition: coGRSetTrackingParamsMsg.h:137
float rotatePointY_
Definition: coGRSetTrackingParamsMsg.h:161
bool isTrackingOn()
Definition: coGRSetTrackingParamsMsg.h:146
float rotatePointZ_
Definition: coGRSetTrackingParamsMsg.h:162
float rotationPointSize_
Definition: coGRSetTrackingParamsMsg.h:159
float getRotatePointX()
Definition: coGRSetTrackingParamsMsg.h:67
float rotateAxisZ_
Definition: coGRSetTrackingParamsMsg.h:166
float getTranslateMaxX()
Definition: coGRSetTrackingParamsMsg.h:104
float translateMinZ_
Definition: coGRSetTrackingParamsMsg.h:173
float getTranslateMinX()
Definition: coGRSetTrackingParamsMsg.h:100
bool isRotateAxis()
Definition: coGRSetTrackingParamsMsg.h:79
float scaleFactor_
Definition: coGRSetTrackingParamsMsg.h:180
char * navigationMode_
Definition: coGRSetTrackingParamsMsg.h:183
bool trackingEnable_
Definition: coGRSetTrackingParamsMsg.h:182
float getRotatePointZ()
Definition: coGRSetTrackingParamsMsg.h:75
bool isTranslateRestrict()
Definition: coGRSetTrackingParamsMsg.h:96