Blender  V3.3
intern/reconstruction.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2011 Blender Foundation. All rights reserved. */
3 
4 #ifndef LIBMV_C_API_RECONSTRUCTION_H_
5 #define LIBMV_C_API_RECONSTRUCTION_H_
6 
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 
11 struct libmv_Tracks;
14 
16 
17 enum {
20 
28 
33 };
34 
40 
41 typedef void (*reconstruct_progress_update_cb)(void* customdata,
42  double progress,
43  const char* message);
44 
46  const struct libmv_Tracks* libmv_tracks,
47  const struct libmv_CameraIntrinsicsOptions* libmv_camera_intrinsics_options,
48  libmv_ReconstructionOptions* libmv_reconstruction_options,
49  reconstruct_progress_update_cb progress_update_callback,
50  void* callback_customdata);
51 
53  const struct libmv_Tracks* libmv_tracks,
54  const struct libmv_CameraIntrinsicsOptions* libmv_camera_intrinsics_options,
55  const libmv_ReconstructionOptions* libmv_reconstruction_options,
56  reconstruct_progress_update_cb progress_update_callback,
57  void* callback_customdata);
58 
59 int libmv_reconstructionIsValid(libmv_Reconstruction* libmv_reconstruction);
60 
61 void libmv_reconstructionDestroy(libmv_Reconstruction* libmv_reconstruction);
62 
64  const libmv_Reconstruction* libmv_reconstruction, int track, double pos[3]);
65 
67  const libmv_Reconstruction* libmv_reconstruction, int track);
68 
70  const libmv_Reconstruction* libmv_reconstruction, int image);
71 
73  const libmv_Reconstruction* libmv_reconstruction,
74  int image,
75  double mat[4][4]);
76 
78  const libmv_Reconstruction* libmv_reconstruction);
79 
82 
83 #ifdef __cplusplus
84 }
85 #endif
86 
87 #endif // LIBMV_C_API_RECONSTRUCTION_H_
SyclQueue void void size_t num_bytes void
depth_tx normal_tx diffuse_light_tx specular_light_tx volume_light_tx environment_tx ambient_occlusion_tx aov_value_tx in_weight_img image(1, GPU_R32F, Qualifier::WRITE, ImageType::FLOAT_2D_ARRAY, "out_weight_img") .image(3
uint pos
struct libmv_CameraIntrinsics libmv_CameraIntrinsics
void(* reconstruct_progress_update_cb)(void *customdata, double progress, const char *message)
libmv_Reconstruction * libmv_solveReconstruction(const struct libmv_Tracks *libmv_tracks, const struct libmv_CameraIntrinsicsOptions *libmv_camera_intrinsics_options, libmv_ReconstructionOptions *libmv_reconstruction_options, reconstruct_progress_update_cb progress_update_callback, void *callback_customdata)
double libmv_reprojectionErrorForImage(const libmv_Reconstruction *libmv_reconstruction, int image)
double libmv_reprojectionError(const libmv_Reconstruction *libmv_reconstruction)
struct libmv_ReconstructionOptions libmv_ReconstructionOptions
void libmv_reconstructionDestroy(libmv_Reconstruction *libmv_reconstruction)
struct libmv_CameraIntrinsics * libmv_reconstructionExtractIntrinsics(libmv_Reconstruction *libmv_Reconstruction)
int libmv_reconstructionIsValid(libmv_Reconstruction *libmv_reconstruction)
int libmv_reprojectionCameraForImage(const libmv_Reconstruction *libmv_reconstruction, int image, double mat[4][4])
@ LIBMV_REFINE_TANGENTIAL_DISTORTION
@ LIBMV_REFINE_RADIAL_DISTORTION_K2
@ LIBMV_REFINE_FOCAL_LENGTH
@ LIBMV_REFINE_TANGENTIAL_DISTORTION_P1
@ LIBMV_REFINE_RADIAL_DISTORTION
@ LIBMV_REFINE_RADIAL_DISTORTION_K3
@ LIBMV_REFINE_TANGENTIAL_DISTORTION_P2
@ LIBMV_REFINE_RADIAL_DISTORTION_K4
@ LIBMV_REFINE_PRINCIPAL_POINT
@ LIBMV_REFINE_RADIAL_DISTORTION_K1
int libmv_reprojectionPointForTrack(const libmv_Reconstruction *libmv_reconstruction, int track, double pos[3])
libmv_Reconstruction * libmv_solveModal(const struct libmv_Tracks *libmv_tracks, const struct libmv_CameraIntrinsicsOptions *libmv_camera_intrinsics_options, const libmv_ReconstructionOptions *libmv_reconstruction_options, reconstruct_progress_update_cb progress_update_callback, void *callback_customdata)
double libmv_reprojectionErrorForTrack(const libmv_Reconstruction *libmv_reconstruction, int track)
struct libmv_Tracks libmv_Tracks
Definition: intern/tracks.h:11