3#include "../_decl/decl_calibrator_3d.hpp"
5#include "../_decl/decl_at_calibrator_3d.hpp"
6#include "../_decl/decl_factors_calibrator_3d.hpp"
7#include "../_decl/decl_laser_plane_homography_calibrator_3d.hpp"
8#include "../_decl/decl_laser_plane_zigzag_calibrator_3d.hpp"
9#include "../_decl/decl_matrix_calibrator_3d.hpp"
10#include "../_decl/decl_pinhole_camera_calibrator_3d.hpp"
22 switch (TypeId(guard.Handle()))
24 case CalibratorType::LaserPlaneAT:
26 case CalibratorType::Factors:
28 case CalibratorType::MatrixH:
30 case CalibratorType::Pinhole:
32 case CalibratorType::LaserPlaneMatrixH:
33 case CalibratorType::LaserPlanePolynom:
35 case CalibratorType::LaserPlaneZigZag:
46 [&](
void *&handle) {
return CVB_CALL_CAPI(CVC3DLoadCalibratorTyped(fileName.c_str(), handle)); }));
static Calibrator3DPtr FromHandle(HandleGuard< Calibrator3D > &&guard)
Creates a calibrator from a classic API handle.
Definition detail_calibrator_3d.hpp:17
static std::shared_ptr< T > Load(const String &fileName)
Loads a 3D calibration from file.
Definition detail_calibrator_3d.hpp:43
Root namespace for the Image Manager interface.
Definition c_bayer_to_rgb.h:17
std::string String
String for wide characters or unicode characters.
Definition string.hpp:49
std::shared_ptr< Calibrator3D > Calibrator3DPtr
Convenience shared pointer for Calibrator3D.
Definition core_3d.hpp:52
T dynamic_pointer_cast(T... args)