com.oculusvr.capi.PoseStatef Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jovr Show documentation
Show all versions of jovr Show documentation
JNA bindings for the Oculus SDK C API
package com.oculusvr.capi;
import java.util.Arrays;
import java.util.List;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
/**
* native declaration : /usr/include/stdint.h
* This file was autogenerated by JNAerator,
* a tool written by Olivier Chafik that uses a few
* opensource projects..
* For help, please visit NativeLibs4Java , Rococoa, or JNA.
*/
public class PoseStatef extends Structure {
/** C type : ovrPosef */
public Posef Pose;
/** C type : ovrVector3f */
public OvrVector3f AngularVelocity;
/** C type : ovrVector3f */
public OvrVector3f LinearVelocity;
/** C type : ovrVector3f */
public OvrVector3f AngularAcceleration;
/** C type : ovrVector3f */
public OvrVector3f LinearAcceleration;
/** Absolute time of this state sample. */
public double TimeInSeconds;
public PoseStatef() {
super();
}
@Override
protected List> getFieldOrder() {
return Arrays.asList("Pose", "AngularVelocity", "LinearVelocity", "AngularAcceleration", "LinearAcceleration",
"TimeInSeconds");
}
/**
* @param Pose
* C type : ovrPosef
* @param AngularVelocity
* C type : ovrVector3f
* @param LinearVelocity
* C type : ovrVector3f
* @param AngularAcceleration
* C type : ovrVector3f
* @param LinearAcceleration
* C type : ovrVector3f
* @param TimeInSeconds
* Absolute time of this state sample.
*/
public PoseStatef(Posef Pose, OvrVector3f AngularVelocity, OvrVector3f LinearVelocity,
OvrVector3f AngularAcceleration, OvrVector3f LinearAcceleration, double TimeInSeconds) {
super();
this.Pose = Pose;
this.AngularVelocity = AngularVelocity;
this.LinearVelocity = LinearVelocity;
this.AngularAcceleration = AngularAcceleration;
this.LinearAcceleration = LinearAcceleration;
this.TimeInSeconds = TimeInSeconds;
}
public PoseStatef(Pointer peer) {
super(peer);
}
public static class ByReference extends PoseStatef implements Structure.ByReference {
};
public static class ByValue extends PoseStatef implements Structure.ByValue {
};
}