1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
public final native String gluErrorString ( int errorCode ) ;
public final native String gluGetString ( int name ) ;
public final native String getNativeVendor ( ) ;
public final native String getNativeVersion ( ) ;
public final String getClassVendor ( )
{ return "Jausoft - Sven Goethel Software Development"; }
public final String getClassVersion ( )
{ return "2.4.1.0"; }
/**
* The Callback registry function.
* To achieve the signature (internal argument signature)
* you can use the "javap -s <classname>" toolkit of the JDK !
*
* @param qobj the quadratic id, fetch with gluNewQuadric
* @param which the id for the callback type
* @param methodClassInstance the class instance,
* which implements the callback-method
* @param methodName the name of the callback-method
* @param signature the signature of the callback-method.
*
* @see GLUFunc#gluNewQuadric
*/
public final native void gluQuadricCallback(
int qobj, int which,
Object methodClassInstance,
String methodName,
String signature
);
/**
* The Callback registry function.
* To achieve the signature (internal argument signature)
* you can use the "javap -s <classname>" toolkit of the JDK !
*
* @param nobj the nurbs id, fetch with gluNewNurbsRenderer
* @param which the id for the callback type
* @param methodClassInstance the class instance,
* which implements the callback-method
* @param methodName the name of the callback-method
* @param signature the signature of the callback-method.
*
* @see GLUFunc#gluNewNurbsRenderer
*/
public final native void gluNurbsCallback(
int nobj, int which,
Object methodClassInstance,
String methodName,
String signature
);
/**
* The Callback registry function.
* To achieve the signature (internal argument signature)
* you can use the "javap -s <classname>" toolkit of the JDK !
*
* @param tobj the tesselation id, fetch with gluNewTess
* @param which the id for the callback type
* @param methodClassInstance the class instance,
* which implements the callback-method
* @param methodName the name of the callback-method
* @param signature the signature of the callback-method.
* @param voidArrayLen1 the optional length of the 1st array
* in the callback-methods argument-list
* @param voidArrayLen2 the optional length of the 2nd array
* in the callback-methods argument-list
* @param voidArrayLen3 the optional length of the 3rd array
* in the callback-methods argument-list
* @param voidArrayLen4 the optional length of the 4th array
* in the callback-methods argument-list
* @param voidArrayLen5 the optional length of the 5th array
* in the callback-methods argument-list
*
* @see GLUFunc#gluNewTess
*/
public final native void gluTessCallback(
int tobj, int which,
Object methodClassInstance,
String methodName,
String signature,
int voidArrayLen1,
int voidArrayLen2,
int voidArrayLen3,
int voidArrayLen4,
int voidArrayLen5
);
/**
* The Callback de-registry function.
*
* @param qobj the quadratic id, for which all callback-methods
* should be de-registered
*/
public final native void gluDeleteQuadric( int qobj );
/**
* The Callback de-registry function.
*
* @param nobj the nurbs id, for which all callback-methods
* should be de-registered
*/
public final native void gluDeleteNurbsRenderer( int nobj );
/**
* The Callback de-registry function.
*
* @param tobj the tesselation id, for which all callback-methods
* should be de-registered
*/
public final native void gluDeleteTess( int tobj );
|