IZColor.hpp
1 #pragma once
2 
3 #include <opals/IModuleBase.hpp>
4 #include <opals/String.hpp>
5 #include <opals/ZColorLegend.hpp>
6 #include <opals/ZColorScalePal.hpp>
7 #include <opals/ResamplingMethod.hpp>
8 #include <opals/GridLimit.hpp>
9 #include <opals/Path.hpp>
10 
11 #if defined(_MSC_VER) && !defined(OPALS_NO_AUTOLINK)
12  #if defined _DEBUG && !defined OPALS_NO_DEBUG
13  #pragma comment(lib, "opalsZColor_d.lib")
14  #else
15  #pragma comment(lib, "opalsZColor.lib")
16  #endif
17 #endif
18 
19 namespace opals {
20 
21  namespace opts
22  {
23  /// Options of \ref ModuleZColor
24  namespace ZColor
25  {
26  /// Options of \ref ModuleZColor
27  using Options =
28  IGroup< Names::_, false,
44  >;
45  }
46  }
47 
48  /// Derives color coded visualizations of grid models and stores them as geo-coded raster images.
49  /** TODO:
50  More details on opalsZColor */
51  /// \see \ref ModuleZColor
52  class OPALS_API IZColor : virtual public IModuleBase
53  {
54 
55  public:
56  static IZColor* New();
57  static IZColor* New( IControlObject &controlObject );
58  static IZColor* New( const IModuleBase &parent );
59  static IZColor* New( const IModuleBase &parent, IControlObject &controlObject );
60 
61  virtual ~IZColor() {}
62 
63  /// \name Access to module-specific options.
64  ///@{
66  virtual Options& opts() = 0;
67  virtual const Options& opts() const = 0;
68  ///@}
69 
70  };
71 
72 };
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::pixelSize, false, float >, ILeaf< Names::interval, false, Vector< float > >, ILeaf< Names::nClasses, false, unsigned >, ILeaf< Names::palFile, false, Path >, ILeaf< Names::legend, false, ZColorLegend >, ILeaf< Names::scalePal, false, ZColorScalePal >, ILeaf< Names::offsetPal, false, float >, ILeaf< Names::zRange, false, Array< float, 2 > >, ILeaf< Names::limit, false, GridLimit >, ILeaf< Names::resampling, false, ResamplingMethod >, ILeaf< Names::band, false, String >, ILeaf< Names::createAlpha, false, bool > > Options
Options of Module ZColor.
Definition: IZColor.hpp:44
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 color coded visualizations of grid models and stores them as geo-coded raster images.
Definition: IZColor.hpp:52
A group of options.
Definition: IOption.hpp:108