COVISE Core
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
21namespace grmsg
22{
23
25{
26public:
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
47protected:
48private:
49 float width_;
50 float height_;
51 float length_;
52};
53}
54#endif
#define GRMSGEXPORT
Definition: coExport.h:349
GLint GLint GLsizei GLsizei height
Definition: khronos-glext.h:6344
GLint GLint GLsizei width
Definition: khronos-glext.h:6344
GLenum GLuint GLenum GLsizei length
Definition: khronos-glext.h:6279
Definition: coGRActivatedViewpointMsg.h:23
Definition: coGRObjGeometryMsg.h:25
float height_
Definition: coGRObjGeometryMsg.h:50
float getHeight()
Definition: coGRObjGeometryMsg.h:38
float length_
Definition: coGRObjGeometryMsg.h:51
float getWidth()
Definition: coGRObjGeometryMsg.h:34
float width_
Definition: coGRObjGeometryMsg.h:45
float getLength()
Definition: coGRObjGeometryMsg.h:42
Definition: coGRObjMsg.h:26