IDiff.hpp
1 #pragma once
2 
3 #include <opals/IModuleBase.hpp>
4 #include <opals/String.hpp>
5 #include <opals/Path.hpp>
6 #include <opals/Array.hpp>
7 #include <opals/ResamplingMethod.hpp>
8 #include <opals/GridLimit.hpp>
9 #include <opals/ApplyTrafo.hpp>
10 #include <opals/TrafPars3dAffine.hpp>
11 
12 #if defined(_MSC_VER) && !defined(OPALS_NO_AUTOLINK)
13  #if defined _DEBUG && !defined OPALS_NO_DEBUG
14  #pragma comment(lib, "opalsDiff_d.lib")
15  #else
16  #pragma comment(lib, "opalsDiff.lib")
17  #endif
18 #endif
19 
20 namespace opals {
21 
22  namespace opts
23  {
24  /// Options of \ref ModuleDiff
25  namespace Diff
26  {
27  /// Options of \ref ModuleDiff
28  using Options =
29  IGroup< Names::_, false,
39  >;
40  }
41  }
42 
43  /// Calculates a difference grid model based on either two grids or a one grid and a horizontal reference plane.
44  /** TODO:
45  More details on opalsDiff with much more words,
46  possibly on several lines. */
47  /// \see \ref ModuleDiff
48  class OPALS_API IDiff : virtual public IModuleBase
49  {
50 
51  public:
52  static IDiff* New();
53  static IDiff* New( IControlObject &controlObject );
54  static IDiff* New( const IModuleBase &parent );
55  static IDiff* New( const IModuleBase &parent, IControlObject &controlObject );
56 
57  virtual ~IDiff() {}
58 
59  /// \name Access to module-specific options.
60  ///@{
62  virtual Options& opts() = 0;
63  virtual const Options& opts() const = 0;
64  ///@}
65 
66  };
67 
68 };
Calculates a difference grid model based on either two grids or a one grid and a horizontal reference...
Definition: IDiff.hpp:48
IGroup< Names::_, false, ILeaf< Names::inFile, false, Array< Path, 2 > >, ILeaf< Names::outFile, false, Path >, ILeaf< Names::oFormat, false, String >, ILeaf< Names::gridSize, false, double >, ILeaf< Names::noData, false, double >, ILeaf< Names::limit, false, GridLimit >, ILeaf< Names::applyTrafo, false, ApplyTrafo >, ILeaf< Names::trafo, false, TrafPars3dAffine >, ILeaf< Names::resampling, false, ResamplingMethod > > Options
Options of Module Diff.
Definition: IDiff.hpp:39
Leaf that holds a read-only value.
Definition: IOption.hpp:63
Contains the public interface of OPALS.
Definition: ApplyTrafo.hpp:5
Abstract base class of all opals modules.
Definition: IModuleBase.hpp:13
Interface for retrieving status and progress information from a module run.
Definition: c++_api/inc/opals/IControlObject.hpp:30
A group of options.
Definition: IOption.hpp:108