Package apple.arkit

Class ARSkeletonDefinition

  • All Implemented Interfaces:
    NSObject

    public class ARSkeletonDefinition
    extends NSObject
    Definition of a skeleton. A skeleton consists of a set of labeled joints that are defined in a certain hierarchy, i.e. joints are parented to other joints. One may use the parentIndices property to identify the hierarchy for a given skeleton definition.
    • Constructor Detail

      • ARSkeletonDefinition

        protected ARSkeletonDefinition​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • 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)
      • 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()
      • defaultBody2DSkeletonDefinition

        public static ARSkeletonDefinition defaultBody2DSkeletonDefinition()
        Default skeleton definition for bodies defined in 2D.
        See Also:
        ARBody2D
      • defaultBody3DSkeletonDefinition

        public static ARSkeletonDefinition defaultBody3DSkeletonDefinition()
        Default skeleton definition for bodies defined in 3D. [@note] The default height of this skeleton, measured from lowest to highest joint in standing position, is defined to be 1.71 meters.
        See Also:
        ARSkeleton3D
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • indexForJointName

        public long indexForJointName​(java.lang.String jointName)
        Returns the index for a given joint identifier. This function returns NSNotFound if an invalid joint name is passed.
        Parameters:
        jointName - Name of a given joint.
        Returns:
        Joint index.
      • 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)
      • jointCount

        public long jointCount()
        The number of joints.
      • jointNames

        public NSArray<java.lang.String> jointNames()
        The joint names.
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • neutralBodySkeleton3D

        public ARSkeleton3D neutralBodySkeleton3D()
        The 3D skeleton in neutral pose. The neutral skeleton pose assumes a standardized size of the skeleton in meters. The neutral pose is defined as the skeleton's T-pose.
      • new_objc

        public static java.lang.Object new_objc()
      • parentIndices

        public NSArray<? extends NSNumber> parentIndices()
        The parent index for each joint. This property may be used to identify the hierarchical dependency between joints. If a line is drawn for every joint and its parent joint the result is a visualization of the underlying skeleton. The joint with no parent is denoted as the root joint. The root joint's parent index has a value of -1.
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()