IColorize.hpp
1 #pragma once
2 
3 #include <opals/IModuleBase.hpp>
4 #include <opals/Path.hpp>
5 #include <opals/OdmOrRasterFile.hpp>
6 #include <opals/Vector.hpp>
7 #include <opals/ResamplingMethod.hpp>
8 #include <opals/ScalePal.hpp>
9 #include <opals/ZColorLegend.hpp>
10 #include <opals/GridLimit.hpp>
11 
12 #if defined(_MSC_VER) && !defined(OPALS_NO_AUTOLINK)
13  #if defined _DEBUG && !defined OPALS_NO_DEBUG
14  #pragma comment(lib, "opalsColorize_d.lib")
15  #else
16  #pragma comment(lib, "opalsColorize.lib")
17  #endif
18 #endif
19 
20 namespace opals {
21 
22  namespace opts
23  {
24  /// Options of \ref ModuleColorize
25  namespace Colorize
26  {
27  /// Options of \ref ModuleColorize
28  using Options =
29  IGroup< Names::_,
44  >;
45  }
46  }
47 
48  /// Generates and exports colored visualizations of point cloud attribute (ODM) or raster models.
49  /** In case of ODMs attributes are used for colorizing and the resulting RGB values are either stored
50  within the ODMs or exported as LAS file without changing the ODMs. */
51  /// \see \ref ModuleColorize
52  class OPALS_API IColorize : virtual public IModuleBase
53  {
54 
55  public:
56  static IColorize* New();
57  static IColorize* New( IControlObject &controlObject );
58  static IColorize* New( const IModuleBase &parent );
59  static IColorize* New( const IModuleBase &parent, IControlObject &controlObject );
60 
61  virtual ~IColorize() {}
62 
63  /// \name Access to module-specific options.
64  ///@{
66  Options& opts() override = 0;
67  const Options& opts() const override = 0;
68  ///@}
69 
70  };
71 
72 };
A leaf that holds a value.
Definition: IOption.hpp:62
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::_, IValue< Names::inFile, false, Vector< OdmOrRasterFile > >, IValue< Names::outFile, false, Path >, IValue< Names::oFormat, false, String >, IValue< Names::attribute, false, Vector< String > >, IValue< Names::filter, false, String >, IValue< Names::limit, false, GridLimit >, IValue< Names::pixelSize, false, float >, IValue< Names::resampling, false, ResamplingMethod >, IValue< Names::palFile, false, Path >, IValue< Names::interval, false, Vector< float > >, IValue< Names::nClasses, false, unsigned >, IValue< Names::legend, false, Vector< ZColorLegend > >, IValue< Names::scalePal, false, Vector< ScalePal > >, IValue< Names::skipVoidAreas, false, bool > > Options
Options of Module Colorize.
Definition: IColorize.hpp:44
Generates and exports colored visualizations of point cloud attribute (ODM) or raster models.
Definition: IColorize.hpp:52
A group of options.
Definition: IOption.hpp:136