SCENE C++ API  2.0.22
lsprocesssettings.h
1 #pragma once
2 
3 #include <core_api/lsattributecontainer.h>
4 
5 namespace SCENE_API
6 {
7 // Forward declarations
8 class LSProcessSettings_Implementation;
9 
14 {
15  LS_UNCOPYABLE(LSProcessSettings)
16 public:
17 
19  enum class Colorization : uint8_t
20  {
24  };
25 
26 public:
31  CORE_API_EXPORT static ref_ptr<LSProcessSettings> create();
32 
39  CORE_API_EXPORT LSResult::Result setDarkScanPointFilter(const bool filterState);
40 
43  CORE_API_EXPORT bool getDarkScanPointFilter() const;
44 
51  CORE_API_EXPORT LSResult::Result setFilterReflectanceThreshold(const int reflectance);
52 
55  CORE_API_EXPORT int getFilterReflectanceThreshold() const;
56 
62  CORE_API_EXPORT LSResult::Result setColorization(Colorization colorization);
63 
66  CORE_API_EXPORT Colorization getColorization() const;
67 
75  CORE_API_EXPORT LSResult::Result setDistanceFilter(const bool filterState);
76 
79  CORE_API_EXPORT bool getDistanceFilter() const;
80 
87  CORE_API_EXPORT LSResult::Result setFilterMinimumDistance(const double distanceValue);
88 
91  CORE_API_EXPORT double getFilterMinimumDistance() const;
92 
99  CORE_API_EXPORT LSResult::Result setFilterMaximumDistance(const double distanceValue);
100 
103  CORE_API_EXPORT double getFilterMaximumDistance() const;
104 
111  CORE_API_EXPORT LSResult::Result setEdgeArtifactFilter(const bool filterState);
112 
115  CORE_API_EXPORT bool getEdgeArtifactFilter() const;
116 
125  CORE_API_EXPORT LSResult::Result setStrayFilter(const bool filterState);
126 
129  CORE_API_EXPORT bool getStrayFilter() const;
130 
141  CORE_API_EXPORT LSResult::Result setStrayFilterGridSize(const int gridSize);
142 
145  CORE_API_EXPORT int getStrayFilterGridSize() const;
146 
154  CORE_API_EXPORT LSResult::Result setStrayFilterDistance(const double strayDistance);
155 
158  CORE_API_EXPORT double getStrayFilterDistance() const;
159 
168  CORE_API_EXPORT LSResult::Result setStrayFilterAllocation(const double allocationPercentage);
169 
172  CORE_API_EXPORT double getStrayFilterAllocation() const;
173 
180  CORE_API_EXPORT LSResult::Result setSphereDetection(const bool filterState);
181 
184  CORE_API_EXPORT bool getSphereDetection() const;
185 
193  CORE_API_EXPORT LSResult::Result setActiveSphereRadii(const std::vector<double>& radiiVector);
194 
197  CORE_API_EXPORT std::vector<double> getActiveSphereRadii() const;
198 
205  CORE_API_EXPORT LSResult::Result setCheckboardsDetection(const bool filterState);
206 
209  CORE_API_EXPORT bool getCheckboardsDetection() const;
210 
217  CORE_API_EXPORT LSResult::Result setPlaneDetection(const bool filterState);
218 
221  CORE_API_EXPORT bool getPlaneDetection() const;
222 
229  CORE_API_EXPORT LSResult::Result setMarkerDetection(const bool filterState);
230 
233  CORE_API_EXPORT bool getMarkerDetection() const;
234 
241  CORE_API_EXPORT LSResult::Result setCreatePointClouds(const bool creationState);
242 
245  CORE_API_EXPORT bool getCreatePointClouds() const;
246 
247 protected:
249 };
250 
251 }