Package jgl.glu
Class GLUnurbsObj
java.lang.Object
jgl.glu.GLUnurbsObj
GLUnurbsObj is NURBS object of the GLU class of JavaGL 2.1.
- Version:
- 0.1, 31 Oct 1999
- Author:
- Robin Bing-Yu Chen
-
Field Summary
Modifier and TypeFieldDescriptionboolean
boolean
int
int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
float[]
float[]
float
int[]
int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
culling_test_2d
(float[][] pts, int cnt, int stride, int dim) boolean
culling_test_3d
(float[][][] pts, int s_cnt, int t_cnt, int s_stride, int t_stride, int dim) void
void
void
void
void
glu_error
(int err) void
glu_load_sampling_matrices
(float[] modelMatrix, float[] projMatrix, int[] viewport) void
glu_nurbs_curve
(int knot_count, float[] knot, int stride, float[][] ctlarray, int order, int surtype) void
glu_nurbs_surface
(int sknot_count, float[] sknot, int tknot_count, float[] tknot, int s_stride, int t_stride, float[][][] ctlarray, int sorder, int torder, int surtype) void
void
glu_set_auto_load_matrix
(boolean value) void
glu_set_culling
(boolean value) void
glu_set_display_mode
(int value) void
void
glu_set_sampling_tolerance
(float value)
-
Field Details
-
GLU_NURBS_CURVE
public static final int GLU_NURBS_CURVE- See Also:
-
GLU_NURBS_SURFACE
public static final int GLU_NURBS_SURFACE- See Also:
-
GLU_NURBS_TRIM
public static final int GLU_NURBS_TRIM- See Also:
-
GLU_NURBS_NO_TRIM
public static final int GLU_NURBS_NO_TRIM- See Also:
-
GLU_NURBS_TRIM_DONE
public static final int GLU_NURBS_TRIM_DONE- See Also:
-
GLU_NURBS_NONE
public static final int GLU_NURBS_NONE- See Also:
-
GLU_TRIM_NURBS
public static final int GLU_TRIM_NURBS- See Also:
-
GLU_TRIM_PWL
public static final int GLU_TRIM_PWL- See Also:
-
sampling_tolerance
public float sampling_tolerance -
display_mode
public int display_mode -
culling
public boolean culling -
auto_load_matrix
public boolean auto_load_matrix -
error
public int error -
type
public int type -
sampling_model
public float[] sampling_model -
sampling_proj
public float[] sampling_proj -
sampling_viewport
public int[] sampling_viewport -
surface
-
curve
-
-
Constructor Details
-
GLUnurbsObj
public GLUnurbsObj() -
GLUnurbsObj
-
-
Method Details
-
culling_test_2d
public boolean culling_test_2d(float[][] pts, int cnt, int stride, int dim) -
culling_test_3d
public boolean culling_test_3d(float[][][] pts, int s_cnt, int t_cnt, int s_stride, int t_stride, int dim) -
glu_error
public void glu_error(int err) -
glu_load_sampling_matrices
public void glu_load_sampling_matrices(float[] modelMatrix, float[] projMatrix, int[] viewport) -
glu_set_sampling_matrices
public void glu_set_sampling_matrices() -
glu_revert_sampling_matrices
public void glu_revert_sampling_matrices() -
glu_set_sampling_tolerance
public void glu_set_sampling_tolerance(float value) -
glu_set_display_mode
public void glu_set_display_mode(int value) -
glu_set_culling
public void glu_set_culling(boolean value) -
glu_set_auto_load_matrix
public void glu_set_auto_load_matrix(boolean value) -
glu_begin_curve
public void glu_begin_curve() -
glu_end_curve
public void glu_end_curve() -
glu_nurbs_curve
public void glu_nurbs_curve(int knot_count, float[] knot, int stride, float[][] ctlarray, int order, int surtype) -
glu_begin_surface
public void glu_begin_surface() -
glu_end_surface
public void glu_end_surface() -
glu_nurbs_surface
public void glu_nurbs_surface(int sknot_count, float[] sknot, int tknot_count, float[] tknot, int s_stride, int t_stride, float[][][] ctlarray, int sorder, int torder, int surtype)
-