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::_, false,
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  virtual Options& opts() = 0;
71  virtual const Options& opts() const = 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
IGroup< Names::_, false, ILeaf< Names::inFile, false, Vector< Path > >, ILeaf< Names::outFile, false, Vector< Path > >, ILeaf< Names::oFormat, false, String >, ILeaf< Names::tileSize, false, unsigned >, ILeaf< Names::gridSize, false, double >, ILeaf< Names::attribute, false, String >, ILeaf< Names::interpolation, false, GridInterpolator >, ILeaf< Names::neighbours, false, int >, ILeaf< Names::searchRadius, false, double >, ILeaf< Names::selMode, false, SelectionMode >, ILeaf< Names::weightFunc, false, String >, ILeaf< Names::feature, false, Vector< opals::GridFeature::Enum > >, ILeaf< Names::filter, false, String >, ILeaf< Names::limit, false, GridLimit >, ILeaf< Names::noData, false, NoDataType >, ILeaf< Names::multiBand, false, bool >, ILeaf< Names::extrapolationCheck, false, bool > > Options
Options of Module Grid.
Definition: IGrid.hpp:48
Leaf that holds a read-only value.
Definition: IOption.hpp:63
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:108