IPointStats.hpp
1 #ifndef OPALS_IPOINTSTATS_HPP_INCLUDED
2 #define OPALS_IPOINTSTATS_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, "opalsPointStats_d.lib")
9  #else
10  #pragma comment(lib, "opalsPointStats.lib")
11  #endif
12 #endif
13 
14 #include <opals/ResamplingMethod.hpp>
15 #include <opals/Path.hpp>
16 #include <opals/Vector.hpp>
17 #include <opals/SearchMode.hpp>
18 #include <opals/StatFeature.hpp>
19 #include <opals/ZStatsMode.hpp>
20 
22 
23 namespace opals {
24 
25  namespace opts
26  {
27  namespace PointStats
28  {
29  /// Options of \ref ModulePointStats
30  typedef IGroup< Names::_, false, Cons<
31  ILeaf< Names::inFile, false, opals::Path >, Cons<
32  ILeaf< Names::searchRadius, false, opals::Vector< float > >, Cons<
33  ILeaf< Names::maxSigma, false, float >, Cons<
34  ILeaf< Names::searchMode, false, opals::SearchMode::Type >, Cons<
35  ILeaf< Names::attribute, false, opals::String >, Cons<
36  ILeaf< Names::feature, false, opals::Vector< opals::StatFeature > >, Cons<
37  ILeaf< Names::filter, false, opals::Vector< opals::String > >, Cons<
38  ILeaf< Names::refModel, false, opals::String >, Cons<
39  ILeaf< Names::resampling, false, opals::ResamplingMethod::Type >
40  > > > > > > > > > > Options;
41  }
42  }
43 
44  /// Derives and stores statistical parameters describing the local distribution of a point attribute for each point of an ODM.
45  /** For details see \subpage ModulePointStats */
46  /// \see \ref ModulePointStats
47  class OPALS_API IPointStats : virtual public IModuleBase
48  {
49 
50  public:
51  static IPointStats* New();
52  static IPointStats* New( IControlObject &controlObject );
53  static IPointStats* New( const IModuleBase &parent );
54  static IPointStats* New( const IModuleBase &parent, IControlObject &controlObject );
55 
56  virtual ~IPointStats() {}
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 };
68 
69 #endif