INormals.hpp
1 #pragma once
2 
3 #include <opals/IModuleBase.hpp>
4 #include <opals/NormalsAlgorithm.hpp>
5 #include <opals/SearchMode.hpp>
6 #include <opals/SelectionMode.hpp>
7 #include <opals/NormalsMetaInfo.hpp>
8 #include <opals/NormalsDirection.hpp>
9 #include <opals/String.hpp>
10 #include <opals/Path.hpp>
11 #include <opals/Vector.hpp>
12 
13 #if defined(_MSC_VER) && !defined(OPALS_NO_AUTOLINK)
14  #if defined _DEBUG && !defined OPALS_NO_DEBUG
15  #pragma comment(lib, "opalsNormals_d.lib")
16  #else
17  #pragma comment(lib, "opalsNormals.lib")
18  #endif
19 #endif
20 
21 namespace opals {
22 
23  namespace opts
24  {
25  /// Options of \ref ModuleNormals
26  namespace Normals
27  {
28  /// Options of \ref ModuleNormals
29  using Options =
30  IGroup< Names::_, false,
42  >;
43  }
44  }
45 
46  /// Estimates local surface normal vectors for each point of a specific point cloud (ODM).
47  /** TODO:
48  More details on opalsNormals */
49  /// \see \ref ModuleNormals
50  class OPALS_API INormals : virtual public IModuleBase
51  {
52 
53  public:
54  static INormals* New();
55  static INormals* New( IControlObject &controlObject );
56  static INormals* New( const IModuleBase &parent );
57  static INormals* New( const IModuleBase &parent, IControlObject &controlObject );
58 
59  virtual ~INormals() {}
60 
61  /// \name Access to module-specific options.
62  ///@{
64  virtual Options& opts() = 0;
65  virtual const Options& opts() const = 0;
66  ///@}
67 
68  };
69 
70 };
Leaf that holds a read-only value.
Definition: IOption.hpp:63
Contains the public interface of OPALS.
Definition: AbsValueOrQuantile.hpp:8
Estimates local surface normal vectors for each point of a specific point cloud (ODM).
Definition: INormals.hpp:50
IGroup< Names::_, false, ILeaf< Names::inFile, false, Path >, ILeaf< Names::filter, false, Vector< String > >, ILeaf< Names::normalsAlg, false, NormalsAlgorithm >, ILeaf< Names::neighbours, false, int >, ILeaf< Names::searchRadius, false, float >, ILeaf< Names::searchMode, false, SearchMode >, ILeaf< Names::selMode, false, SelectionMode >, ILeaf< Names::storeMetaInfo, false, NormalsMetaInfo >, ILeaf< Names::direction, false, NormalsDirection >, ILeaf< Names::debugOutFile, false, Path >, ILeaf< Names::debugNormalsLen, false, float > > Options
Options of Module Normals.
Definition: INormals.hpp:42
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