struct TrackedDevicePose_t {
HmdMatrix34_t mDeviceToAbsoluteTracking;
HmdVector3_t vVelocity;
HmdVector3_t vAngularVelocity;
ETrackingResult eTrackingResult;
bool bPoseIsValid;
bool bDeviceIsConnected;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | TrackedDevicePose.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BDEVICEISCONNECTED
The struct member offsets. |
| public static final int | BPOSEISVALID
The struct member offsets. |
| public static final int | ETRACKINGRESULT
The struct member offsets. |
| public static final int | MDEVICETOABSOLUTETRACKING
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | VANGULARVELOCITY
The struct member offsets. |
| public static final int | VVELOCITY
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | TrackedDevicePose(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | bDeviceIsConnected()
This indicates that there is a device connected for this spot in the pose array. |
| public TrackedDevicePose | |
| public boolean | |
| public TrackedDevicePose | |
| public static TrackedDevicePose | |
| public static TrackedDevicePose. | calloc(int
the buffer capacity capacity)Returns a new |
| public static TrackedDevicePose | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static TrackedDevicePose. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static TrackedDevicePose | |
| public static TrackedDevicePose | |
| public static TrackedDevicePose. | |
| public static TrackedDevicePose. | |
| protected TrackedDevicePose | 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 TrackedDevicePose | |
| public static TrackedDevicePose | |
| public static TrackedDevicePose. | create(int
the buffer capacity capacity)Returns a new |
| public static TrackedDevicePose. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static TrackedDevicePose | |
| public static TrackedDevicePose. | |
| public int | eTrackingResult()
one of: |
| public TrackedDevicePose | |
| public static TrackedDevicePose | |
| public static TrackedDevicePose. | malloc(int
the buffer capacity capacity)Returns a new |
| public static TrackedDevicePose | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static TrackedDevicePose. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static TrackedDevicePose | |
| public static TrackedDevicePose | |
| public static TrackedDevicePose. | |
| public static TrackedDevicePose. | |
| public HmdMatrix34 | |
| public TrackedDevicePose | mDeviceToAbsoluteTracking(HmdMatrix34 value)
Copies the specified |
| public TrackedDevicePose | mDeviceToAbsoluteTracking(Consumer<HmdMatrix34> consumer)
Passes the |
| public static boolean | |
| public static void | |
| public static boolean | |
| public static void | |
| public static int | |
| public static void | |
| public static HmdMatrix34 | |
| public static void | nmDeviceToAbsoluteTracking(long struct, HmdMatrix34 value)
Unsafe version of |
| public static HmdVector3 | |
| public static void | |
| public static HmdVector3 | |
| public static void | |
| public TrackedDevicePose | set(HmdMatrix34 mDeviceToAbsoluteTracking, HmdVector3 vVelocity, HmdVector3 vAngularVelocity, int eTrackingResult, boolean bPoseIsValid, boolean bDeviceIsConnected)
Initializes this struct with the specified values. |
| public TrackedDevicePose | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public HmdVector3 | |
| public TrackedDevicePose | |
| public TrackedDevicePose | vAngularVelocity(Consumer<HmdVector3> consumer)
Passes the |
| public HmdVector3 | |
| public TrackedDevicePose | |
| public TrackedDevicePose |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BDEVICEISCONNECTED | back to summary |
|---|---|
| public static final int BDEVICEISCONNECTED The struct member offsets. | |
| BPOSEISVALID | back to summary |
|---|---|
| public static final int BPOSEISVALID The struct member offsets. | |
| ETRACKINGRESULT | back to summary |
|---|---|
| public static final int ETRACKINGRESULT The struct member offsets. | |
| MDEVICETOABSOLUTETRACKING | back to summary |
|---|---|
| public static final int MDEVICETOABSOLUTETRACKING The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| VANGULARVELOCITY | back to summary |
|---|---|
| public static final int VANGULARVELOCITY The struct member offsets. | |
| VVELOCITY | back to summary |
|---|---|
| public static final int VVELOCITY The struct member offsets. | |
| TrackedDevicePose | back to summary |
|---|---|
| protected TrackedDevicePose(long address, ByteBuffer container) | |
| TrackedDevicePose | back to summary |
|---|---|
| public TrackedDevicePose(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| bDeviceIsConnected | back to summary |
|---|---|
| public boolean bDeviceIsConnected() This indicates that there is a device connected for this spot in the pose array. It could go from true to false if the user unplugs the device.
| |
| bDeviceIsConnected | back to summary |
|---|---|
| public TrackedDevicePose bDeviceIsConnected(boolean value) Sets the specified value to the | |
| bPoseIsValid | back to summary |
|---|---|
public boolean bPoseIsValid()
| |
| bPoseIsValid | back to summary |
|---|---|
| public TrackedDevicePose bPoseIsValid(boolean value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static TrackedDevicePose calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static TrackedDevicePose. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static TrackedDevicePose calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static TrackedDevicePose. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static TrackedDevicePose callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static TrackedDevicePose callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static TrackedDevicePose. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static TrackedDevicePose. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected TrackedDevicePose create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static TrackedDevicePose create() Returns a new | |
| create | back to summary |
|---|---|
| public static TrackedDevicePose create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static TrackedDevicePose. Returns a new
| |
| create | back to summary |
|---|---|
| public static TrackedDevicePose. Create a
| |
| createSafe | back to summary |
|---|---|
| public static TrackedDevicePose createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static TrackedDevicePose. Like
| |
| eTrackingResult | back to summary |
|---|---|
| public TrackedDevicePose eTrackingResult(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static TrackedDevicePose malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static TrackedDevicePose. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static TrackedDevicePose malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static TrackedDevicePose. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static TrackedDevicePose mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static TrackedDevicePose mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static TrackedDevicePose. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static TrackedDevicePose. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mDeviceToAbsoluteTracking | back to summary |
|---|---|
public HmdMatrix34 mDeviceToAbsoluteTracking()
| |
| mDeviceToAbsoluteTracking | back to summary |
|---|---|
| public TrackedDevicePose mDeviceToAbsoluteTracking(HmdMatrix34 value) Copies the specified | |
| mDeviceToAbsoluteTracking | back to summary |
|---|---|
| public TrackedDevicePose mDeviceToAbsoluteTracking(Consumer<HmdMatrix34> consumer) Passes the | |
| nbDeviceIsConnected | back to summary |
|---|---|
| public static boolean nbDeviceIsConnected(long struct) Unsafe version of | |
| nbDeviceIsConnected | back to summary |
|---|---|
| public static void nbDeviceIsConnected(long struct, boolean value) Unsafe version of | |
| nbPoseIsValid | back to summary |
|---|---|
| public static boolean nbPoseIsValid(long struct) Unsafe version of | |
| nbPoseIsValid | back to summary |
|---|---|
| public static void nbPoseIsValid(long struct, boolean value) Unsafe version of | |
| neTrackingResult | back to summary |
|---|---|
| public static int neTrackingResult(long struct) Unsafe version of | |
| neTrackingResult | back to summary |
|---|---|
| public static void neTrackingResult(long struct, int value) Unsafe version of | |
| nmDeviceToAbsoluteTracking | back to summary |
|---|---|
| public static HmdMatrix34 nmDeviceToAbsoluteTracking(long struct) Unsafe version of | |
| nmDeviceToAbsoluteTracking | back to summary |
|---|---|
| public static void nmDeviceToAbsoluteTracking(long struct, HmdMatrix34 value) Unsafe version of | |
| nvAngularVelocity | back to summary |
|---|---|
| public static HmdVector3 nvAngularVelocity(long struct) Unsafe version of | |
| nvAngularVelocity | back to summary |
|---|---|
| public static void nvAngularVelocity(long struct, HmdVector3 value) Unsafe version of | |
| nvVelocity | back to summary |
|---|---|
| public static HmdVector3 nvVelocity(long struct) Unsafe version of | |
| nvVelocity | back to summary |
|---|---|
| public static void nvVelocity(long struct, HmdVector3 value) Unsafe version of | |
| set | back to summary |
|---|---|
| public TrackedDevicePose set(HmdMatrix34 mDeviceToAbsoluteTracking, HmdVector3 vVelocity, HmdVector3 vAngularVelocity, int eTrackingResult, boolean bPoseIsValid, boolean bDeviceIsConnected) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public TrackedDevicePose set(TrackedDevicePose src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| vAngularVelocity | back to summary |
|---|---|
| public HmdVector3 vAngularVelocity() angular velocity in radians/s
| |
| vAngularVelocity | back to summary |
|---|---|
| public TrackedDevicePose vAngularVelocity(HmdVector3 value) Copies the specified | |
| vAngularVelocity | back to summary |
|---|---|
| public TrackedDevicePose vAngularVelocity(Consumer<HmdVector3> consumer) Passes the | |
| vVelocity | back to summary |
|---|---|
| public HmdVector3 vVelocity() velocity in tracker space in m/s
| |
| vVelocity | back to summary |
|---|---|
| public TrackedDevicePose vVelocity(HmdVector3 value) Copies the specified | |
| vVelocity | back to summary |
|---|---|
| public TrackedDevicePose vVelocity(Consumer<HmdVector3> consumer) | |
TrackedDevicePose structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final TrackedDevicePose |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public TrackedDevicePose. | bDeviceIsConnected(boolean value)
Sets the specified value to the |
| public boolean | |
| public TrackedDevicePose. | |
| public int | |
| public TrackedDevicePose. | |
| protected TrackedDevicePose | |
| public HmdMatrix34 | |
| public TrackedDevicePose. | mDeviceToAbsoluteTracking(HmdMatrix34 value)
Copies the specified |
| public TrackedDevicePose. | mDeviceToAbsoluteTracking(Consumer<HmdMatrix34> consumer)
Passes the |
| protected TrackedDevicePose. | |
| public HmdVector3 | |
| public TrackedDevicePose. | vAngularVelocity(HmdVector3 value)
Copies the specified |
| public TrackedDevicePose. | vAngularVelocity(Consumer<HmdVector3> consumer)
Passes the |
| public HmdVector3 | |
| public TrackedDevicePose. | vVelocity(HmdVector3 value)
Copies the specified |
| public TrackedDevicePose. | vVelocity(Consumer<HmdVector3> consumer)
Passes the |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final TrackedDevicePose 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) | |
| bDeviceIsConnected | back to summary |
|---|---|
public boolean bDeviceIsConnected()
| |
| bDeviceIsConnected | back to summary |
|---|---|
| public TrackedDevicePose. Sets the specified value to the | |
| bPoseIsValid | back to summary |
|---|---|
public boolean bPoseIsValid()
| |
| bPoseIsValid | back to summary |
|---|---|
| public TrackedDevicePose. Sets the specified value to the | |
| eTrackingResult | back to summary |
|---|---|
public int eTrackingResult()
| |
| eTrackingResult | back to summary |
|---|---|
| public TrackedDevicePose. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected TrackedDevicePose getElementFactory() Implements abstract org.
| |
| mDeviceToAbsoluteTracking | back to summary |
|---|---|
public HmdMatrix34 mDeviceToAbsoluteTracking()
| |
| mDeviceToAbsoluteTracking | back to summary |
|---|---|
| public TrackedDevicePose. Copies the specified | |
| mDeviceToAbsoluteTracking | back to summary |
|---|---|
| public TrackedDevicePose. Passes the | |
| self | back to summary |
|---|---|
| protected TrackedDevicePose. Implements abstract org.
| |
| vAngularVelocity | back to summary |
|---|---|
public HmdVector3 vAngularVelocity()
| |
| vAngularVelocity | back to summary |
|---|---|
| public TrackedDevicePose. Copies the specified | |
| vAngularVelocity | back to summary |
|---|---|
| public TrackedDevicePose. Passes the | |
| vVelocity | back to summary |
|---|---|
public HmdVector3 vVelocity()
| |
| vVelocity | back to summary |
|---|---|
| public TrackedDevicePose. Copies the specified | |
| vVelocity | back to summary |
|---|---|
| public TrackedDevicePose. Passes the | |