OpendTect-6_4  6.4
raytracerrunner.h
Go to the documentation of this file.
1 #ifndef raytracerrunner_h
2 #define raytracerrunner_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bruno
9  Date: May 2011
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "generalmod.h"
16 #include "ailayer.h"
17 #include "iopar.h"
18 #include "task.h"
19 #include "ranges.h"
20 #include "raytrace1d.h"
21 
24 public:
26  const IOPar& raypar);
27  RayTracerRunner(const IOPar& raypar);
28  ~RayTracerRunner();
29 
30  uiString errMsg() const { return errmsg_; }
31 
32  //before exectution only
33  void setOffsets(TypeSet<float> offsets);
34  void addModel(const ElasticModel&,bool dosingle);
35 
36  //available after excution
37  ObjectSet<RayTracer1D>& rayTracers() { return raytracers_; }
38  od_int64 nrDone() const;
39  bool executeParallel(bool);
40 
41 protected:
42 
44 
45  bool doWork(od_int64,od_int64,int);
46  od_int64 nrIterations() const;
47  int modelIdx(od_int64,bool&) const;
48  bool prepareRayTracers();
49 
51 
55 };
56 
57 #endif
#define mExpClass(module)
Definition: commondefs.h:160
A table of elastic prop layers with processing utilities.
Definition: ailayer.h:100
ObjectSet< RayTracer1D > raytracers_
Definition: raytracerrunner.h:53
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
uiString errmsg_
Definition: raytracerrunner.h:50
#define od_int64
Definition: plftypes.h:36
Definition: uistring.h:89
Generalization of a task that can be run in parallel.
Definition: paralleltask.h:66
ObjectSet< RayTracer1D > & rayTracers()
Definition: raytracerrunner.h:37
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
BufferString errmsg_
Definition: horizontracker.h:119
uiString errMsg() const
Definition: raytracerrunner.h:30
od_int64 totalnr_
Definition: raytracerrunner.h:54
Definition: raytracerrunner.h:22
TypeSet< ElasticModel > aimodels_
Definition: raytracerrunner.h:52
IOPar raypar_
Definition: raytracerrunner.h:43

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