ITerrainMask.hpp
1 #pragma once
2 
3 #include <opals/IModuleBase.hpp>
4 #include <opals/Path.hpp>
5 #include <opals/Vector.hpp>
6 
7 #if defined(_MSC_VER) && !defined(OPALS_NO_AUTOLINK)
8  #if defined _DEBUG && !defined OPALS_NO_DEBUG
9  #pragma comment(lib, "opalsTerrainMask_d.lib")
10  #else
11  #pragma comment(lib, "opalsTerrainMask.lib")
12  #endif
13 #endif
14 
15 namespace opals {
16 
17  namespace opts
18  {
19  /// Options of \ref ModuleTerrainMask
20  namespace TerrainMask
21  {
22  /// Options of \ref ModuleTerrainMask
23  using Options =
24  IGroup< Names::_, false,
33  >;
34  }
35  }
36 
37  /// Identifies open terrain parts of a DSM input raster using the volume based approach by Piltz et al. (2016).
38  /** TODO:
39  More details on opalsTerrainMask with much more words,
40  possibly on several lines. */
41  /// \see \ref ModuleTerrainMask
42  class OPALS_API ITerrainMask : virtual public IModuleBase
43  {
44 
45  public:
46  static ITerrainMask* New();
47  static ITerrainMask* New( IControlObject &controlObject );
48  static ITerrainMask* New( const IModuleBase &parent );
49  static ITerrainMask* New( const IModuleBase &parent, IControlObject &controlObject );
50 
51  virtual ~ITerrainMask() {}
52 
53  /// \name Access to module-specific options.
54  ///@{
56  virtual Options& opts() = 0;
57  virtual const Options& opts() const = 0;
58  ///@}
59 
60  };
61 
62 };
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
IGroup< Names::_, false, ILeaf< Names::inFile, false, Path >, ILeaf< Names::outFile, false, Path >, ILeaf< Names::oFormat, false, String >, ILeaf< Names::minHeight, false, Vector< double > >, ILeaf< Names::maxWidth, false, double >, ILeaf< Names::minConsensus, false, int >, ILeaf< Names::noData, false, float >, ILeaf< Names::debugOutFile, false, bool > > Options
Options of Module TerrainMask.
Definition: ITerrainMask.hpp:33
Identifies open terrain parts of a DSM input raster using the volume based approach by Piltz et al....
Definition: ITerrainMask.hpp:42
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