CVB++ 15.0
decl_metric_aqs12_calibration_piece.hpp
1#pragma once
2
3#include "../../namespace.hpp"
4#include "../../point_3d.hpp"
5
6namespace Cvb
7{
8 CVB_BEGIN_INLINE_NS
9
10 namespace Foundation
11 {
12 namespace Metric
13 {
15 namespace AQS12
16 {
18
22 {
23
24 public:
26
29 AQS12Piece(const std::array<Point3D<double>, 12> &points, const double distance)
30 : points_(points)
31 , topBasePlaneDistance_(distance)
32 {
33 }
34
36
40 const std::array<Point3D<double>, 12> &Points() const noexcept
41 {
42 return points_;
43 };
44
46
50 double TopBasePlaneDistance() const noexcept
51 {
52 return topBasePlaneDistance_;
53 }
54
56
60 void SetTopBasePlaneDistance(double distance)
61 {
62 topBasePlaneDistance_ = distance;
63 }
64
65 private:
66 double topBasePlaneDistance_ = 0.0;
67 std::array<Point3D<double>, 12> points_;
68 };
69
70 } // namespace AQS12
71 using namespace AQS12;
72 } // namespace Metric
73 } // namespace Foundation
74
75 CVB_END_INLINE_NS
76} // namespace Cvb
double TopBasePlaneDistance() const noexcept
Gets the distance between the top and base plane.
Definition decl_metric_aqs12_calibration_piece.hpp:50
void SetTopBasePlaneDistance(double distance)
Sets the distance between the top and base plane.
Definition decl_metric_aqs12_calibration_piece.hpp:60
const std::array< Point3D< double >, 12 > & Points() const noexcept
Gets array with AQS12 points.
Definition decl_metric_aqs12_calibration_piece.hpp:40
AQS12Piece(const std::array< Point3D< double >, 12 > &points, const double distance)
Creates an object describing an AQS12 calibration piece with point coordinates.
Definition decl_metric_aqs12_calibration_piece.hpp:29
Multi-purpose 3D vector class.
Definition point_3d.hpp:22
Namespace specific to AQS12 calibration pieces.
Definition decl_metric_aqs12_calibration_piece.hpp:16
Namespace for metric calibration.
Definition decl_metric_aqs12_calibration_piece.hpp:13
Namespace for the Foundation package.
Definition decl_metric_aqs12_calibration_piece.hpp:11
Root namespace for the Image Manager interface.
Definition c_bayer_to_rgb.h:17