GLC_lib  2.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
glc_repflymover.h
Go to the documentation of this file.
1 /****************************************************************************
2 
3  This file is part of the GLC-lib library.
4  Copyright (C) 2005-2008 Laurent Ribon (laumaya@users.sourceforge.net)
5  http://glc-lib.sourceforge.net
6 
7  GLC-lib is free software; you can redistribute it and/or modify
8  it under the terms of the GNU Lesser General Public License as published by
9  the Free Software Foundation; either version 3 of the License, or
10  (at your option) any later version.
11 
12  GLC-lib is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU Lesser General Public License for more details.
16 
17  You should have received a copy of the GNU Lesser General Public License
18  along with GLC-lib; if not, write to the Free Software
19  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 
21  *****************************************************************************/
23 
24 #ifndef GLC_REPFLYMOVER_H_
25 #define GLC_REPFLYMOVER_H_
26 
27 #include "glc_repmover.h"
28 #include "../geometry/glc_circle.h"
29 #include "../sceneGraph/glc_3dviewinstance.h"
30 
31 #include "../glc_config.h"
32 
35 
36 
38 {
40 
42 
43 public:
45  GLC_RepFlyMover(GLC_Viewport* pViewport);
46 
48  GLC_RepFlyMover(const GLC_RepFlyMover& repFlyMover);
49 
51  virtual ~GLC_RepFlyMover();
52 
54 
56 
58 
59 
60  virtual GLC_RepMover* clone() const;
61 
63 
65 
67 
68 
69  virtual void update();
70 
72  virtual void setMainColor(const QColor& color);
73 
75  virtual void setThickness(double thickness);
76 
78 
80 
82 
83 public:
85  virtual void glDraw();
86 
88 
89 
91 // Private services Functions
93 private:
95  void createRepresentation();
96 
98 // Private Members
100 private:
102  double m_Radius;
103 
106 
109 
112 
115 };
116 
117 #endif /* GLC_REPFLYMOVER_H_ */

©2005-2013 Laurent Ribon