summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/pt-settings.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-09-28 19:31:15 +0200
committerStanislaw Halik <sthalik@misaki.pl>2021-09-28 19:33:26 +0200
commit51449ce32dcac7692d5b29fc49f8102b3478466c (patch)
tree9a176d4a3872dc74f324f5de5d1aee3ac32f487a /tracker-pt/pt-settings.hpp
parentdce50f45d7dcb4fda3c4f30bbb89a2dab9500afd (diff)
tracker/pt: add point filter
Diffstat (limited to 'tracker-pt/pt-settings.hpp')
-rw-r--r--tracker-pt/pt-settings.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tracker-pt/pt-settings.hpp b/tracker-pt/pt-settings.hpp
index e2004ad7..8aa3c39b 100644
--- a/tracker-pt/pt-settings.hpp
+++ b/tracker-pt/pt-settings.hpp
@@ -68,6 +68,9 @@ struct pt_settings final : options::opts
value<slider_value> threshold_slider { b, "threshold-slider", { 128, 0, 255 } };
+ value<bool> enable_point_filter{ b, "enable-point-filter", false };
+ value<slider_value> point_filter_coefficient { b, "point-filter-coefficient", { 1.5, 0, 4 } };
+
explicit pt_settings(const QString& name) : opts(name) {}
};