COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
coGRSetDocPositionMsg.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 // ++ coGRSetDocPositionMsg - set page of opened document in COVER ++
12 // ++ ++
13 // ++ ++
14 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15 
16 #ifndef COGRSETDOCPOSITIONMSG_H
17 #define COGRSETDOCPOSITIONMSG_H
18 
19 #include "coGRDocMsg.h"
20 #include <util/coExport.h>
21 
22 namespace grmsg
23 {
24 
26 {
27 public:
28  // construct msg to send
29  coGRSetDocPositionMsg(const char *document_name, float x, float y, float z);
30 
31  // reconstruct from received msg
32  coGRSetDocPositionMsg(const char *msg);
33 
34  // specific functions
35  void getPosition(float &x, float &y, float &z);
36 
37 private:
38  float pos_[3];
39 };
40 }
41 #endif
Definition: coGRDocMsg.h:25
GLint GLint GLint GLint GLint GLint y
Definition: khronos-glext.h:6346
#define GRMSGEXPORT
Definition: coExport.h:319
GLdouble GLdouble z
Definition: khronos-glext.h:6565
GLint GLint GLint GLint GLint x
Definition: khronos-glext.h:6346
Definition: coGRSetDocPositionMsg.h:25