#include "../stdafx.h"#include "phidget_jni.h"#include "com_phidgets_SpatialPhidget.h"#include "../cphidgetspatial.h"
Go to the source code of this file.
Functions | |
| if (!spatialEventData_class=(*env)->FindClass(env,"com/phidgets/SpatialEventData")) | |
| JNIEXPORT void JNICALL | Java_com_phidgets_SpatialPhidget_resetCompassCorrectionParameters (JNIEnv *env, jobject obj) |
| JNIEXPORT void JNICALL | Java_com_phidgets_SpatialPhidget_setCompassCorrectionParameters (JNIEnv *env, jobject obj, jdouble magField, jdouble offset0, jdouble offset1, jdouble offset2, jdouble gain0, jdouble gain1, jdouble gain2, jdouble T0, jdouble T1, jdouble T2, jdouble T3, jdouble T4, jdouble T5) |
| JNIEXPORT void JNICALL | Java_com_phidgets_SpatialPhidget_zeroGyro (JNIEnv *env, jobject obj) |
| static int CCONV | spatialData_handler (CPhidgetSpatialHandle h, void *arg, CPhidgetSpatial_SpatialEventDataHandle *data, int dataLength) |
Variables | |
| static jclass | spatialEventData_class |
| static jmethodID | spatialEventData_cons |
| if | ( | ! | spatialEventData_class=(*env)->FindClass(env,"com/phidgets/SpatialEventData") | ) |
Definition at line 14 of file com_phidgets_SpatialPhidget.c.
| JNIEXPORT void JNICALL Java_com_phidgets_SpatialPhidget_resetCompassCorrectionParameters | ( | JNIEnv * | env, |
| jobject | obj | ||
| ) |
Definition at line 177 of file com_phidgets_SpatialPhidget.c.
| JNIEXPORT void JNICALL Java_com_phidgets_SpatialPhidget_setCompassCorrectionParameters | ( | JNIEnv * | env, |
| jobject | obj, | ||
| jdouble | magField, | ||
| jdouble | offset0, | ||
| jdouble | offset1, | ||
| jdouble | offset2, | ||
| jdouble | gain0, | ||
| jdouble | gain1, | ||
| jdouble | gain2, | ||
| jdouble | T0, | ||
| jdouble | T1, | ||
| jdouble | T2, | ||
| jdouble | T3, | ||
| jdouble | T4, | ||
| jdouble | T5 | ||
| ) |
Definition at line 164 of file com_phidgets_SpatialPhidget.c.
Definition at line 156 of file com_phidgets_SpatialPhidget.c.
| static int CCONV spatialData_handler | ( | CPhidgetSpatialHandle | h, |
| void * | arg, | ||
| CPhidgetSpatial_SpatialEventDataHandle * | data, | ||
| int | dataLength | ||
| ) | [static] |
Definition at line 32 of file com_phidgets_SpatialPhidget.c.
jclass spatialEventData_class [static] |
Definition at line 8 of file com_phidgets_SpatialPhidget.c.
jmethodID spatialEventData_cons [static] |
Definition at line 9 of file com_phidgets_SpatialPhidget.c.