COVISE Core
coGRViewpointChangedMsg.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// ++ coGRViewpointChangedMsg - message to send when viewpoint changed ++
12// ++ in COVER ++
13// ++ ++
14// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15
16#ifndef COGRVIEWPOINTCHANGEDMSG_H
17#define COGRVIEWPOINTCHANGEDMSG_H
18
19#include "coGRMsg.h"
20#include <util/coExport.h>
21
22namespace grmsg
23{
24
26{
27public:
28 int getViewpointId();
29 const char *getName();
30 const char *getView();
31 //const char *getClipplane();
32
33 coGRViewpointChangedMsg(int id, const char *name = NULL, const char *view = NULL /*, const char *clipplane=NULL */);
34 coGRViewpointChangedMsg(const char *msg);
36
37private:
38 int id_;
39
40 char *name_;
41 char *view_;
42 //char *plane_;
43};
44}
45#endif
#define GRMSGEXPORT
Definition: coExport.h:349
#define NULL
Definition: covise_list.h:22
GLuint const GLchar * name
Definition: khronos-glext.h:6722
Definition: coGRActivatedViewpointMsg.h:23
Definition: coGRMsg.h:38
Definition: coGRViewpointChangedMsg.h:26
char * name_
Definition: coGRViewpointChangedMsg.h:40
char * view_
Definition: coGRViewpointChangedMsg.h:41
int id_
Definition: coGRViewpointChangedMsg.h:38