IOpenness.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/OpennessFeature.hpp>
8 
9 #if defined(_MSC_VER) && !defined(OPALS_NO_AUTOLINK)
10  #if defined _DEBUG && !defined OPALS_NO_DEBUG
11  #pragma comment(lib, "opalsOpenness_d.lib")
12  #else
13  #pragma comment(lib, "opalsOpenness.lib")
14  #endif
15 #endif
16 
17 namespace opals {
18 
19  namespace opts
20  {
21  /// Options of \ref ModuleOpenness
22  namespace Openness
23  {
24  /// Options of \ref ModuleOpenness
25  using Options =
26  IGroup< Names::_, false,
35  >;
36  }
37  }
38 
39  /// Provides a raster map of local viewsheds (i.e. openness) based on a DTM grid model.
40  /** TODO:
41  More details on opalsOpenness with much more words,
42  possibly on several lines. */
43  /// \see \ref ModuleOpenness
44  class OPALS_API IOpenness : virtual public IModuleBase
45  {
46 
47  public:
48  static IOpenness* New();
49  static IOpenness* New( IControlObject &controlObject );
50  static IOpenness* New( const IModuleBase &parent );
51  static IOpenness* New( const IModuleBase &parent, IControlObject &controlObject );
52 
53  virtual ~IOpenness() {}
54 
55  /// \name Access to module-specific options.
56  ///@{
58  virtual Options& opts() = 0;
59  virtual const Options& opts() const = 0;
60  ///@}
61 
62  };
63 
64 };
Provides a raster map of local viewsheds (i.e. openness) based on a DTM grid model.
Definition: IOpenness.hpp:44
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::feature, false, OpennessFeature >, ILeaf< Names::selMode, false, int >, ILeaf< Names::kernelSize, false, int >, ILeaf< Names::limit, false, GridLimit >, ILeaf< Names::noData, false, float > > Options
Options of Module Openness.
Definition: IOpenness.hpp:35
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