OpendTect-6_4  6.4
dpsdensitycalc.h
Go to the documentation of this file.
1 #ifndef dpsdensitycalc_h
2 #define dpsdensitycalc_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  CopyRight: (C) dGB Beheer B.V.
8  Author: Satyaki Maitra
9  Date: March 2010
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "task.h"
16 #include "arraynd.h"
17 #include "datapointset.h"
18 #include "ranges.h"
19 #include "enums.h"
20 
23 public:
24 
25  enum CalcAreaType { All, Selected, NonSelected };
27 
28  struct AxisParam
29  {
30  int colid_;
32  };
33 
35  const ObjectSet<AxisParam>&,
38 
39  od_int64 nrIterations() const;
40  od_int64 nrDone() const { return nrdone_; }
41  uiString uiNrDoneText() const;
42 
43  void setGroup(int grp) { grp_ = grp; }
44  bool getPositions(TypeSet<int>&,int);
45  bool setFreqValue(const int*);
46  bool doWork(od_int64 start,od_int64 stop,int);
47 
48 protected:
52  int nrdims_;
53  int nrdone_;
54  int grp_;
56 
57  float getVal(int colid,int rowid) const;
58 };
59 
60 #endif
Definition: dpsdensitycalc.h:28
int nrdims_
Definition: dpsdensitycalc.h:52
Set of data points with group selection.
Definition: datapointset.h:48
int colid_
Definition: dpsdensitycalc.h:30
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
#define od_int64
Definition: plftypes.h:36
void setGroup(int grp)
Definition: dpsdensitycalc.h:43
CalcAreaType areatype_
Definition: dpsdensitycalc.h:55
StepInterval< float > valrange_
Definition: dpsdensitycalc.h:31
CalcAreaType
Definition: dpsdensitycalc.h:25
Definition: uistring.h:89
#define mDeclareEnumUtils(enm)
Some utilities surrounding the often needed enum <-> string table.
Definition: enums.h:258
od_int64 nrDone() const
May be -1, i.e. class does not report nrdone.
Definition: dpsdensitycalc.h:40
Generalization of a task that can be run in parallel.
Definition: paralleltask.h:66
Set of pointers to objects.
Definition: commontypes.h:32
ArrayND< float > & freqdata_
Definition: dpsdensitycalc.h:50
int nrdone_
Definition: dpsdensitycalc.h:53
int grp_
Definition: dpsdensitycalc.h:54
FixedString All()
Definition: keystrs.h:36
Definition: dpsdensitycalc.h:25
Definition: dpsdensitycalc.h:21
#define mClass(module)
Definition: commondefs.h:164
const DataPointSet & dps_
Definition: dpsdensitycalc.h:49
Definition: dpsdensitycalc.h:25
ObjectSet< AxisParam > axisdatas_
Definition: dpsdensitycalc.h:51

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