Package apple.arkit
Class ARGeoTrackingConfiguration
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.arkit.ARConfiguration
-
- apple.arkit.ARGeoTrackingConfiguration
-
public class ARGeoTrackingConfiguration extends ARConfiguration
A configuration for running geographical world tracking. It allows placing geo-referenced anchors (ARGeoAnchor) in the scene by running world tracking with location and compass.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceARGeoTrackingConfiguration.Block_checkAvailabilityAtCoordinateCompletionHandlerstatic interfaceARGeoTrackingConfiguration.Block_checkAvailabilityWithCompletionHandler-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedARGeoTrackingConfiguration(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()static ARGeoTrackingConfigurationalloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)booleanautomaticImageScaleEstimationEnabled()Enables the estimation of a scale factor which may be used to correct the physical size of an image.static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)static voidcheckAvailabilityAtCoordinateCompletionHandler(CLLocationCoordinate2D coordinate, ARGeoTrackingConfiguration.Block_checkAvailabilityAtCoordinateCompletionHandler completionHandler)Determines the availability of geo tracking at the given location.static voidcheckAvailabilityWithCompletionHandler(ARGeoTrackingConfiguration.Block_checkAvailabilityWithCompletionHandler completionHandler)Determines the availability of geo tracking at the current location.static NSArray<java.lang.String>classFallbacksForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()NSSet<? extends ARReferenceImage>detectionImages()Images to detect in the scene.NSSet<? extends ARReferenceObject>detectionObjects()Objects to detect in the scene.longenvironmentTexturing()The mode of environment texturing to run.static longhash_static()ARGeoTrackingConfigurationinit()static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static booleanisSupported()static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)longmaximumNumberOfTrackedImages()Maximum number of images to track simultaneously.static java.lang.Objectnew_objc()longplaneDetection()Type of planes to detect in the scene.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidsetAutomaticImageScaleEstimationEnabled(boolean value)Enables the estimation of a scale factor which may be used to correct the physical size of an image.voidsetDetectionImages(NSSet<? extends ARReferenceImage> value)Images to detect in the scene.voidsetDetectionObjects(NSSet<? extends ARReferenceObject> value)Objects to detect in the scene.voidsetEnvironmentTexturing(long value)The mode of environment texturing to run.voidsetMaximumNumberOfTrackedImages(long value)Maximum number of images to track simultaneously.voidsetPlaneDetection(long value)Type of planes to detect in the scene.static voidsetVersion_static(long aVersion)voidsetWantsHDREnvironmentTextures(boolean value)Determines whether environment textures will be provided with high dynamic range.static org.moe.natj.objc.Classsuperclass_static()static NSArray<? extends ARVideoFormat>supportedVideoFormats()static booleansupportsFrameSemantics(long frameSemantics)static longversion_static()booleanwantsHDREnvironmentTextures()Determines whether environment textures will be provided with high dynamic range.-
Methods inherited from class apple.arkit.ARConfiguration
copyWithZone, frameSemantics, isLightEstimationEnabled, providesAudioData, setFrameSemantics, setLightEstimationEnabled, setProvidesAudioData, setVideoFormat, setWorldAlignment, videoFormat, worldAlignment
-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static ARGeoTrackingConfiguration alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticImageScaleEstimationEnabled
public boolean automaticImageScaleEstimationEnabled()
Enables the estimation of a scale factor which may be used to correct the physical size of an image. If set to true ARKit will attempt to use the computed camera positions in order to compute the scale by which the given physical size differs from the estimated one. The information about the estimated scale can be found as the property estimatedScaleFactor on the ARImageAnchor. [@note] When set to true the transform of a returned ARImageAnchor will use the estimated scale factor to correct the translation. Default value is NO.
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)
-
checkAvailabilityAtCoordinateCompletionHandler
public static void checkAvailabilityAtCoordinateCompletionHandler(CLLocationCoordinate2D coordinate, ARGeoTrackingConfiguration.Block_checkAvailabilityAtCoordinateCompletionHandler completionHandler)
Determines the availability of geo tracking at the given location.- Parameters:
coordinate- Location at which to check.completionHandler- Completion handler that is called when availability has been determined. This handler is executed on an arbitrary serial queue. It takes the following parameters: isAvailable - True if geo tracking is available at the given location, otherwise false. error - An error that indicates why geo tracking is not available at the given location.
-
checkAvailabilityWithCompletionHandler
public static void checkAvailabilityWithCompletionHandler(ARGeoTrackingConfiguration.Block_checkAvailabilityWithCompletionHandler completionHandler)
Determines the availability of geo tracking at the current location. This method will attempt to acquire a location fix on a background thread, then check availability.- Parameters:
completionHandler- Completion handler that is called when availability has been determined. This handler is executed on an arbitrary serial queue. It takes the following parameters: isAvailable - True if geo tracking is available at the current location, otherwise false. error - An error that indicates why geo tracking is not available at the current location.
-
classFallbacksForKeyedArchiver
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
detectionImages
public NSSet<? extends ARReferenceImage> detectionImages()
Images to detect in the scene. If set the session will attempt to detect the specified images. When an image is detected an ARImageAnchor will be added to the session.
-
detectionObjects
public NSSet<? extends ARReferenceObject> detectionObjects()
Objects to detect in the scene. If set the session will attempt to detect the specified objects. When an object is detected an ARObjectAnchor will be added to the session.
-
environmentTexturing
public long environmentTexturing()
The mode of environment texturing to run. If set, texture information will be accumulated and updated. Adding an AREnvironmentProbeAnchor to the session will get the current environment texture available from that probe's perspective which can be used for lighting virtual objects in the scene. Defaults to AREnvironmentTexturingNone.
-
hash_static
public static long hash_static()
-
init
public ARGeoTrackingConfiguration init()
- Overrides:
initin classARConfiguration
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
isSupported
public static boolean isSupported()
-
keyPathsForValuesAffectingValueForKey
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
-
maximumNumberOfTrackedImages
public long maximumNumberOfTrackedImages()
Maximum number of images to track simultaneously. Setting the maximum number of tracked images will limit the number of images that can be tracked in a given frame. If more than the maximum is visible, only the images already being tracked will continue to track until tracking is lost or another image is removed. Images will continue to be detected regardless of images tracked. Default value is zero.
-
new_objc
public static java.lang.Object new_objc()
-
planeDetection
public long planeDetection()
Type of planes to detect in the scene. If set, new planes will continue to be detected and updated over time. Detected planes will be added to the session as ARPlaneAnchor objects. In the event that two planes are merged, the newer plane will be removed. Defaults to ARPlaneDetectionNone.
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setAutomaticImageScaleEstimationEnabled
public void setAutomaticImageScaleEstimationEnabled(boolean value)
Enables the estimation of a scale factor which may be used to correct the physical size of an image. If set to true ARKit will attempt to use the computed camera positions in order to compute the scale by which the given physical size differs from the estimated one. The information about the estimated scale can be found as the property estimatedScaleFactor on the ARImageAnchor. [@note] When set to true the transform of a returned ARImageAnchor will use the estimated scale factor to correct the translation. Default value is NO.
-
setDetectionImages
public void setDetectionImages(NSSet<? extends ARReferenceImage> value)
Images to detect in the scene. If set the session will attempt to detect the specified images. When an image is detected an ARImageAnchor will be added to the session.
-
setDetectionObjects
public void setDetectionObjects(NSSet<? extends ARReferenceObject> value)
Objects to detect in the scene. If set the session will attempt to detect the specified objects. When an object is detected an ARObjectAnchor will be added to the session.
-
setEnvironmentTexturing
public void setEnvironmentTexturing(long value)
The mode of environment texturing to run. If set, texture information will be accumulated and updated. Adding an AREnvironmentProbeAnchor to the session will get the current environment texture available from that probe's perspective which can be used for lighting virtual objects in the scene. Defaults to AREnvironmentTexturingNone.
-
setMaximumNumberOfTrackedImages
public void setMaximumNumberOfTrackedImages(long value)
Maximum number of images to track simultaneously. Setting the maximum number of tracked images will limit the number of images that can be tracked in a given frame. If more than the maximum is visible, only the images already being tracked will continue to track until tracking is lost or another image is removed. Images will continue to be detected regardless of images tracked. Default value is zero.
-
setPlaneDetection
public void setPlaneDetection(long value)
Type of planes to detect in the scene. If set, new planes will continue to be detected and updated over time. Detected planes will be added to the session as ARPlaneAnchor objects. In the event that two planes are merged, the newer plane will be removed. Defaults to ARPlaneDetectionNone.
-
setVersion_static
public static void setVersion_static(long aVersion)
-
setWantsHDREnvironmentTextures
public void setWantsHDREnvironmentTextures(boolean value)
Determines whether environment textures will be provided with high dynamic range. Enabled by default.
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
supportedVideoFormats
public static NSArray<? extends ARVideoFormat> supportedVideoFormats()
-
supportsFrameSemantics
public static boolean supportsFrameSemantics(long frameSemantics)
-
version_static
public static long version_static()
-
wantsHDREnvironmentTextures
public boolean wantsHDREnvironmentTextures()
Determines whether environment textures will be provided with high dynamic range. Enabled by default.
-
-