IRasterize.hpp
1 #pragma once
2 
3 #include <opals/IModuleBase.hpp>
4 #include <opals/GridLimit.hpp>
5 #include <opals/Path.hpp>
6 #include <opals/Vector.hpp>
7 
8 #if defined(_MSC_VER) && !defined(OPALS_NO_AUTOLINK)
9  #if defined _DEBUG && !defined OPALS_NO_DEBUG
10  #pragma comment(lib, "opalsRasterize_d.lib")
11  #else
12  #pragma comment(lib, "opalsRasterize.lib")
13  #endif
14 #endif
15 
16 namespace opals {
17 
18  namespace opts
19  {
20  /// Options of \ref ModuleRasterize
21  namespace Rasterize
22  {
23  /// Options of \ref ModuleRasterize
24  using Options =
25  IGroup< Names::_, false,
35  >;
36  }
37  }
38 
39  /// Performs vector-to-raster conversion for all types of simple feature geometries (points, lines, polygons).
40  /** */
41  /// \see \ref ModuleRasterize
42  class OPALS_API IRasterize : virtual public IModuleBase
43  {
44 
45  public:
46  static IRasterize* New();
47  static IRasterize* New( IControlObject &controlObject );
48  static IRasterize* New( const IModuleBase &parent );
49  static IRasterize* New( const IModuleBase &parent, IControlObject &controlObject );
50 
51  virtual ~IRasterize() {}
52 
53  /// \name Access to module-specific options.
54  ///@{
56  virtual Options& opts() = 0;
57  virtual const Options& opts() const = 0;
58  ///@}
59 
60  };
61 
62 };
Performs vector-to-raster conversion for all types of simple feature geometries (points,...
Definition: IRasterize.hpp:42
Leaf that holds a read-only value.
Definition: IOption.hpp:63
IGroup< Names::_, false, ILeaf< Names::inFile, false, Path >, ILeaf< Names::outFile, false, Path >, ILeaf< Names::oFormat, false, String >, ILeaf< Names::cellSize, false, Vector< double > >, ILeaf< Names::limit, false, GridLimit >, ILeaf< Names::attribute, false, String >, ILeaf< Names::filter, false, String >, ILeaf< Names::noData, false, double >, ILeaf< Names::initValue, false, double > > Options
Options of Module Rasterize.
Definition: IRasterize.hpp:35
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
A group of options.
Definition: IOption.hpp:108