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
118
119
120
121
122
123
124
125
126
127
|
/**
* @(#) GLUFunc.java
*/
package gl4java;
/**
* The base interface for GLU native function mapping
*
* @version 2.00, 21. April 1999
* @author Sven Goethel
*/
public interface GLUFunc
extends GLUEnum
{
public String gluErrorString ( int errorCode ) ;
public String gluGetString ( int name ) ;
public String getNativeVendor ( ) ;
public String getNativeVersion ( ) ;
public String getClassVendor ( ) ;
public String getClassVersion ( ) ;
public long gluNewQuadric( );
public long gluNewNurbsRenderer( );
public long gluNewTess( );
public void gluQuadricCallback(
long qobj, int which,
Object methodClassInstance,
String methodName,
String signature
);
public void gluNurbsCallback(
long nobj, int which,
Object methodClassInstance,
String methodName,
String signature
);
public void gluTessCallback(
long tobj, int which,
Object methodClassInstance,
String methodName,
String signature,
int voidArrayLen1,
int voidArrayLen2,
int voidArrayLen3,
int voidArrayLen4,
int voidArrayLen5
);
public void gluDeleteQuadric( long qobj );
public void gluDeleteNurbsRenderer( long nobj );
public void gluDeleteTess( long tobj );
/**
* Wrapper for original gluProject,
* where the orig. last three arguments are wrapped
* mapped in one array: (winx[1], winy[1], winz[1]) <-> win[3]
*
* @param obj array of the three obj x,y,z input components
* @param win array of the three win x,y,z output components
* @see gl4java.GLUFunc#gluProject
*/
public int gluProject(double obj[],
double[] modelMatrix,
double[] projMatrix,
int[] viewport,
double[] win);
/**
* Wrapper for original gluProject,
* where the orig. last three arguments are wrapped
* mapped in one array: (winx[1], winy[1], winz[1]) <-> win[3]
*
* @param win array of the three win x,y,z output components
* @see gl4java.GLUFunc#gluProject
*/
public int gluProject(double objx,
double objy,
double objz,
double[] modelMatrix,
double[] projMatrix,
int[] viewport,
double[] win);
/**
* Wrapper for original gluUnProject,
* where the orig. last three arguments are wrapped
* mapped in one array: (objx[1], objy[1], objz[1]) <-> obj[3]
*
* @param win array of the three win x,y,z input components
* @param obj array of the three obj x,y,z output components
* @see gl4java.GLUFunc#gluUnProject
*/
public int gluUnProject(double win[],
double[] modelMatrix,
double[] projMatrix,
int[] viewport,
double[] obj);
/**
* Wrapper for original gluUnProject,
* where the orig. last three arguments are wrapped
* mapped in one array: (objx[1], objy[1], objz[1]) <-> obj[3]
*
* @param obj array of the three obj x,y,z output components
* @see gl4java.GLUFunc#gluUnProject
*/
public int gluUnProject(double winx,
double winy,
double winz,
double[] modelMatrix,
double[] projMatrix,
int[] viewport,
double[] obj);
|