forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimage_alignment_observation.gen.go
54 lines (42 loc) · 1.5 KB
/
image_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
// Code generated by DarwinKit. DO NOT EDIT.
package vision
import (
"unsafe"
"github.com/progrium/macdriver/objc"
)
// The class instance for the [ImageAlignmentObservation] class.
var ImageAlignmentObservationClass = _ImageAlignmentObservationClass{objc.GetClass("VNImageAlignmentObservation")}
type _ImageAlignmentObservationClass struct {
objc.Class
}
// An interface definition for the [ImageAlignmentObservation] class.
type IImageAlignmentObservation interface {
IObservation
}
// The abstract superclass for image analysis results that describe the relative alignment of two images. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/vision/vnimagealignmentobservation?language=objc
type ImageAlignmentObservation struct {
Observation
}
func ImageAlignmentObservationFrom(ptr unsafe.Pointer) ImageAlignmentObservation {
return ImageAlignmentObservation{
Observation: ObservationFrom(ptr),
}
}
func (ic _ImageAlignmentObservationClass) Alloc() ImageAlignmentObservation {
rv := objc.Call[ImageAlignmentObservation](ic, objc.Sel("alloc"))
return rv
}
func (ic _ImageAlignmentObservationClass) New() ImageAlignmentObservation {
rv := objc.Call[ImageAlignmentObservation](ic, objc.Sel("new"))
rv.Autorelease()
return rv
}
func NewImageAlignmentObservation() ImageAlignmentObservation {
return ImageAlignmentObservationClass.New()
}
func (i_ ImageAlignmentObservation) Init() ImageAlignmentObservation {
rv := objc.Call[ImageAlignmentObservation](i_, objc.Sel("init"))
return rv
}