COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
coGRObjGeometryMsg.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 // ++ coGRObjTransformMsg - stores TransformationMatrix of Object ++
12 // ++ ++
13 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
14 
15 #ifndef COGROBJGEOMETRYMSG_H
16 #define COGROBJGEOMETRYMSG_H
17 
18 #include "coGRObjMsg.h"
19 #include <util/coExport.h>
20 
21 namespace grmsg
22 {
23 
25 {
26 public:
27  // construct msg to send
28  coGRObjGeometryMsg(const char *obj_name, float width, float height, float length);
29 
30  // reconstruct from received msg
31  coGRObjGeometryMsg(const char *msg);
32 
33  // getter
34  float getWidth()
35  {
36  return width_;
37  };
38  float getHeight()
39  {
40  return height_;
41  };
42  float getLength()
43  {
44  return length_;
45  };
46 
47 protected:
48 private:
49  float width_;
50  float height_;
51  float length_;
52 };
53 }
54 #endif
#define GRMSGEXPORT
Definition: coExport.h:319
float height_
Definition: coGRObjGeometryMsg.h:50
float getHeight()
Definition: coGRObjGeometryMsg.h:38
GLint GLint GLsizei width
Definition: khronos-glext.h:6344
Definition: coGRObjGeometryMsg.h:24
float getLength()
Definition: coGRObjGeometryMsg.h:42
GLint GLint GLsizei GLsizei height
Definition: khronos-glext.h:6344
float getWidth()
Definition: coGRObjGeometryMsg.h:34
Definition: coGRObjMsg.h:25
GLenum GLuint GLenum GLsizei length
Definition: khronos-glext.h:6279
float length_
Definition: coGRObjGeometryMsg.h:51