Class OsvrMatrixConventionsLibrary

java.lang.Object
com.jme3.system.osvr.osvrmatrixconventions.OsvrMatrixConventionsLibrary
All Implemented Interfaces:
com.sun.jna.Library

public class OsvrMatrixConventionsLibrary extends Object implements 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.
  • Field Details

    • JNA_LIBRARY_NAME

      public static final String 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

      public static double osvrVec3GetX(OSVR_Vec3 v)
      Original signature : double osvrVec3GetX(const OSVR_Vec3*)
    • osvrVec3SetX

      public static void osvrVec3SetX(OSVR_Vec3 v, double val)
      Original signature : void osvrVec3SetX(OSVR_Vec3*, double)
    • osvrVec3GetY

      public static double osvrVec3GetY(OSVR_Vec3 v)
      Original signature : double osvrVec3GetY(const OSVR_Vec3*)
    • osvrVec3SetY

      public static void osvrVec3SetY(OSVR_Vec3 v, double val)
      Original signature : void osvrVec3SetY(OSVR_Vec3*, double)
    • osvrVec3GetZ

      public static double osvrVec3GetZ(OSVR_Vec3 v)
      Original signature : double osvrVec3GetZ(const OSVR_Vec3*)
    • osvrVec3SetZ

      public static void osvrVec3SetZ(OSVR_Vec3 v, double val)
      Original signature : void osvrVec3SetZ(OSVR_Vec3*, double)
    • osvrVec3Zero

      public static void osvrVec3Zero(OSVR_Vec3 v)
      Set a Vec3 to the zero vector
      Original signature : void osvrVec3Zero(OSVR_Vec3*)
    • osvrQuatGetW

      public static double osvrQuatGetW(OSVR_Quaternion q)
      Original signature : double osvrQuatGetW(const OSVR_Quaternion*)
    • osvrQuatSetW

      public static void osvrQuatSetW(OSVR_Quaternion q, double val)
      Original signature : void osvrQuatSetW(OSVR_Quaternion*, double)
    • osvrQuatGetX

      public static double osvrQuatGetX(OSVR_Quaternion q)
      Original signature : double osvrQuatGetX(const OSVR_Quaternion*)
    • osvrQuatSetX

      public static void osvrQuatSetX(OSVR_Quaternion q, double val)
      Original signature : void osvrQuatSetX(OSVR_Quaternion*, double)
    • osvrQuatGetY

      public static double osvrQuatGetY(OSVR_Quaternion q)
      Original signature : double osvrQuatGetY(const OSVR_Quaternion*)
    • osvrQuatSetY

      public static void osvrQuatSetY(OSVR_Quaternion q, double val)
      Original signature : void osvrQuatSetY(OSVR_Quaternion*, double)
    • osvrQuatGetZ

      public static double osvrQuatGetZ(OSVR_Quaternion q)
      Original signature : double osvrQuatGetZ(const OSVR_Quaternion*)
    • osvrQuatSetZ

      public static void osvrQuatSetZ(OSVR_Quaternion q, double val)
      Original signature : void osvrQuatSetZ(OSVR_Quaternion*, double)
    • osvrQuatSetIdentity

      public static void osvrQuatSetIdentity(OSVR_Quaternion q)
      Set a quaternion to the identity rotation
      Original signature : void osvrQuatSetIdentity(OSVR_Quaternion*)
    • osvrPose3SetIdentity

      public static void osvrPose3SetIdentity(OSVR_Pose3 pose)
      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)
      Set a matrix of doubles based on a Pose3.
      Parameters:
      pose - The Pose3 to convert
      flags - Memory ordering flag - see @ref MatrixFlags
      mat - an array of 16 doubles
      Original signature : OSVR_ReturnCode osvrPose3ToMatrixd(const OSVR_Pose3*, OSVR_MatrixConventions, double*)
    • osvrPose3ToMatrixd

      public static byte osvrPose3ToMatrixd(OSVR_Pose3 pose, short flags, DoubleBuffer mat)
      Set a matrix of doubles based on a Pose3.
      Parameters:
      pose - The Pose3 to convert
      flags - Memory ordering flag - see @ref MatrixFlags
      mat - 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)
      Set a matrix of floats based on a Pose3.
      Parameters:
      pose - The Pose3 to convert
      flags - Memory ordering flag - see @ref MatrixFlags
      mat - an array of 16 floats
      Original signature : OSVR_ReturnCode osvrPose3ToMatrixf(const OSVR_Pose3*, OSVR_MatrixConventions, float*)
    • osvrPose3ToMatrixf

      public static byte osvrPose3ToMatrixf(OSVR_Pose3 pose, short flags, FloatBuffer mat)
      Set a matrix of floats based on a Pose3.
      Parameters:
      pose - The Pose3 to convert
      flags - Memory ordering flag - see @ref MatrixFlags
      mat - 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)
      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

      public static byte osvrPose3ToMatrix(OSVR_Pose3 pose, short flags, DoubleBuffer mat)
      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)
      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

      public static byte osvrPose3ToMatrix(OSVR_Pose3 pose, short flags, FloatBuffer mat)
      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)
      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

      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])