OpendTect  6.6
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  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "visosg.h"
15 #include "visdata.h"
16 
17 namespace osg { class Group; class MatrixTransform; }
18 namespace osgGeo { class ThumbWheel; }
19 
20 
21 namespace visBase
22 {
23 
24 class ThumbWheelMessenger;
25 
26 
28 {
29 public:
30  static ThumbWheel* create()
32 
33  void setPosition(bool horizontal,
34  float center_x, float center_y, float len,
35  float width,float zval = 0);
36 
37  void setAnnotationColor(const Color&);
38 
39  void enableFadeInOut(bool);
40  bool isFadeInOutEnabled() const;
41 
42  float getAngle() const;
43  void setAngle(float angle,float rotationtime=0.0);
45  CNotifier<ThumbWheel,float> rotation;
47 
48 protected:
50 
51  osgGeo::ThumbWheel* thumbwheel_;
52  ThumbWheelMessenger* messenger_;
53 };
54 
55 } // namespace visBase
56 
visosg.h
visBase::ThumbWheel::create
static ThumbWheel * create()
Definition: visthumbwheel.h:30
visBase
Definition: visannot.h:43
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
osg
Open Scene Graph.
Definition: visannot.h:29
visBase::DataObject
DataObject is the base class off all objects that are used in Visualization and ought to be shared in...
Definition: visdata.h:63
visBase::ThumbWheel
Definition: visthumbwheel.h:28
visdata.h
osgGeo
A collection of geoscientific extensions to OpenSceneGraph.
Definition: visannot.h:38
mCreateDataObj
#define mCreateDataObj(clss)
Definition: visdata.h:214
Color
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer,...
Definition: color.h:26
CNotifier
Notifier with automatic capsule creation.
Definition: notify.h:171

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