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 
12 #if defined(_MSC_VER) && !defined(OPALS_NO_AUTOLINK)
13  #if defined _DEBUG && !defined OPALS_NO_DEBUG
14  #pragma comment(lib, "opalsGrid_d.lib")
15  #else
16  #pragma comment(lib, "opalsGrid.lib")
17  #endif
18 #endif
19 
20 namespace opals {
21 
22  namespace opts
23  {
24  /// Options of \ref ModuleGrid
25  namespace Grid
26  {
27  /// Options of \ref ModuleGrid
28  using Options =
29  IGroup< Names::_, false,
47  >;
48  }
49  }
50 
51  /// Derives a 2.5D digital elevation models (DEM) in regular grid structure using simple interpolation techniques.
52  /** TODO:
53  More details on opalsGrid */
54  /// \see \ref ModuleGrid
55  class OPALS_API IGrid : virtual public IModuleBase
56  {
57 
58  public:
59  static IGrid* New();
60  static IGrid* New( IControlObject &controlObject );
61  static IGrid* New( const IModuleBase &parent );
62  static IGrid* New( const IModuleBase &parent, IControlObject &controlObject );
63 
64  virtual ~IGrid() {}
65 
66  /// \name Access to module-specific options.
67  ///@{
69  virtual Options& opts() = 0;
70  virtual const Options& opts() const = 0;
71  ///@}
72 
73  };
74 
75 };
Derives a 2.5D digital elevation models (DEM) in regular grid structure using simple interpolation te...
Definition: IGrid.hpp:55
Leaf that holds a read-only value.
Definition: IOption.hpp:63
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, float >, ILeaf< Names::multiBand, false, bool >, ILeaf< Names::extrapolationCheck, false, bool > > Options
Options of Module Grid.
Definition: IGrid.hpp:47
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