GetTrackingState.
struct ovrTrackingState {
ovrPoseStatef HeadPose;
unsigned int StatusFlags;
ovrPoseStatef HandPoses[2];
unsigned int HandStatusFlags[2];
ovrPosef CalibratedOrigin;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | OVRTrackingState.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CALIBRATEDORIGIN
The struct member offsets. |
| public static final int | HANDPOSES
The struct member offsets. |
| public static final int | HANDSTATUSFLAGS
The struct member offsets. |
| public static final int | HEADPOSE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STATUSFLAGS
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | OVRTrackingState(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public OVRPosef | |
| public static OVRTrackingState | |
| public static OVRTrackingState. | calloc(int
the buffer capacity capacity)Returns a new |
| public static OVRTrackingState | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static OVRTrackingState. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static OVRTrackingState | |
| public static OVRTrackingState | |
| public static OVRTrackingState. | |
| public static OVRTrackingState. | |
| protected OVRTrackingState | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static OVRTrackingState | |
| public static OVRTrackingState | |
| public static OVRTrackingState. | create(int
the buffer capacity capacity)Returns a new |
| public static OVRTrackingState. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static OVRTrackingState | |
| public static OVRTrackingState. | |
| public OVRPoseStatef. | |
| public OVRPoseStatef | HandPoses(int index)
The most recent calculated pose for each hand when hand controller tracking is present. |
| public IntBuffer | |
| public int | |
| public OVRPoseStatef | |
| public static OVRTrackingState | |
| public static OVRTrackingState. | malloc(int
the buffer capacity capacity)Returns a new |
| public static OVRTrackingState | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static OVRTrackingState. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static OVRTrackingState | |
| public static OVRTrackingState | |
| public static OVRTrackingState. | |
| public static OVRTrackingState. | |
| public static OVRPosef | |
| public static OVRPoseStatef. | |
| public static OVRPoseStatef | |
| public static IntBuffer | |
| public static int | |
| public static OVRPoseStatef | |
| public static int | |
| public int | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| CALIBRATEDORIGIN | back to summary |
|---|---|
| public static final int CALIBRATEDORIGIN The struct member offsets. | |
| HANDPOSES | back to summary |
|---|---|
| public static final int HANDPOSES The struct member offsets. | |
| HANDSTATUSFLAGS | back to summary |
|---|---|
| public static final int HANDSTATUSFLAGS The struct member offsets. | |
| HEADPOSE | back to summary |
|---|---|
| public static final int HEADPOSE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STATUSFLAGS | back to summary |
|---|---|
| public static final int STATUSFLAGS The struct member offsets. | |
| OVRTrackingState | back to summary |
|---|---|
| protected OVRTrackingState(long address, ByteBuffer container) | |
| OVRTrackingState | back to summary |
|---|---|
| public OVRTrackingState(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| CalibratedOrigin | back to summary |
|---|---|
| public OVRPosef CalibratedOrigin() the pose of the origin captured during calibration. Like all other poses here, this is expressed in the space set by
| |
| calloc | back to summary |
|---|---|
| public static OVRTrackingState calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static OVRTrackingState. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static OVRTrackingState calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static OVRTrackingState. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static OVRTrackingState callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static OVRTrackingState callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static OVRTrackingState. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static OVRTrackingState. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected OVRTrackingState create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static OVRTrackingState create() Returns a new | |
| create | back to summary |
|---|---|
| public static OVRTrackingState create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static OVRTrackingState. Returns a new
| |
| create | back to summary |
|---|---|
| public static OVRTrackingState. Create a
| |
| createSafe | back to summary |
|---|---|
| public static OVRTrackingState createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static OVRTrackingState. Like
| |
| HandPoses | back to summary |
|---|---|
| public OVRPoseStatef. The most recent calculated pose for each hand when hand controller tracking is present.
| |
| HandPoses | back to summary |
|---|---|
| public OVRPoseStatef HandPoses(int index) The most recent calculated pose for each hand when hand controller tracking is present.
| |
| HandStatusFlags | back to summary |
|---|---|
| public IntBuffer HandStatusFlags()
| |
| HandStatusFlags | back to summary |
|---|---|
| public int HandStatusFlags(int index)
| |
| HeadPose | back to summary |
|---|---|
| public OVRPoseStatef HeadPose() Predicted head pose (and derivatives) at the requested absolute time. The look-ahead interval is equal to
| |
| malloc | back to summary |
|---|---|
| public static OVRTrackingState malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static OVRTrackingState. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static OVRTrackingState malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static OVRTrackingState. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static OVRTrackingState mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static OVRTrackingState mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static OVRTrackingState. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static OVRTrackingState. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nCalibratedOrigin | back to summary |
|---|---|
| public static OVRPosef nCalibratedOrigin(long struct) Unsafe version of | |
| nHandPoses | back to summary |
|---|---|
| public static OVRPoseStatef. Unsafe version of | |
| nHandPoses | back to summary |
|---|---|
| public static OVRPoseStatef nHandPoses(long struct, int index) Unsafe version of | |
| nHandStatusFlags | back to summary |
|---|---|
| public static IntBuffer nHandStatusFlags(long struct) Unsafe version of | |
| nHandStatusFlags | back to summary |
|---|---|
| public static int nHandStatusFlags(long struct, int index) Unsafe version of | |
| nHeadPose | back to summary |
|---|---|
| public static OVRPoseStatef nHeadPose(long struct) Unsafe version of | |
| nStatusFlags | back to summary |
|---|---|
| public static int nStatusFlags(long struct) Unsafe version of | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| StatusFlags | back to summary |
|---|---|
| public int StatusFlags()
| |
OVRTrackingState structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final OVRTrackingState |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public OVRPosef | |
| protected OVRTrackingState | |
| public OVRPoseStatef. | |
| public OVRPoseStatef | Returns: aOVRPoseStatef view of the struct at the specified index of the OVRTrackingState#HandPoses field.
|
| public IntBuffer | |
| public int | Returns: the value at the specified index of theOVRTrackingState#HandStatusFlags field.
|
| public OVRPoseStatef | |
| protected OVRTrackingState. | |
| public int |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final OVRTrackingState ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| CalibratedOrigin | back to summary |
|---|---|
public OVRPosef CalibratedOrigin()
| |
| getElementFactory | back to summary |
|---|---|
| protected OVRTrackingState getElementFactory() Implements abstract org.
| |
| HandPoses | back to summary |
|---|---|
public OVRPoseStatef.
| |
| HandPoses | back to summary |
|---|---|
public OVRPoseStatef HandPoses(int index)
| |
| HandStatusFlags | back to summary |
|---|---|
public IntBuffer HandStatusFlags()
| |
| HandStatusFlags | back to summary |
|---|---|
public int HandStatusFlags(int index)
| |
| HeadPose | back to summary |
|---|---|
public OVRPoseStatef HeadPose()
| |
| self | back to summary |
|---|---|
| protected OVRTrackingState. Implements abstract org.
| |
| StatusFlags | back to summary |
|---|---|
public int StatusFlags()
| |