Class OsvrMatrixConventionsLibrary
java.lang.Object
com.jme3.system.osvr.osvrmatrixconventions.OsvrMatrixConventionsLibrary
- All Implemented Interfaces:
com.sun.jna.Library
JNA Wrapper for library osvrMatrixConventions
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.
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.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
enum valuesstatic interface
enum valuesstatic interface
enum valuesstatic interface
enum valuesstatic interface
enum valuesstatic class
Nested classes/interfaces inherited from interface com.sun.jna.Library
com.sun.jna.Library.Handler
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final com.sun.jna.NativeLibrary
static final int
static final int
static final int
Fields inherited from interface com.sun.jna.Library
OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_CLASSLOADER, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_OPEN_FLAGS, OPTION_STRING_ENCODING, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Set a pose to identity
Original signature :void osvrPose3SetIdentity(OSVR_Pose3*)
static byte
osvrPose3ToMatrix
(OSVR_Pose3 pose, short flags, OsvrMatrixConventionsLibrary.Scalar[] mat) Set a matrix based on a Pose3.static byte
osvrPose3ToMatrix
(OSVR_Pose3 pose, short flags, com.sun.jna.Pointer mat) Deprecated.static byte
osvrPose3ToMatrix
(OSVR_Pose3 pose, short flags, com.sun.jna.ptr.DoubleByReference mat) Deprecated.use the safer methodosvrPose3ToMatrix(com.jme3.system.osvr.osvrmatrixconventions.OSVR_Pose3, short, java.nio.DoubleBuffer)
insteadstatic byte
osvrPose3ToMatrix
(OSVR_Pose3 pose, short flags, com.sun.jna.ptr.FloatByReference mat) Deprecated.use the safer methodosvrPose3ToMatrix(com.jme3.system.osvr.osvrmatrixconventions.OSVR_Pose3, short, java.nio.FloatBuffer)
insteadstatic byte
osvrPose3ToMatrix
(OSVR_Pose3 pose, short flags, DoubleBuffer mat) Set a matrix based on a Pose3.static byte
osvrPose3ToMatrix
(OSVR_Pose3 pose, short flags, FloatBuffer mat) Set a matrix based on a Pose3.static byte
osvrPose3ToMatrixd
(OSVR_Pose3 pose, short flags, com.sun.jna.ptr.DoubleByReference mat) Deprecated.use the safer methodosvrPose3ToMatrixd(com.jme3.system.osvr.osvrmatrixconventions.OSVR_Pose3, short, java.nio.DoubleBuffer)
insteadstatic byte
osvrPose3ToMatrixd
(OSVR_Pose3 pose, short flags, DoubleBuffer mat) Set a matrix of doubles based on a Pose3.static byte
osvrPose3ToMatrixf
(OSVR_Pose3 pose, short flags, com.sun.jna.ptr.FloatByReference mat) Deprecated.use the safer methodosvrPose3ToMatrixf(com.jme3.system.osvr.osvrmatrixconventions.OSVR_Pose3, short, java.nio.FloatBuffer)
insteadstatic byte
osvrPose3ToMatrixf
(OSVR_Pose3 pose, short flags, FloatBuffer mat) Set a matrix of floats based on a Pose3.static double
Original signature :double osvrQuatGetW(const OSVR_Quaternion*)
static double
Original signature :double osvrQuatGetX(const OSVR_Quaternion*)
static double
Original signature :double osvrQuatGetY(const OSVR_Quaternion*)
static double
Original signature :double osvrQuatGetZ(const OSVR_Quaternion*)
static void
Set a quaternion to the identity rotation
Original signature :void osvrQuatSetIdentity(OSVR_Quaternion*)
static void
osvrQuatSetW
(OSVR_Quaternion q, double val) Original signature :void osvrQuatSetW(OSVR_Quaternion*, double)
static void
osvrQuatSetX
(OSVR_Quaternion q, double val) Original signature :void osvrQuatSetX(OSVR_Quaternion*, double)
static void
osvrQuatSetY
(OSVR_Quaternion q, double val) Original signature :void osvrQuatSetY(OSVR_Quaternion*, double)
static void
osvrQuatSetZ
(OSVR_Quaternion q, double val) Original signature :void osvrQuatSetZ(OSVR_Quaternion*, double)
static double
Original signature :double osvrVec3GetX(const OSVR_Vec3*)
static double
Original signature :double osvrVec3GetY(const OSVR_Vec3*)
static double
Original signature :double osvrVec3GetZ(const OSVR_Vec3*)
static void
osvrVec3SetX
(OSVR_Vec3 v, double val) Original signature :void osvrVec3SetX(OSVR_Vec3*, double)
static void
osvrVec3SetY
(OSVR_Vec3 v, double val) Original signature :void osvrVec3SetY(OSVR_Vec3*, double)
static void
osvrVec3SetZ
(OSVR_Vec3 v, double val) Original signature :void osvrVec3SetZ(OSVR_Vec3*, double)
static void
Set a Vec3 to the zero vector
Original signature :void osvrVec3Zero(OSVR_Vec3*)
-
Field Details
-
JNA_LIBRARY_NAME
- See Also:
-
JNA_NATIVE_LIB
public static final com.sun.jna.NativeLibrary JNA_NATIVE_LIB -
OSVR_MATRIX_SIZE
public static final int OSVR_MATRIX_SIZE- See Also:
-
OSVR_RETURN_SUCCESS
public static final int OSVR_RETURN_SUCCESS- See Also:
-
OSVR_RETURN_FAILURE
public static final int OSVR_RETURN_FAILURE- See Also:
-
-
Constructor Details
-
OsvrMatrixConventionsLibrary
public OsvrMatrixConventionsLibrary()
-
-
Method Details
-
osvrVec3GetX
Original signature :double osvrVec3GetX(const OSVR_Vec3*)
-
osvrVec3SetX
Original signature :void osvrVec3SetX(OSVR_Vec3*, double)
-
osvrVec3GetY
Original signature :double osvrVec3GetY(const OSVR_Vec3*)
-
osvrVec3SetY
Original signature :void osvrVec3SetY(OSVR_Vec3*, double)
-
osvrVec3GetZ
Original signature :double osvrVec3GetZ(const OSVR_Vec3*)
-
osvrVec3SetZ
Original signature :void osvrVec3SetZ(OSVR_Vec3*, double)
-
osvrVec3Zero
Set a Vec3 to the zero vector
Original signature :void osvrVec3Zero(OSVR_Vec3*)
-
osvrQuatGetW
Original signature :double osvrQuatGetW(const OSVR_Quaternion*)
-
osvrQuatSetW
Original signature :void osvrQuatSetW(OSVR_Quaternion*, double)
-
osvrQuatGetX
Original signature :double osvrQuatGetX(const OSVR_Quaternion*)
-
osvrQuatSetX
Original signature :void osvrQuatSetX(OSVR_Quaternion*, double)
-
osvrQuatGetY
Original signature :double osvrQuatGetY(const OSVR_Quaternion*)
-
osvrQuatSetY
Original signature :void osvrQuatSetY(OSVR_Quaternion*, double)
-
osvrQuatGetZ
Original signature :double osvrQuatGetZ(const OSVR_Quaternion*)
-
osvrQuatSetZ
Original signature :void osvrQuatSetZ(OSVR_Quaternion*, double)
-
osvrQuatSetIdentity
Set a quaternion to the identity rotation
Original signature :void osvrQuatSetIdentity(OSVR_Quaternion*)
-
osvrPose3SetIdentity
Set a pose to identity
Original signature :void osvrPose3SetIdentity(OSVR_Pose3*)
-
osvrPose3ToMatrixd
@Deprecated public static byte osvrPose3ToMatrixd(OSVR_Pose3 pose, short flags, com.sun.jna.ptr.DoubleByReference mat) Deprecated.use the safer methodosvrPose3ToMatrixd(com.jme3.system.osvr.osvrmatrixconventions.OSVR_Pose3, short, java.nio.DoubleBuffer)
insteadSet a matrix of doubles based on a Pose3.- Parameters:
pose
- The Pose3 to convertflags
- Memory ordering flag - see @ref MatrixFlagsmat
- an array of 16 doubles
Original signature :OSVR_ReturnCode osvrPose3ToMatrixd(const OSVR_Pose3*, OSVR_MatrixConventions, double*)
-
osvrPose3ToMatrixd
Set a matrix of doubles based on a Pose3.- Parameters:
pose
- The Pose3 to convertflags
- Memory ordering flag - see @ref MatrixFlagsmat
- an array of 16 doubles
Original signature :OSVR_ReturnCode osvrPose3ToMatrixd(const OSVR_Pose3*, OSVR_MatrixConventions, double*)
-
osvrPose3ToMatrixf
@Deprecated public static byte osvrPose3ToMatrixf(OSVR_Pose3 pose, short flags, com.sun.jna.ptr.FloatByReference mat) Deprecated.use the safer methodosvrPose3ToMatrixf(com.jme3.system.osvr.osvrmatrixconventions.OSVR_Pose3, short, java.nio.FloatBuffer)
insteadSet a matrix of floats based on a Pose3.- Parameters:
pose
- The Pose3 to convertflags
- Memory ordering flag - see @ref MatrixFlagsmat
- an array of 16 floats
Original signature :OSVR_ReturnCode osvrPose3ToMatrixf(const OSVR_Pose3*, OSVR_MatrixConventions, float*)
-
osvrPose3ToMatrixf
Set a matrix of floats based on a Pose3.- Parameters:
pose
- The Pose3 to convertflags
- Memory ordering flag - see @ref MatrixFlagsmat
- an array of 16 floats
Original signature :OSVR_ReturnCode osvrPose3ToMatrixf(const OSVR_Pose3*, OSVR_MatrixConventions, float*)
-
osvrPose3ToMatrix
@Deprecated public static byte osvrPose3ToMatrix(OSVR_Pose3 pose, short flags, com.sun.jna.ptr.DoubleByReference mat) Deprecated.use the safer methodosvrPose3ToMatrix(com.jme3.system.osvr.osvrmatrixconventions.OSVR_Pose3, short, java.nio.DoubleBuffer)
insteadSet a matrix based on a Pose3. (C++-only overload - detecting scalar
type)
Original signature :OSVR_ReturnCode osvrPose3ToMatrix(const OSVR_Pose3*, OSVR_MatrixConventions, double*)
-
osvrPose3ToMatrix
Set a matrix based on a Pose3. (C++-only overload - detecting scalar
type)
Original signature :OSVR_ReturnCode osvrPose3ToMatrix(const OSVR_Pose3*, OSVR_MatrixConventions, double*)
-
osvrPose3ToMatrix
@Deprecated public static byte osvrPose3ToMatrix(OSVR_Pose3 pose, short flags, com.sun.jna.ptr.FloatByReference mat) Deprecated.use the safer methodosvrPose3ToMatrix(com.jme3.system.osvr.osvrmatrixconventions.OSVR_Pose3, short, java.nio.FloatBuffer)
insteadSet a matrix based on a Pose3. (C++-only overload - detecting scalar
type)
Original signature :OSVR_ReturnCode osvrPose3ToMatrix(const OSVR_Pose3*, OSVR_MatrixConventions, float*)
-
osvrPose3ToMatrix
Set a matrix based on a Pose3. (C++-only overload - detecting scalar
type)
Original signature :OSVR_ReturnCode osvrPose3ToMatrix(const OSVR_Pose3*, OSVR_MatrixConventions, float*)
-
osvrPose3ToMatrix
@Deprecated public static byte osvrPose3ToMatrix(OSVR_Pose3 pose, short flags, com.sun.jna.Pointer mat) Deprecated.use the safer methodosvrPose3ToMatrix(com.jme3.system.osvr.osvrmatrixconventions.OSVR_Pose3, short, java.nio.DoubleBuffer)
insteadSet a matrix based on a Pose3. (C++-only overload - detects scalar
and takes array rather than pointer)
Original signature :OSVR_ReturnCode osvrPose3ToMatrix(const OSVR_Pose3*, OSVR_MatrixConventions, Scalar[OSVR_MATRIX_SIZE])
-
osvrPose3ToMatrix
public static byte osvrPose3ToMatrix(OSVR_Pose3 pose, short flags, OsvrMatrixConventionsLibrary.Scalar[] mat) Set a matrix based on a Pose3. (C++-only overload - detects scalar
and takes array rather than pointer)
Original signature :OSVR_ReturnCode osvrPose3ToMatrix(const OSVR_Pose3*, OSVR_MatrixConventions, Scalar[OSVR_MATRIX_SIZE])
-
osvrPose3ToMatrix(com.jme3.system.osvr.osvrmatrixconventions.OSVR_Pose3, short, java.nio.DoubleBuffer)
instead