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

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