Loading [MathJax]/extensions/tex2jax.js
IGrid.hpp
1 #pragma once
2 
3 #include <opals/IModuleBase.hpp>
4 #include <opals/GridInterpolator.hpp>
5 #include <opals/GridFeature.hpp>
6 #include <opals/GridLimit.hpp>
7 #include <opals/SelectionMode.hpp>
8 #include <opals/String.hpp>
9 #include <opals/Path.hpp>
10 #include <opals/Vector.hpp>
11 #include <opals/NoDataType.hpp>
12 
13 #if defined(_MSC_VER) && !defined(OPALS_NO_AUTOLINK)
14  #if defined _DEBUG && !defined OPALS_NO_DEBUG
15  #pragma comment(lib, "opalsGrid_d.lib")
16  #else
17  #pragma comment(lib, "opalsGrid.lib")
18  #endif
19 #endif
20 
21 namespace opals {
22 
23  namespace opts
24  {
25  /// Options of \ref ModuleGrid
26  namespace Grid
27  {
28  /// Options of \ref ModuleGrid
29  using Options =
30  IGroup< Names::_,
48  >;
49  }
50  }
51 
52  /// Derives a 2.5D digital elevation models (DEM) in regular grid structure using simple interpolation techniques.
53  /** TODO:
54  More details on opalsGrid */
55  /// \see \ref ModuleGrid
56  class OPALS_API IGrid : virtual public IModuleBase
57  {
58 
59  public:
60  static IGrid* New();
61  static IGrid* New( IControlObject &controlObject );
62  static IGrid* New( const IModuleBase &parent );
63  static IGrid* New( const IModuleBase &parent, IControlObject &controlObject );
64 
65  virtual ~IGrid() {}
66 
67  /// \name Access to module-specific options.
68  ///@{
70  Options& opts() override = 0;
71  const Options& opts() const override = 0;
72  ///@}
73 
74  };
75 
76 };
Derives a 2.5D digital elevation models (DEM) in regular grid structure using simple interpolation te...
Definition: IGrid.hpp:56
A leaf that holds a value.
Definition: IOption.hpp:62
IGroup< Names::_, IValue< Names::inFile, false, Vector< Path > >, IValue< Names::outFile, false, Vector< Path > >, IValue< Names::oFormat, false, String >, IValue< Names::tileSize, false, unsigned >, IValue< Names::gridSize, false, double >, IValue< Names::attribute, false, String >, IValue< Names::interpolation, false, GridInterpolator >, IValue< Names::neighbours, false, int >, IValue< Names::searchRadius, false, double >, IValue< Names::selMode, false, SelectionMode >, IValue< Names::weightFunc, false, String >, IValue< Names::feature, false, Vector< opals::GridFeature::Enum > >, IValue< Names::filter, false, String >, IValue< Names::limit, false, GridLimit >, IValue< Names::noData, false, NoDataType >, IValue< Names::multiBand, false, bool >, IValue< Names::extrapolationCheck, false, bool > > Options
Options of Module Grid.
Definition: IGrid.hpp:48
Contains the public interface of OPALS.
Definition: AbsValueOrQuantile.hpp:8
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:136