From 673c06aaee5d0dfe87303ad26f4b45013b6550dd Mon Sep 17 00:00:00 2001 From: edhirata Date: Wed, 10 Apr 2024 09:02:02 -0700 Subject: [PATCH] this exposes the mirroring functions(X,Y) for the flir cameras as a property. --- DeviceAdapters/Spinnaker/SpinnakerCamera.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DeviceAdapters/Spinnaker/SpinnakerCamera.cpp b/DeviceAdapters/Spinnaker/SpinnakerCamera.cpp index bd44d57bc..1386a89c2 100644 --- a/DeviceAdapters/Spinnaker/SpinnakerCamera.cpp +++ b/DeviceAdapters/Spinnaker/SpinnakerCamera.cpp @@ -403,6 +403,8 @@ int SpinnakerCamera::Initialize() CreatePropertyFromFloat("Gamma", m_cam->Gamma, &SpinnakerCamera::OnGamma); CreatePropertyFromFloat("Black Level", m_cam->BlackLevel, &SpinnakerCamera::OnBlackLevel); CreatePropertyFromEnum("Black Level Auto", m_cam->BlackLevelAuto, &SpinnakerCamera::OnBlackLevelAuto); + CreatePropertyFromBool("Reverse X", m_cam->ReverseX, &SpinnakerCamera::OnReverseX); + CreatePropertyFromBool("Reverse Y", m_cam->ReverseY, &SpinnakerCamera::OnReverseY); try {