COVISE Core
coGRSetDocScaleMsg.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// ++ coGRSetDocScaleMsg - scale document in COVER ++
12// ++ ++
13// ++ ++
14// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15
16#ifndef COGRSETDOCSCALEMSG_H
17#define COGRSETDOCSCALEMSG_H
18
19#include "coGRDocMsg.h"
20#include <util/coExport.h>
21
22namespace grmsg
23{
24
26{
27public:
28 // construct msg to send
29 coGRSetDocScaleMsg(const char *document_name, float s);
30
31 // reconstruct from received msg
32 coGRSetDocScaleMsg(const char *msg);
33
34 // specific functions
35 void getScale(float &s);
36
37private:
38 float scale_;
39};
40}
41#endif
#define GRMSGEXPORT
Definition: coExport.h:349
GLdouble s
Definition: khronos-glext.h:6441
Definition: coGRActivatedViewpointMsg.h:23
Definition: coGRDocMsg.h:26
Definition: coGRSetDocScaleMsg.h:26
float scale_
Definition: coGRSetDocScaleMsg.h:38