IZonalFit.hpp
1 #pragma once
2 
3 #include <opals/IModuleBase.hpp>
4 #include <opals/SearchMode.hpp>
5 #include <opals/SelectionMode.hpp>
6 #include <opals/String.hpp>
7 #include <opals/Path.hpp>
8 #include <opals/Array.hpp>
9 #include <opals/Vector.hpp>
10 #include <opals/HistoStats.hpp>
11 #include <opals/GeomModel.hpp>
12 #include <DM/StatFeature.hpp>
13 
14 #if defined(_MSC_VER) && !defined(OPALS_NO_AUTOLINK)
15  #if defined _DEBUG && !defined OPALS_NO_DEBUG
16  #pragma comment(lib, "opalsZonalFit_d.lib")
17  #else
18  #pragma comment(lib, "opalsZonalFit.lib")
19  #endif
20 #endif
21 
22 namespace opals {
23 
24  namespace opts
25  {
26  /// Options of \ref ModuleZonalFit
27  namespace ZonalFit
28  {
29  /// Options of \ref ModuleZonalFit
30  using Options =
31  IGroup< Names::_,
52  >;
53  }
54  }
55 
56  /// Fits geometry models to a set of data points for multiple regions-of-interest
57  /** TODO:
58  More details on opalsopalsZonalFit with much more words,
59  possibly on several lines. */
60  /// \see \ref ModuleZonalFit
61  class OPALS_API IZonalFit : virtual public IModuleBase
62  {
63 
64  public:
65  static IZonalFit* New();
66  static IZonalFit* New( IControlObject &controlObject );
67  static IZonalFit* New( const IModuleBase &parent );
68  static IZonalFit* New( const IModuleBase &parent, IControlObject &controlObject );
69 
70  virtual ~IZonalFit() {}
71 
72  /// \name Access to module-specific options.
73  ///@{
75  Options& opts() override = 0;
76  const Options& opts() const override = 0;
77  ///@}
78 
79  };
80 
81 };
IGroup< Names::_, IValue< Names::inFile, false, Path >, IValue< Names::attribute, false, String >, IValue< Names::aoi, false, String >, IValue< Names::filter, false, String >, IValue< Names::plotFile, false, String >, IValue< Names::binWidth, false, double >, IValue< Names::sampleRange, false, Array< double, 2 > >, IValue< Names::densityRange, false, Array< double, 2 > >, IValue< Names::outGeometry, true, Vector< String > >, IValue< Names::limit, false, Array< double, 4 > >, IValue< Names::histogram, true, Vector< HistoStats > >, IValue< Names::geometryModel, false, GeomModel >, IValue< Names::neighbours, false, int >, IValue< Names::searchRadius, false, Vector< float > >, IValue< Names::searchMode, false, SearchMode >, IValue< Names::selMode, false, SelectionMode >, IValue< Names::storeStatistics, false, Vector< DM::StatFeature > >, IValue< Names::outFile, false, Path >, IValue< Names::maxIter, false, unsigned >, IValue< Names::byproduct, false, Path > > Options
Options of Module ZonalFit.
Definition: IZonalFit.hpp:52
A leaf that holds a value.
Definition: IOption.hpp:62
Contains the public interface of OPALS.
Definition: AbsValueOrQuantile.hpp:8
Fits geometry models to a set of data points for multiple regions-of-interest.
Definition: IZonalFit.hpp:61
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:136