summaryrefslogtreecommitdiff
path: root/src/scanner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/scanner.cpp')
-rw-r--r--src/scanner.cpp15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/scanner.cpp b/src/scanner.cpp
index 07d3c0f..9012769 100644
--- a/src/scanner.cpp
+++ b/src/scanner.cpp
@@ -2,9 +2,10 @@
#include "protocols/iprotocol.h"
-Scanner::Scanner(std::shared_ptr<ICamera> camera,
- std::vector<std::shared_ptr<IProtocol>> protocols)
+Scanner::Scanner(std::shared_ptr<ICamera> camera, std::vector<std::shared_ptr<IProtocol>> protocols)
: IScanner{camera, protocols}
+ , m_calibrationTableX{new CalibrationTable{}}
+ , m_calibrationTableZ{new CalibrationTable{}}
{
// m_protocols.push_back()
}
@@ -28,3 +29,13 @@ void Scanner::stopAllProtocols()
protocol->stop();
}
}
+
+CalibrationTablePtr Scanner::calibrationTableX() const
+{
+ return m_calibrationTableX;
+}
+
+CalibrationTablePtr Scanner::calibrationTableZ() const
+{
+ return m_calibrationTableZ;
+}