OpendTect-6_4  6.4
visthumbwheel.h
Go to the documentation of this file.
1 #ifndef visthumbwheel_h
2 #define visthumbwheel_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Kristofer Tingdahl
9  Date: October 2012
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "visosg.h"
16 #include "visdata.h"
17 
18 namespace osg { class Group; class MatrixTransform; }
19 namespace osgGeo { class ThumbWheel; }
20 
21 
22 namespace visBase
23 {
24 
25 class ThumbWheelMessenger;
26 
27 
29 {
30 public:
31  static ThumbWheel* create()
33 
34  void setPosition(bool horizontal,
35  float center_x, float center_y, float len,
36  float width,float zval = 0);
37 
38  void setAnnotationColor(const Color&);
39 
40  void enableFadeInOut(bool);
41  bool isFadeInOutEnabled() const;
42 
43  float getAngle() const;
44  void setAngle(float angle,float rotationtime=0.0);
46  CNotifier<ThumbWheel,float> rotation;
48 
49 protected:
50  ~ThumbWheel();
51 
52  osgGeo::ThumbWheel* thumbwheel_;
53  ThumbWheelMessenger* messenger_;
54 };
55 
56 } // namespace visBase
57 
58 #endif
#define mExpClass(module)
Definition: commondefs.h:160
DataObject is the base class off all objects that are used in Visualization and ought to be shared in...
Definition: visdata.h:65
A collection of geoscientific extensions to OpenSceneGraph.
Definition: visannot.h:38
Definition: visthumbwheel.h:28
static ThumbWheel * create()
Definition: visthumbwheel.h:31
Definition: visannot.h:43
Open Scene Graph.
Definition: visannot.h:29
Notifier with automatic capsule creation.
Definition: callback.h:395
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
#define mCreateDataObj(clss)
Definition: visdata.h:209

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019