IView.hpp
1 #pragma once
2 
3 #include <opals/IModuleBase.hpp>
4 #include <opals/Path.hpp>
5 #include <opals/Vector.hpp>
6 #include <opals/RGBColor.hpp>
7 
8 #if defined(_MSC_VER) && !defined(OPALS_NO_AUTOLINK)
9  #if defined _DEBUG && !defined OPALS_NO_DEBUG
10  #pragma comment(lib, "opalsView_d.lib")
11  #else
12  #pragma comment(lib, "opalsView.lib")
13  #endif
14 #endif
15 
16 namespace opals
17 {
18 
19  namespace opts
20  {
21  /// Options of \ref ModuleView
22  namespace View
23  {
24  /// Options of \ref ModuleView
25  using Options =
26  IGroup< Names::_,
42  >;
43  }
44  }
45 
46  /// Provides an interactive 3d viewer for points (including arbitrary attributes) and lines.
47  /** TODO:
48  More details on opalsView with much more words,
49  possibly on several lines. */
50  /// \see \ref ModuleView
51  class OPALS_API IView : virtual public IModuleBase
52  {
53 
54  public:
55  static IView* New();
56  static IView* New( IControlObject &controlObject );
57  static IView* New( const IModuleBase &parent );
58  static IView* New( const IModuleBase &parent, IControlObject &controlObject );
59 
60  virtual ~IView() {}
61 
62  /// \name Access to module-specific options.
63  ///@{
65  Options& opts() override = 0;
66  const Options& opts() const override = 0;
67  ///@}
68 
69  };
70 
71 }
Provides an interactive 3d viewer for points (including arbitrary attributes) and lines.
Definition: IView.hpp:51
IGroup< Names::_, IValue< Names::inFile, false, Vector< Path > >, IValue< Names::filter, false, String >, IValue< Names::swapMouseButtons, false, bool >, IValue< Names::invertMouseWheel, false, bool >, IValue< Names::textColor, false, RGBColor >, IValue< Names::backgroundColor, false, RGBColor >, IValue< Names::normalsColor, false, RGBColor >, IValue< Names::maxPointsDisplayed, false, unsigned >, IValue< Names::profileWidth, false, double >, IValue< Names::profileLength, false, double >, IValue< Names::colorStretchPercent, false, double >, IValue< Names::snapRadius, false, double >, IValue< Names::normalsScale, false, double >, IValue< Names::screenShotResolution, false, unsigned >, IValue< Names::nbAttributesPerMenu, false, unsigned > > Options
Options of Module View.
Definition: IView.hpp:42
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
A group of options.
Definition: IOption.hpp:136