COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
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 
22 namespace grmsg
23 {
24 
26 {
27 public:
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);
35  virtual ~coGRViewpointChangedMsg();
36 
37 private:
38  int id_;
39 
40  char *name_;
41  char *view_;
42  //char *plane_;
43 };
44 }
45 #endif
char * name_
Definition: coGRViewpointChangedMsg.h:40
int id_
Definition: coGRViewpointChangedMsg.h:38
Definition: coGRMsg.h:38
GLuint const GLchar * name
Definition: khronos-glext.h:6722
#define GRMSGEXPORT
Definition: coExport.h:337
#define NULL
Definition: covise_list.h:22
Definition: coGRViewpointChangedMsg.h:25
char * view_
Definition: coGRViewpointChangedMsg.h:41