IDTM.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/GridFeature.hpp>
8 #include <opals/GridInterpolator.hpp>
9 #include <opals/NoDataType.hpp>
10 
11 #if defined(_MSC_VER) && !defined(OPALS_NO_AUTOLINK)
12  #if defined _DEBUG && !defined OPALS_NO_DEBUG
13  #pragma comment(lib, "opalsDTM_d.lib")
14  #else
15  #pragma comment(lib, "opalsDTM.lib")
16  #endif
17 #endif
18 
19 namespace opals {
20 
21  namespace opts
22  {
23  /// Options of \ref ModuleDTM
24  namespace DTM
25  {
26  /// Options of \ref ModuleDTM
27  using Options =
28  IGroup< Names::_, false,
43  >;
44  }
45  }
46 
47  /// Calculates a high quality Digital Terrain Model in hybrid grid structure (i.e. regular grid + structure lines).
48  /** The aim of opalsDTM is to calculate a high quality Digital Terrain Model (DTM) in hybrid grid structure " "based on mass points, individual spotheight point, structure lines, and border lines bo stored in one or " "more OPALS datamanager (ODM) files. The resulting DTM is stored as a hybrid grid consisting of a regular " "height raster including line and spotheight point information. */
49  /// \see \ref ModuleDTM
50  class OPALS_API IDTM : virtual public IModuleBase
51  {
52 
53  public:
54  static IDTM* New();
55  static IDTM* New( IControlObject &controlObject );
56  static IDTM* New( const IModuleBase &parent );
57  static IDTM* New( const IModuleBase &parent, IControlObject &controlObject );
58 
59  virtual ~IDTM() {}
60 
61  /// \name Access to module-specific options.
62  ///@{
64  virtual Options& opts() = 0;
65  virtual const Options& opts() const = 0;
66  ///@}
67 
68  };
69 
70 };
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
IGroup< Names::_, false, ILeaf< Names::inFile, false, Vector< Path > >, ILeaf< Names::outFile, false, Path >, ILeaf< Names::tileSize, false, unsigned >, ILeaf< Names::gridSize, false, double >, ILeaf< Names::interpolation, false, GridInterpolator >, ILeaf< Names::neighbours, false, int >, ILeaf< Names::searchRadius, false, double >, ILeaf< Names::weightFunc, false, Vector< 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 DTM.
Definition: IDTM.hpp:43
A group of options.
Definition: IOption.hpp:108
Calculates a high quality Digital Terrain Model in hybrid grid structure (i.e. regular grid + structu...
Definition: IDTM.hpp:50