IConvolution.hpp
1 #pragma once
2 
3 #include <opals/IModuleBase.hpp>
4 #include <opals/String.hpp>
5 #include <opals/Path.hpp>
6 #include <opals/EdgeHandling.hpp>
7 #include <opals/ConvolutionKernel.hpp>
8 #include <opals/GridLimit.hpp>
9 
10 #if defined(_MSC_VER) && !defined(OPALS_NO_AUTOLINK)
11  #if defined _DEBUG && !defined OPALS_NO_DEBUG
12  #pragma comment(lib, "opalsConvolution_d.lib")
13  #else
14  #pragma comment(lib, "opalsConvolution.lib")
15  #endif
16 #endif
17 
18 namespace opals {
19 
20  namespace opts
21  {
22  /// Options of \ref ModuleConvolution
23  namespace Convolution
24  {
25  /// Options of \ref ModuleConvolution
26  using Options =
27  IGroup< Names::_, false,
38  >;
39  }
40  }
41 
42  /// Performs convolutional filtering operations on a raster image.
43  /** TODO:
44  More details on opalsConv with much more words,
45  possibly on several lines. */
46  /// \see \ref ModuleConvolution
47  class OPALS_API IConvolution : virtual public IModuleBase
48  {
49 
50  public:
51  static IConvolution* New();
52  static IConvolution* New( IControlObject &controlObject );
53  static IConvolution* New( const IModuleBase &parent );
54  static IConvolution* New( const IModuleBase &parent, IControlObject &controlObject );
55 
56  virtual ~IConvolution() {}
57 
58  /// \name Access to module-specific options.
59  ///@{
61  virtual Options& opts() = 0;
62  virtual const Options& opts() const = 0;
63  ///@}
64 
65  };
66 
67 };
Performs convolutional filtering operations on a raster image.
Definition: IConvolution.hpp:47
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, Path >, ILeaf< Names::outFile, false, Path >, ILeaf< Names::oFormat, false, String >, ILeaf< Names::kernel, false, ConvolutionKernel >, ILeaf< Names::edgeHandling, false, EdgeHandling >, ILeaf< Names::ignoreNoData, false, bool >, ILeaf< Names::normalize, false, bool >, ILeaf< Names::limit, false, GridLimit >, ILeaf< Names::noData, false, float >, ILeaf< Names::gridSize, false, int > > Options
Options of Module Convolution.
Definition: IConvolution.hpp:38
A group of options.
Definition: IOption.hpp:108