IRadioCal.hpp
1 #ifndef OPALS_IRADIOCAL_HPP_INCLUDED
2 #define OPALS_IRADIOCAL_HPP_INCLUDED
3 
4 #include <opals/IModuleBase.hpp>
5 
6 #if !defined(OPALS_EXPORTS) && !defined(OPALS_MODULE_EXPORTS)
7  #if defined _DEBUG && !defined OPALS_NO_DEBUG
8  #pragma comment(lib, "opalsRadioCal_d.lib")
9  #else
10  #pragma comment(lib, "opalsRadioCal.lib")
11  #endif
12 #endif
13 
14 #include <opals/Path.hpp>
15 #include <opals/String.hpp>
16 #include <opals/CalibrationStats.hpp>
17 
18 namespace opals {
19 
20  namespace opts
21  {
22  namespace RadioCal
23  {
24  /// Options of \ref ModuleRadioCal
25  typedef IGroup< Names::_, false, Cons<
26  ILeaf< Names::inFile, false, opals::Vector<opals::Path> >, Cons<
27  ILeaf< Names::outFile, false, opals::Path >, Cons<
28  ILeaf< Names::oFormat, false, opals::String >, Cons<
29  ILeaf< Names::filter, false, opals::String >, Cons<
30  ILeaf< Names::calRegionFile, false, opals::Vector<opals::Path> >, Cons<
31  ILeaf< Names::atmosphericAtt, false, double >, Cons<
32  ILeaf< Names::beamDivergence, false, double >, Cons<
33  ILeaf< Names::radioCal, false, opals::CalibrationStats >, Cons<
34  ILeaf< Names::splitByAttribute, false, opals::String >, Cons<
35  ILeaf< Names::maxSigma, false, float >
36  > > > > > > > > > > > Options;
37  }
38  }
39 
40  /// Performs radiometric calibration of ALS data and calculates physical quantities (backscatter cross section/coefficient, reflectance) for each return.
41  /** TODO:
42  More details on opalsRadioCal */
43  /// \see \ref ModuleRadioCal
44  class OPALS_API IRadioCal : virtual public IModuleBase
45  {
46 
47  public:
48  static IRadioCal* New();
49  static IRadioCal* New( IControlObject &controlObject );
50  static IRadioCal* New( const IModuleBase &parent );
51  static IRadioCal* New( const IModuleBase &parent, IControlObject &controlObject );
52 
53  virtual ~IRadioCal() {}
54 
55  /// \name Access to module-specific options.
56  ///@{
58  virtual Options& opts() = 0;
59  virtual const Options& opts() const = 0;
60  ///}@
61 
62  };
63 
64 };
65 
66 #endif