CVB++ 15.0
Loading...
Searching...
No Matches
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
14
18 namespace Metric
19 {
21 namespace AQS12
22 {
24
28 {
29
30 public:
32
35 AQS12Piece(const std::array<Point3D<double>, 12> &points, const double distance)
36 : points_(points)
37 , topBasePlaneDistance_(distance)
38 {
39 }
40
42
46 const std::array<Point3D<double>, 12> &Points() const noexcept
47 {
48 return points_;
49 };
50
52
56 double TopBasePlaneDistance() const noexcept
57 {
58 return topBasePlaneDistance_;
59 }
60
62
66 void SetTopBasePlaneDistance(double distance)
67 {
68 topBasePlaneDistance_ = distance;
69 }
70
71 private:
72 double topBasePlaneDistance_ = 0.0;
73 std::array<Point3D<double>, 12> points_;
74 };
75
76 } // namespace AQS12
77 using namespace AQS12;
78 } // namespace Metric
79 } // namespace Foundation
80
81 CVB_END_INLINE_NS
82} // namespace Cvb
double TopBasePlaneDistance() const noexcept
Gets the distance between the top and base plane.
Definition decl_metric_aqs12_calibration_piece.hpp:56
void SetTopBasePlaneDistance(double distance)
Sets the distance between the top and base plane.
Definition decl_metric_aqs12_calibration_piece.hpp:66
const std::array< Point3D< double >, 12 > & Points() const noexcept
Gets array with AQS12 points.
Definition decl_metric_aqs12_calibration_piece.hpp:46
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:35
Multi-purpose 3D vector class.
Definition point_3d.hpp:22
Namespace specific to AQS12 calibration pieces.
Definition decl_metric_aqs12_calibration_piece.hpp:22
Namespace for metric calibration.
Definition decl_metric_aqs12_calibration_piece.hpp:19
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