forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimage_translation_alignment_observation.gen.go
64 lines (51 loc) · 2.31 KB
/
image_translation_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/macos/coregraphics"
"github.com/progrium/macdriver/objc"
)
// The class instance for the [ImageTranslationAlignmentObservation] class.
var ImageTranslationAlignmentObservationClass = _ImageTranslationAlignmentObservationClass{objc.GetClass("VNImageTranslationAlignmentObservation")}
type _ImageTranslationAlignmentObservationClass struct {
objc.Class
}
// An interface definition for the [ImageTranslationAlignmentObservation] class.
type IImageTranslationAlignmentObservation interface {
IImageAlignmentObservation
AlignmentTransform() coregraphics.AffineTransform
}
// Affine transform information that an image alignment request produces. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/vision/vnimagetranslationalignmentobservation?language=objc
type ImageTranslationAlignmentObservation struct {
ImageAlignmentObservation
}
func ImageTranslationAlignmentObservationFrom(ptr unsafe.Pointer) ImageTranslationAlignmentObservation {
return ImageTranslationAlignmentObservation{
ImageAlignmentObservation: ImageAlignmentObservationFrom(ptr),
}
}
func (ic _ImageTranslationAlignmentObservationClass) Alloc() ImageTranslationAlignmentObservation {
rv := objc.Call[ImageTranslationAlignmentObservation](ic, objc.Sel("alloc"))
return rv
}
func (ic _ImageTranslationAlignmentObservationClass) New() ImageTranslationAlignmentObservation {
rv := objc.Call[ImageTranslationAlignmentObservation](ic, objc.Sel("new"))
rv.Autorelease()
return rv
}
func NewImageTranslationAlignmentObservation() ImageTranslationAlignmentObservation {
return ImageTranslationAlignmentObservationClass.New()
}
func (i_ ImageTranslationAlignmentObservation) Init() ImageTranslationAlignmentObservation {
rv := objc.Call[ImageTranslationAlignmentObservation](i_, objc.Sel("init"))
return rv
}
// The alignment transform to align the floating image with the reference image. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/vision/vnimagetranslationalignmentobservation/2887130-alignmenttransform?language=objc
func (i_ ImageTranslationAlignmentObservation) AlignmentTransform() coregraphics.AffineTransform {
rv := objc.Call[coregraphics.AffineTransform](i_, objc.Sel("alignmentTransform"))
return rv
}