IDSM.hpp
1 #pragma once
2 
3 #include <opals/IModuleBase.hpp>
4 #include <opals/Path.hpp>
5 #include <opals/Vector.hpp>
6 #include <opals/GridLimit.hpp>
7 #include <opals/NoDataType.hpp>
8 
9 #if defined(_MSC_VER) && !defined(OPALS_NO_AUTOLINK)
10  #if defined _DEBUG && !defined OPALS_NO_DEBUG
11  #pragma comment(lib, "opalsDSM_d.lib")
12  #else
13  #pragma comment(lib, "opalsDSM.lib")
14  #endif
15 #endif
16 
17 namespace opals {
18 
19  namespace opts
20  {
21  /// Options of \ref ModuleDSM
22  namespace DSM
23  {
24  /// Options of \ref ModuleDSM
25  using Options =
26  IGroup< Names::_, false,
39  >;
40  }
41  }
42 
43  /// Calculates a land cover dependent DSM raster model based on the approach of Hollaus et. al. (2010).
44  /** TODO:
45  More details on opalsDSM with much more words,
46  possibly on several lines. */
47  /// \see \ref ModuleDSM
48  class OPALS_API IDSM : virtual public IModuleBase
49  {
50 
51  public:
52  static IDSM* New();
53  static IDSM* New( IControlObject &controlObject );
54  static IDSM* New( const IModuleBase &parent );
55  static IDSM* New( const IModuleBase &parent, IControlObject &controlObject );
56 
57  virtual ~IDSM() {}
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 land cover dependent DSM raster model based on the approach of Hollaus et....
Definition: IDSM.hpp:48
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::neighbours, false, int >, ILeaf< Names::searchRadius, false, double >, ILeaf< Names::maxSigma, false, float >, ILeaf< Names::filter, false, String >, ILeaf< Names::limit, false, GridLimit >, ILeaf< Names::noData, false, NoDataType >, ILeaf< Names::multiBand, false, bool > > Options
Options of Module DSM.
Definition: IDSM.hpp:39
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