IIsolines.hpp
1 #pragma once
2 
3 #include <opals/IModuleBase.hpp>
4 #include <opals/Path.hpp>
5 #include <opals/Vector.hpp>
6 #include <opals/Array.hpp>
7 
8 #if defined(_MSC_VER) && !defined(OPALS_NO_AUTOLINK)
9  #if defined _DEBUG && !defined OPALS_NO_DEBUG
10  #pragma comment(lib, "opalsIsolines_d.lib")
11  #else
12  #pragma comment(lib, "opalsIsolines.lib")
13  #endif
14 #endif
15 
16 namespace opals {
17 
18  namespace opts
19  {
20  /// Options of \ref ModuleIsolines
21  namespace Isolines
22  {
23  /// Options of \ref ModuleIsolines
24  using Options =
25  IGroup< Names::_, false,
37  >;
38  }
39  }
40 
41  /// Derives contour lines (isolines) from grid models and stores them as a vector dataset.
42  /** TODO:
43  More details on opalsIsolines with much more words,
44  possibly on several lines. */
45  /// \see \ref ModuleIsolines
46  class OPALS_API IIsolines : virtual public IModuleBase
47  {
48 
49  public:
50  static IIsolines* New();
51  static IIsolines* New( IControlObject &controlObject );
52  static IIsolines* New( const IModuleBase &parent );
53  static IIsolines* New( const IModuleBase &parent, IControlObject &controlObject );
54 
55  virtual ~IIsolines() {}
56 
57  /// \name Access to module-specific options.
58  ///@{
60  virtual Options& opts() = 0;
61  virtual const Options& opts() const = 0;
62  ///@}
63 
64  };
65 
66 };
IGroup< Names::_, false, ILeaf< Names::inFile, false, Path >, ILeaf< Names::outFile, false, Path >, ILeaf< Names::oFormat, false, String >, ILeaf< Names::band, false, String >, ILeaf< Names::interval, false, double >, ILeaf< Names::levels, false, Vector< double > >, ILeaf< Names::zRange, false, Array< double, 2 > >, ILeaf< Names::thinOut, false, double >, ILeaf< Names::closeMin, false, double >, ILeaf< Names::minLength, false, double >, ILeaf< Names::densification, false, bool > > Options
Options of Module Isolines.
Definition: IIsolines.hpp:37
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
Derives contour lines (isolines) from grid models and stores them as a vector dataset.
Definition: IIsolines.hpp:46
A group of options.
Definition: IOption.hpp:108