forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimage_homographic_alignment_observation.gen.go
64 lines (51 loc) · 2.25 KB
/
image_homographic_alignment_observation.gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// Code generated by DarwinKit. DO NOT EDIT.
package vision
import (
"unsafe"
"github.com/progrium/macdriver/kernel"
"github.com/progrium/macdriver/objc"
)
// The class instance for the [ImageHomographicAlignmentObservation] class.
var ImageHomographicAlignmentObservationClass = _ImageHomographicAlignmentObservationClass{objc.GetClass("VNImageHomographicAlignmentObservation")}
type _ImageHomographicAlignmentObservationClass struct {
objc.Class
}
// An interface definition for the [ImageHomographicAlignmentObservation] class.
type IImageHomographicAlignmentObservation interface {
IImageAlignmentObservation
WarpTransform() kernel.Matrix_float3x3
}
// An object that represents a perspective warp transformation. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/vision/vnimagehomographicalignmentobservation?language=objc
type ImageHomographicAlignmentObservation struct {
ImageAlignmentObservation
}
func ImageHomographicAlignmentObservationFrom(ptr unsafe.Pointer) ImageHomographicAlignmentObservation {
return ImageHomographicAlignmentObservation{
ImageAlignmentObservation: ImageAlignmentObservationFrom(ptr),
}
}
func (ic _ImageHomographicAlignmentObservationClass) Alloc() ImageHomographicAlignmentObservation {
rv := objc.Call[ImageHomographicAlignmentObservation](ic, objc.Sel("alloc"))
return rv
}
func (ic _ImageHomographicAlignmentObservationClass) New() ImageHomographicAlignmentObservation {
rv := objc.Call[ImageHomographicAlignmentObservation](ic, objc.Sel("new"))
rv.Autorelease()
return rv
}
func NewImageHomographicAlignmentObservation() ImageHomographicAlignmentObservation {
return ImageHomographicAlignmentObservationClass.New()
}
func (i_ ImageHomographicAlignmentObservation) Init() ImageHomographicAlignmentObservation {
rv := objc.Call[ImageHomographicAlignmentObservation](i_, objc.Sel("init"))
return rv
}
// The warp transform matrix to morph the floating image into the reference image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/vision/vnimagehomographicalignmentobservation/2887129-warptransform?language=objc
func (i_ ImageHomographicAlignmentObservation) WarpTransform() kernel.Matrix_float3x3 {
rv := objc.Call[kernel.Matrix_float3x3](i_, objc.Sel("warpTransform"))
return rv
}