-
-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a29d222
commit a740388
Showing
6,135 changed files
with
1,312,590 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
impl core::GpuMat_AllocatorTraitConst for types::AbstractRefMut<'static, core::GpuMat_Allocator> { | ||
#[inline] fn as_raw_GpuMat_Allocator(&self) -> extern_send!(Self) { self.as_raw() } | ||
} | ||
|
||
impl core::GpuMat_AllocatorTrait for types::AbstractRefMut<'static, core::GpuMat_Allocator> { | ||
#[inline] fn as_raw_mut_GpuMat_Allocator(&mut self) -> extern_send!(mut Self) { self.as_raw_mut() } | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
impl core::MatOpTraitConst for types::AbstractRefMut<'static, core::MatOp> { | ||
#[inline] fn as_raw_MatOp(&self) -> extern_send!(Self) { self.as_raw() } | ||
} | ||
|
||
impl core::MatOpTrait for types::AbstractRefMut<'static, core::MatOp> { | ||
#[inline] fn as_raw_mut_MatOp(&mut self) -> extern_send!(mut Self) { self.as_raw_mut() } | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
extern "C" { | ||
// cv::Ptr<cv::aruco::Board>::getInnerPtr() generated | ||
// ("cv::Ptr<cv::aruco::Board>::getInnerPtr", vec![(pred!(const, [], []), _)]), | ||
const cv::aruco::Board* cv_PtrLcv_aruco_BoardG_getInnerPtr_const(const cv::Ptr<cv::aruco::Board>* instance) { | ||
return instance->get(); | ||
} | ||
|
||
// cv::Ptr<cv::aruco::Board>::getInnerPtrMut() generated | ||
// ("cv::Ptr<cv::aruco::Board>::getInnerPtrMut", vec![(pred!(mut, [], []), _)]), | ||
cv::aruco::Board* cv_PtrLcv_aruco_BoardG_getInnerPtrMut(cv::Ptr<cv::aruco::Board>* instance) { | ||
return instance->get(); | ||
} | ||
|
||
// cv::Ptr<cv::aruco::Board>::new_null() generated | ||
// ("cv::Ptr<cv::aruco::Board>::new_null", vec![(pred!(const, [], []), _)]), | ||
cv::Ptr<cv::aruco::Board>* cv_PtrLcv_aruco_BoardG_new_null_const() { | ||
return new cv::Ptr<cv::aruco::Board>(); | ||
} | ||
|
||
// cv::Ptr<cv::aruco::Board>::delete() generated | ||
// ("cv::Ptr<cv::aruco::Board>::delete", vec![(pred!(mut, [], []), _)]), | ||
void cv_PtrLcv_aruco_BoardG_delete(cv::Ptr<cv::aruco::Board>* instance) { | ||
delete instance; | ||
} | ||
|
||
// cv::Ptr<cv::aruco::Board>::new(TraitClass) generated | ||
// ("cv::Ptr<cv::aruco::Board>::new", vec![(pred!(const, ["val"], ["cv::aruco::Board"]), _)]), | ||
cv::Ptr<cv::aruco::Board>* cv_PtrLcv_aruco_BoardG_new_const_Board(cv::aruco::Board* val) { | ||
return new cv::Ptr<cv::aruco::Board>(val); | ||
} | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// cv::Ptr<cv::aruco::Board>::getInnerPtr() generated | ||
// ("cv::Ptr<cv::aruco::Board>::getInnerPtr", vec![(pred!(const, [], []), _)]), | ||
pub fn cv_PtrLcv_aruco_BoardG_getInnerPtr_const(instance: *const c_void) -> *mut c_void; | ||
// cv::Ptr<cv::aruco::Board>::getInnerPtrMut() generated | ||
// ("cv::Ptr<cv::aruco::Board>::getInnerPtrMut", vec![(pred!(mut, [], []), _)]), | ||
pub fn cv_PtrLcv_aruco_BoardG_getInnerPtrMut(instance: *mut c_void) -> *mut c_void; | ||
// cv::Ptr<cv::aruco::Board>::new_null() generated | ||
// ("cv::Ptr<cv::aruco::Board>::new_null", vec![(pred!(const, [], []), _)]), | ||
pub fn cv_PtrLcv_aruco_BoardG_new_null_const() -> *mut c_void; | ||
// cv::Ptr<cv::aruco::Board>::delete() generated | ||
// ("cv::Ptr<cv::aruco::Board>::delete", vec![(pred!(mut, [], []), _)]), | ||
pub fn cv_PtrLcv_aruco_BoardG_delete(instance: *mut c_void); | ||
// cv::Ptr<cv::aruco::Board>::new(TraitClass) generated | ||
// ("cv::Ptr<cv::aruco::Board>::new", vec![(pred!(const, ["val"], ["cv::aruco::Board"]), _)]), | ||
pub fn cv_PtrLcv_aruco_BoardG_new_const_Board(val: *mut c_void) -> *mut c_void; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
ptr_extern! { crate::aruco::Board, | ||
cv_PtrLcv_aruco_BoardG_new_null_const, cv_PtrLcv_aruco_BoardG_delete, cv_PtrLcv_aruco_BoardG_getInnerPtr_const, cv_PtrLcv_aruco_BoardG_getInnerPtrMut | ||
} | ||
|
||
ptr_extern_ctor! { crate::aruco::Board, cv_PtrLcv_aruco_BoardG_new_const_Board } | ||
impl core::Ptr<crate::aruco::Board> { | ||
#[inline] pub fn as_raw_PtrOfBoard(&self) -> extern_send!(Self) { self.as_raw() } | ||
#[inline] pub fn as_raw_mut_PtrOfBoard(&mut self) -> extern_send!(mut Self) { self.as_raw_mut() } | ||
} | ||
|
||
impl crate::aruco::BoardTraitConst for core::Ptr<crate::aruco::Board> { | ||
#[inline] fn as_raw_Board(&self) -> *const c_void { self.inner_as_raw() } | ||
} | ||
|
||
impl crate::aruco::BoardTrait for core::Ptr<crate::aruco::Board> { | ||
#[inline] fn as_raw_mut_Board(&mut self) -> *mut c_void { self.inner_as_raw_mut() } | ||
} | ||
|
||
impl std::fmt::Debug for core::Ptr<crate::aruco::Board> { | ||
#[inline] | ||
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { | ||
f.debug_struct("PtrOfBoard") | ||
.field("obj_points", &crate::aruco::BoardTraitConst::obj_points(self)) | ||
.field("ids", &crate::aruco::BoardTraitConst::ids(self)) | ||
.field("right_bottom_border", &crate::aruco::BoardTraitConst::right_bottom_border(self)) | ||
.finish() | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
extern "C" { | ||
// cv::Ptr<cv::aruco::CharucoBoard>::getInnerPtr() generated | ||
// ("cv::Ptr<cv::aruco::CharucoBoard>::getInnerPtr", vec![(pred!(const, [], []), _)]), | ||
const cv::aruco::CharucoBoard* cv_PtrLcv_aruco_CharucoBoardG_getInnerPtr_const(const cv::Ptr<cv::aruco::CharucoBoard>* instance) { | ||
return instance->get(); | ||
} | ||
|
||
// cv::Ptr<cv::aruco::CharucoBoard>::getInnerPtrMut() generated | ||
// ("cv::Ptr<cv::aruco::CharucoBoard>::getInnerPtrMut", vec![(pred!(mut, [], []), _)]), | ||
cv::aruco::CharucoBoard* cv_PtrLcv_aruco_CharucoBoardG_getInnerPtrMut(cv::Ptr<cv::aruco::CharucoBoard>* instance) { | ||
return instance->get(); | ||
} | ||
|
||
// cv::Ptr<cv::aruco::CharucoBoard>::new_null() generated | ||
// ("cv::Ptr<cv::aruco::CharucoBoard>::new_null", vec![(pred!(const, [], []), _)]), | ||
cv::Ptr<cv::aruco::CharucoBoard>* cv_PtrLcv_aruco_CharucoBoardG_new_null_const() { | ||
return new cv::Ptr<cv::aruco::CharucoBoard>(); | ||
} | ||
|
||
// cv::Ptr<cv::aruco::CharucoBoard>::delete() generated | ||
// ("cv::Ptr<cv::aruco::CharucoBoard>::delete", vec![(pred!(mut, [], []), _)]), | ||
void cv_PtrLcv_aruco_CharucoBoardG_delete(cv::Ptr<cv::aruco::CharucoBoard>* instance) { | ||
delete instance; | ||
} | ||
|
||
// cv::Ptr<cv::aruco::CharucoBoard>::to_PtrOfBoard() generated | ||
// ("cv::Ptr<cv::aruco::CharucoBoard>::to_PtrOfBoard", vec![(pred!(mut, [], []), _)]), | ||
cv::Ptr<cv::aruco::Board>* cv_PtrLcv_aruco_CharucoBoardG_to_PtrOfBoard(cv::Ptr<cv::aruco::CharucoBoard>* instance) { | ||
return new cv::Ptr<cv::aruco::Board>(instance->dynamicCast<cv::aruco::Board>()); | ||
} | ||
|
||
// cv::Ptr<cv::aruco::CharucoBoard>::new(TraitClass) generated | ||
// ("cv::Ptr<cv::aruco::CharucoBoard>::new", vec![(pred!(const, ["val"], ["cv::aruco::CharucoBoard"]), _)]), | ||
cv::Ptr<cv::aruco::CharucoBoard>* cv_PtrLcv_aruco_CharucoBoardG_new_const_CharucoBoard(cv::aruco::CharucoBoard* val) { | ||
return new cv::Ptr<cv::aruco::CharucoBoard>(val); | ||
} | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// cv::Ptr<cv::aruco::CharucoBoard>::getInnerPtr() generated | ||
// ("cv::Ptr<cv::aruco::CharucoBoard>::getInnerPtr", vec![(pred!(const, [], []), _)]), | ||
pub fn cv_PtrLcv_aruco_CharucoBoardG_getInnerPtr_const(instance: *const c_void) -> *mut c_void; | ||
// cv::Ptr<cv::aruco::CharucoBoard>::getInnerPtrMut() generated | ||
// ("cv::Ptr<cv::aruco::CharucoBoard>::getInnerPtrMut", vec![(pred!(mut, [], []), _)]), | ||
pub fn cv_PtrLcv_aruco_CharucoBoardG_getInnerPtrMut(instance: *mut c_void) -> *mut c_void; | ||
// cv::Ptr<cv::aruco::CharucoBoard>::new_null() generated | ||
// ("cv::Ptr<cv::aruco::CharucoBoard>::new_null", vec![(pred!(const, [], []), _)]), | ||
pub fn cv_PtrLcv_aruco_CharucoBoardG_new_null_const() -> *mut c_void; | ||
// cv::Ptr<cv::aruco::CharucoBoard>::delete() generated | ||
// ("cv::Ptr<cv::aruco::CharucoBoard>::delete", vec![(pred!(mut, [], []), _)]), | ||
pub fn cv_PtrLcv_aruco_CharucoBoardG_delete(instance: *mut c_void); | ||
// cv::Ptr<cv::aruco::CharucoBoard>::to_PtrOfBoard() generated | ||
// ("cv::Ptr<cv::aruco::CharucoBoard>::to_PtrOfBoard", vec![(pred!(mut, [], []), _)]), | ||
pub fn cv_PtrLcv_aruco_CharucoBoardG_to_PtrOfBoard(instance: *mut c_void) -> *mut c_void; | ||
// cv::Ptr<cv::aruco::CharucoBoard>::new(TraitClass) generated | ||
// ("cv::Ptr<cv::aruco::CharucoBoard>::new", vec![(pred!(const, ["val"], ["cv::aruco::CharucoBoard"]), _)]), | ||
pub fn cv_PtrLcv_aruco_CharucoBoardG_new_const_CharucoBoard(val: *mut c_void) -> *mut c_void; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
ptr_extern! { crate::aruco::CharucoBoard, | ||
cv_PtrLcv_aruco_CharucoBoardG_new_null_const, cv_PtrLcv_aruco_CharucoBoardG_delete, cv_PtrLcv_aruco_CharucoBoardG_getInnerPtr_const, cv_PtrLcv_aruco_CharucoBoardG_getInnerPtrMut | ||
} | ||
|
||
ptr_extern_ctor! { crate::aruco::CharucoBoard, cv_PtrLcv_aruco_CharucoBoardG_new_const_CharucoBoard } | ||
impl core::Ptr<crate::aruco::CharucoBoard> { | ||
#[inline] pub fn as_raw_PtrOfCharucoBoard(&self) -> extern_send!(Self) { self.as_raw() } | ||
#[inline] pub fn as_raw_mut_PtrOfCharucoBoard(&mut self) -> extern_send!(mut Self) { self.as_raw_mut() } | ||
} | ||
|
||
impl crate::aruco::CharucoBoardTraitConst for core::Ptr<crate::aruco::CharucoBoard> { | ||
#[inline] fn as_raw_CharucoBoard(&self) -> *const c_void { self.inner_as_raw() } | ||
} | ||
|
||
impl crate::aruco::CharucoBoardTrait for core::Ptr<crate::aruco::CharucoBoard> { | ||
#[inline] fn as_raw_mut_CharucoBoard(&mut self) -> *mut c_void { self.inner_as_raw_mut() } | ||
} | ||
|
||
impl crate::aruco::BoardTraitConst for core::Ptr<crate::aruco::CharucoBoard> { | ||
#[inline] fn as_raw_Board(&self) -> *const c_void { self.inner_as_raw() } | ||
} | ||
|
||
impl crate::aruco::BoardTrait for core::Ptr<crate::aruco::CharucoBoard> { | ||
#[inline] fn as_raw_mut_Board(&mut self) -> *mut c_void { self.inner_as_raw_mut() } | ||
} | ||
|
||
ptr_cast_base! { core::Ptr<crate::aruco::CharucoBoard>, core::Ptr<crate::aruco::Board>, cv_PtrLcv_aruco_CharucoBoardG_to_PtrOfBoard } | ||
|
||
impl std::fmt::Debug for core::Ptr<crate::aruco::CharucoBoard> { | ||
#[inline] | ||
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { | ||
f.debug_struct("PtrOfCharucoBoard") | ||
.field("chessboard_corners", &crate::aruco::CharucoBoardTraitConst::chessboard_corners(self)) | ||
.field("nearest_marker_idx", &crate::aruco::CharucoBoardTraitConst::nearest_marker_idx(self)) | ||
.field("nearest_marker_corners", &crate::aruco::CharucoBoardTraitConst::nearest_marker_corners(self)) | ||
.field("obj_points", &crate::aruco::BoardTraitConst::obj_points(self)) | ||
.field("ids", &crate::aruco::BoardTraitConst::ids(self)) | ||
.field("right_bottom_border", &crate::aruco::BoardTraitConst::right_bottom_border(self)) | ||
.finish() | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
extern "C" { | ||
// cv::Ptr<cv::aruco::DetectorParameters>::getInnerPtr() generated | ||
// ("cv::Ptr<cv::aruco::DetectorParameters>::getInnerPtr", vec![(pred!(const, [], []), _)]), | ||
const cv::aruco::DetectorParameters* cv_PtrLcv_aruco_DetectorParametersG_getInnerPtr_const(const cv::Ptr<cv::aruco::DetectorParameters>* instance) { | ||
return instance->get(); | ||
} | ||
|
||
// cv::Ptr<cv::aruco::DetectorParameters>::getInnerPtrMut() generated | ||
// ("cv::Ptr<cv::aruco::DetectorParameters>::getInnerPtrMut", vec![(pred!(mut, [], []), _)]), | ||
cv::aruco::DetectorParameters* cv_PtrLcv_aruco_DetectorParametersG_getInnerPtrMut(cv::Ptr<cv::aruco::DetectorParameters>* instance) { | ||
return instance->get(); | ||
} | ||
|
||
// cv::Ptr<cv::aruco::DetectorParameters>::new_null() generated | ||
// ("cv::Ptr<cv::aruco::DetectorParameters>::new_null", vec![(pred!(const, [], []), _)]), | ||
cv::Ptr<cv::aruco::DetectorParameters>* cv_PtrLcv_aruco_DetectorParametersG_new_null_const() { | ||
return new cv::Ptr<cv::aruco::DetectorParameters>(); | ||
} | ||
|
||
// cv::Ptr<cv::aruco::DetectorParameters>::delete() generated | ||
// ("cv::Ptr<cv::aruco::DetectorParameters>::delete", vec![(pred!(mut, [], []), _)]), | ||
void cv_PtrLcv_aruco_DetectorParametersG_delete(cv::Ptr<cv::aruco::DetectorParameters>* instance) { | ||
delete instance; | ||
} | ||
|
||
// cv::Ptr<cv::aruco::DetectorParameters>::new(TraitClass) generated | ||
// ("cv::Ptr<cv::aruco::DetectorParameters>::new", vec![(pred!(const, ["val"], ["cv::aruco::DetectorParameters"]), _)]), | ||
cv::Ptr<cv::aruco::DetectorParameters>* cv_PtrLcv_aruco_DetectorParametersG_new_const_DetectorParameters(cv::aruco::DetectorParameters* val) { | ||
return new cv::Ptr<cv::aruco::DetectorParameters>(val); | ||
} | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// cv::Ptr<cv::aruco::DetectorParameters>::getInnerPtr() generated | ||
// ("cv::Ptr<cv::aruco::DetectorParameters>::getInnerPtr", vec![(pred!(const, [], []), _)]), | ||
pub fn cv_PtrLcv_aruco_DetectorParametersG_getInnerPtr_const(instance: *const c_void) -> *mut c_void; | ||
// cv::Ptr<cv::aruco::DetectorParameters>::getInnerPtrMut() generated | ||
// ("cv::Ptr<cv::aruco::DetectorParameters>::getInnerPtrMut", vec![(pred!(mut, [], []), _)]), | ||
pub fn cv_PtrLcv_aruco_DetectorParametersG_getInnerPtrMut(instance: *mut c_void) -> *mut c_void; | ||
// cv::Ptr<cv::aruco::DetectorParameters>::new_null() generated | ||
// ("cv::Ptr<cv::aruco::DetectorParameters>::new_null", vec![(pred!(const, [], []), _)]), | ||
pub fn cv_PtrLcv_aruco_DetectorParametersG_new_null_const() -> *mut c_void; | ||
// cv::Ptr<cv::aruco::DetectorParameters>::delete() generated | ||
// ("cv::Ptr<cv::aruco::DetectorParameters>::delete", vec![(pred!(mut, [], []), _)]), | ||
pub fn cv_PtrLcv_aruco_DetectorParametersG_delete(instance: *mut c_void); | ||
// cv::Ptr<cv::aruco::DetectorParameters>::new(TraitClass) generated | ||
// ("cv::Ptr<cv::aruco::DetectorParameters>::new", vec![(pred!(const, ["val"], ["cv::aruco::DetectorParameters"]), _)]), | ||
pub fn cv_PtrLcv_aruco_DetectorParametersG_new_const_DetectorParameters(val: *mut c_void) -> *mut c_void; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
ptr_extern! { crate::aruco::DetectorParameters, | ||
cv_PtrLcv_aruco_DetectorParametersG_new_null_const, cv_PtrLcv_aruco_DetectorParametersG_delete, cv_PtrLcv_aruco_DetectorParametersG_getInnerPtr_const, cv_PtrLcv_aruco_DetectorParametersG_getInnerPtrMut | ||
} | ||
|
||
ptr_extern_ctor! { crate::aruco::DetectorParameters, cv_PtrLcv_aruco_DetectorParametersG_new_const_DetectorParameters } | ||
impl core::Ptr<crate::aruco::DetectorParameters> { | ||
#[inline] pub fn as_raw_PtrOfDetectorParameters(&self) -> extern_send!(Self) { self.as_raw() } | ||
#[inline] pub fn as_raw_mut_PtrOfDetectorParameters(&mut self) -> extern_send!(mut Self) { self.as_raw_mut() } | ||
} | ||
|
||
impl crate::aruco::DetectorParametersTraitConst for core::Ptr<crate::aruco::DetectorParameters> { | ||
#[inline] fn as_raw_DetectorParameters(&self) -> *const c_void { self.inner_as_raw() } | ||
} | ||
|
||
impl crate::aruco::DetectorParametersTrait for core::Ptr<crate::aruco::DetectorParameters> { | ||
#[inline] fn as_raw_mut_DetectorParameters(&mut self) -> *mut c_void { self.inner_as_raw_mut() } | ||
} | ||
|
||
impl std::fmt::Debug for core::Ptr<crate::aruco::DetectorParameters> { | ||
#[inline] | ||
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { | ||
f.debug_struct("PtrOfDetectorParameters") | ||
.field("adaptive_thresh_win_size_min", &crate::aruco::DetectorParametersTraitConst::adaptive_thresh_win_size_min(self)) | ||
.field("adaptive_thresh_win_size_max", &crate::aruco::DetectorParametersTraitConst::adaptive_thresh_win_size_max(self)) | ||
.field("adaptive_thresh_win_size_step", &crate::aruco::DetectorParametersTraitConst::adaptive_thresh_win_size_step(self)) | ||
.field("adaptive_thresh_constant", &crate::aruco::DetectorParametersTraitConst::adaptive_thresh_constant(self)) | ||
.field("min_marker_perimeter_rate", &crate::aruco::DetectorParametersTraitConst::min_marker_perimeter_rate(self)) | ||
.field("max_marker_perimeter_rate", &crate::aruco::DetectorParametersTraitConst::max_marker_perimeter_rate(self)) | ||
.field("polygonal_approx_accuracy_rate", &crate::aruco::DetectorParametersTraitConst::polygonal_approx_accuracy_rate(self)) | ||
.field("min_corner_distance_rate", &crate::aruco::DetectorParametersTraitConst::min_corner_distance_rate(self)) | ||
.field("min_distance_to_border", &crate::aruco::DetectorParametersTraitConst::min_distance_to_border(self)) | ||
.field("min_marker_distance_rate", &crate::aruco::DetectorParametersTraitConst::min_marker_distance_rate(self)) | ||
.field("corner_refinement_method", &crate::aruco::DetectorParametersTraitConst::corner_refinement_method(self)) | ||
.field("corner_refinement_win_size", &crate::aruco::DetectorParametersTraitConst::corner_refinement_win_size(self)) | ||
.field("corner_refinement_max_iterations", &crate::aruco::DetectorParametersTraitConst::corner_refinement_max_iterations(self)) | ||
.field("corner_refinement_min_accuracy", &crate::aruco::DetectorParametersTraitConst::corner_refinement_min_accuracy(self)) | ||
.field("marker_border_bits", &crate::aruco::DetectorParametersTraitConst::marker_border_bits(self)) | ||
.field("perspective_remove_pixel_per_cell", &crate::aruco::DetectorParametersTraitConst::perspective_remove_pixel_per_cell(self)) | ||
.field("perspective_remove_ignored_margin_per_cell", &crate::aruco::DetectorParametersTraitConst::perspective_remove_ignored_margin_per_cell(self)) | ||
.field("max_erroneous_bits_in_border_rate", &crate::aruco::DetectorParametersTraitConst::max_erroneous_bits_in_border_rate(self)) | ||
.field("min_otsu_std_dev", &crate::aruco::DetectorParametersTraitConst::min_otsu_std_dev(self)) | ||
.field("error_correction_rate", &crate::aruco::DetectorParametersTraitConst::error_correction_rate(self)) | ||
.field("april_tag_quad_decimate", &crate::aruco::DetectorParametersTraitConst::april_tag_quad_decimate(self)) | ||
.field("april_tag_quad_sigma", &crate::aruco::DetectorParametersTraitConst::april_tag_quad_sigma(self)) | ||
.field("april_tag_min_cluster_pixels", &crate::aruco::DetectorParametersTraitConst::april_tag_min_cluster_pixels(self)) | ||
.field("april_tag_max_nmaxima", &crate::aruco::DetectorParametersTraitConst::april_tag_max_nmaxima(self)) | ||
.field("april_tag_critical_rad", &crate::aruco::DetectorParametersTraitConst::april_tag_critical_rad(self)) | ||
.field("april_tag_max_line_fit_mse", &crate::aruco::DetectorParametersTraitConst::april_tag_max_line_fit_mse(self)) | ||
.field("april_tag_min_white_black_diff", &crate::aruco::DetectorParametersTraitConst::april_tag_min_white_black_diff(self)) | ||
.field("april_tag_deglitch", &crate::aruco::DetectorParametersTraitConst::april_tag_deglitch(self)) | ||
.field("detect_inverted_marker", &crate::aruco::DetectorParametersTraitConst::detect_inverted_marker(self)) | ||
.finish() | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
extern "C" { | ||
// cv::Ptr<cv::aruco::Dictionary>::getInnerPtr() generated | ||
// ("cv::Ptr<cv::aruco::Dictionary>::getInnerPtr", vec![(pred!(const, [], []), _)]), | ||
const cv::aruco::Dictionary* cv_PtrLcv_aruco_DictionaryG_getInnerPtr_const(const cv::Ptr<cv::aruco::Dictionary>* instance) { | ||
return instance->get(); | ||
} | ||
|
||
// cv::Ptr<cv::aruco::Dictionary>::getInnerPtrMut() generated | ||
// ("cv::Ptr<cv::aruco::Dictionary>::getInnerPtrMut", vec![(pred!(mut, [], []), _)]), | ||
cv::aruco::Dictionary* cv_PtrLcv_aruco_DictionaryG_getInnerPtrMut(cv::Ptr<cv::aruco::Dictionary>* instance) { | ||
return instance->get(); | ||
} | ||
|
||
// cv::Ptr<cv::aruco::Dictionary>::new_null() generated | ||
// ("cv::Ptr<cv::aruco::Dictionary>::new_null", vec![(pred!(const, [], []), _)]), | ||
cv::Ptr<cv::aruco::Dictionary>* cv_PtrLcv_aruco_DictionaryG_new_null_const() { | ||
return new cv::Ptr<cv::aruco::Dictionary>(); | ||
} | ||
|
||
// cv::Ptr<cv::aruco::Dictionary>::delete() generated | ||
// ("cv::Ptr<cv::aruco::Dictionary>::delete", vec![(pred!(mut, [], []), _)]), | ||
void cv_PtrLcv_aruco_DictionaryG_delete(cv::Ptr<cv::aruco::Dictionary>* instance) { | ||
delete instance; | ||
} | ||
|
||
// cv::Ptr<cv::aruco::Dictionary>::new(TraitClass) generated | ||
// ("cv::Ptr<cv::aruco::Dictionary>::new", vec![(pred!(const, ["val"], ["cv::aruco::Dictionary"]), _)]), | ||
cv::Ptr<cv::aruco::Dictionary>* cv_PtrLcv_aruco_DictionaryG_new_const_Dictionary(cv::aruco::Dictionary* val) { | ||
return new cv::Ptr<cv::aruco::Dictionary>(val); | ||
} | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// cv::Ptr<cv::aruco::Dictionary>::getInnerPtr() generated | ||
// ("cv::Ptr<cv::aruco::Dictionary>::getInnerPtr", vec![(pred!(const, [], []), _)]), | ||
pub fn cv_PtrLcv_aruco_DictionaryG_getInnerPtr_const(instance: *const c_void) -> *mut c_void; | ||
// cv::Ptr<cv::aruco::Dictionary>::getInnerPtrMut() generated | ||
// ("cv::Ptr<cv::aruco::Dictionary>::getInnerPtrMut", vec![(pred!(mut, [], []), _)]), | ||
pub fn cv_PtrLcv_aruco_DictionaryG_getInnerPtrMut(instance: *mut c_void) -> *mut c_void; | ||
// cv::Ptr<cv::aruco::Dictionary>::new_null() generated | ||
// ("cv::Ptr<cv::aruco::Dictionary>::new_null", vec![(pred!(const, [], []), _)]), | ||
pub fn cv_PtrLcv_aruco_DictionaryG_new_null_const() -> *mut c_void; | ||
// cv::Ptr<cv::aruco::Dictionary>::delete() generated | ||
// ("cv::Ptr<cv::aruco::Dictionary>::delete", vec![(pred!(mut, [], []), _)]), | ||
pub fn cv_PtrLcv_aruco_DictionaryG_delete(instance: *mut c_void); | ||
// cv::Ptr<cv::aruco::Dictionary>::new(TraitClass) generated | ||
// ("cv::Ptr<cv::aruco::Dictionary>::new", vec![(pred!(const, ["val"], ["cv::aruco::Dictionary"]), _)]), | ||
pub fn cv_PtrLcv_aruco_DictionaryG_new_const_Dictionary(val: *mut c_void) -> *mut c_void; |
Oops, something went wrong.