OpendTect-6_4  6.4
uiaxisdata.h
Go to the documentation of this file.
1 #ifndef uiaxisdata_h
2 #define uiaxisdata_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Helene
9  Date: Jul 2008
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uitoolsmod.h"
16 #include "uiaxishandler.h"
17 #include "statruncalc.h"
18 
19 class DataClipper;
20 class uiGraphicsScene;
21 
31 {
32 public:
33 
34  uiAxisData(uiRect::Side);
35  ~uiAxisData();
36 
37  virtual void stop();
38  void setRange( const Interval<float>& rg ) { rg_ = rg; }
39 
41  {
42  AutoScalePars();
43 
45  float clipratio_;
46 
47  static float defclipratio_;
51  };
52 
56 
59  bool isreset_;
60 
61  void handleAutoScale(const Stats::RunCalc<float>&);
62  void handleAutoScale(const DataClipper&);
63  void newDevSize();
64  void renewAxis(const uiString&,uiGraphicsScene*,
65  int w,int h,const Interval<float>*);
66 };
67 
68 #endif
Convenient base class to carry axis data: 1) the AxisHandler which handles the behaviour and position...
Definition: uiaxisdata.h:30
#define mExpClass(module)
Definition: commondefs.h:160
static float defclipratio_
Definition: uiaxisdata.h:47
bool needautoscale_
Definition: uiaxisdata.h:57
Definition: uiaxisdata.h:40
Handles an axis on a plot.
Definition: uiaxishandler.h:51
AutoScalePars autoscalepars_
Definition: uiaxisdata.h:54
Definition: uistring.h:89
Interval< float > rg_
Definition: uiaxisdata.h:55
uiAxisHandler * axis_
Definition: uiaxisdata.h:53
uiAxisHandler::Setup defaxsu_
Definition: uiaxisdata.h:58
void setRange(const Interval< float > &rg)
Definition: uiaxisdata.h:38
float clipratio_
Definition: uiaxisdata.h:45
bool isreset_
Definition: uiaxisdata.h:59
bool doautoscale_
Definition: uiaxisdata.h:44
Definition: uiaxishandler.h:55
Side
Definition: uigeom.h:46
Definition: uigraphicsscene.h:39
A DataClipper gets a bunch of data and determines at what value to clip if a certain clip percentage ...
Definition: dataclipper.h:73

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