| Modifier and Type | Field and Description |
|---|---|
| private final boolean | autoloadmode
Matrixes autoloading |
| public static final int | CT_NONE
Curve type - no type |
| public static final int | CT_NPWLCURVE
Curve type - picewise linear curve |
| public static final int | CT_NURBSCURVE
Curve type - NURBS curve |
| private O_curve | currentCurve
Current curve |
| private O_surface | currentSurface
Current processed surface |
| private int | inCurve
Are we in the middle of curve processing |
| private int | inSurface
Are we in the middle of surface processing |
| private boolean | inTrim
Are we in trim |
| private int | isDataValid
Indicates validity of data |
| pack-priv Maplist | maplist
List of map definitions |
| private O_curve | nextCurve
Next curve in linked list |
| private O_nurbscurve | nextNurbscurve
Next trimming NURBS curve in linked list |
| private O_trim | nextTrim
Next trimming curve |
| private int | numTrims
Nurber of trmims of processed surface |
| private boolean | playBack
Are we playbacking curve/surface rendering |
| private final Renderhints | renderhints
Object holding rendering settings |
| private final Subdivider | subdivider
Object for subdividing curves and surfaces |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private void | |
| public void | |
| public void | defineMap(final int
map type type, final int is rational rational, final int number of control point coordinates ncoords)Define a map of given properties |
| public void | |
| public void | |
| public boolean | Returns: knot vector is / is not validknot vector knots, final String error message msg)Check knot vector specification |
| public void | |
| public void | |
| public void | |
| private void | |
| public void | |
| public void | |
| public void | |
| public void | |
| private void | |
| public void | |
| private void | |
| private void | |
| public void | nurbscurve(final int
number of knots in knot vector nknots, final float[] knot vector knot, final int number of control points coordinates stride, final float[] control points ctlarray, final int order of the curve order, final int type of the curve realType)Make a NURBS curve |
| public void | nurbssurface(final int
number of knots in s direction sknot_count, final float[] knot vector in s direction sknot, final int number of knots in t direction tknot_count, final float[] knot vector in t direction tknot, final int number of coords of control points in s direction s_stride, final int number of coords of control points in t direction t_stride, final float[] control points ctlarray, final int order of curve in s direction sorder, final int order of curve in t direction torder, final int NURBS surface type (rational,...) type)Make NURBS surface |
| public void | |
| private void | |
| private void | |
| public void | set_is_domain_distance_sampling(final int
domain distance sampling flag i)Sets wheteher we use domain distance sampling |
| public void | setnurbsproperty(final int
property type type, final int property tag tag, final float property value value)Set NURBS property |
| private void | |
| private void |
| autoloadmode | back to summary |
|---|---|
| private final boolean autoloadmode Matrixes autoloading | |
| CT_NONE | back to summary |
|---|---|
| public static final int CT_NONE Curve type - no type | |
| CT_NPWLCURVE | back to summary |
|---|---|
| public static final int CT_NPWLCURVE Curve type - picewise linear curve | |
| CT_NURBSCURVE | back to summary |
|---|---|
| public static final int CT_NURBSCURVE Curve type - NURBS curve | |
| currentCurve | back to summary |
|---|---|
| private O_curve currentCurve Current curve | |
| currentSurface | back to summary |
|---|---|
| private O_surface currentSurface Current processed surface | |
| inCurve | back to summary |
|---|---|
| private int inCurve Are we in the middle of curve processing | |
| inSurface | back to summary |
|---|---|
| private int inSurface Are we in the middle of surface processing | |
| inTrim | back to summary |
|---|---|
| private boolean inTrim Are we in trim | |
| isDataValid | back to summary |
|---|---|
| private int isDataValid Indicates validity of data | |
| maplist | back to summary |
|---|---|
| pack-priv Maplist maplist List of map definitions | |
| nextCurve | back to summary |
|---|---|
| private O_curve nextCurve Next curve in linked list | |
| nextNurbscurve | back to summary |
|---|---|
| private O_nurbscurve nextNurbscurve Next trimming NURBS curve in linked list | |
| nextTrim | back to summary |
|---|---|
| private O_trim nextTrim Next trimming curve | |
| numTrims | back to summary |
|---|---|
| private int numTrims Nurber of trmims of processed surface | |
| playBack | back to summary |
|---|---|
| private boolean playBack Are we playbacking curve/surface rendering | |
| renderhints | back to summary |
|---|---|
| private final Renderhints renderhints Object holding rendering settings | |
| subdivider | back to summary |
|---|---|
| private final Subdivider subdivider Object for subdividing curves and surfaces | |
| GLUgl2nurbsImpl | back to summary |
|---|---|
| public GLUgl2nurbsImpl() Initializes default GLUgl2nurbs object | |
| bgncurve | back to summary |
|---|---|
| public void bgncurve() Begins new NURBS curve | |
| bgnrender | back to summary |
|---|---|
| private void bgnrender() Begin rendering | |
| bgnsurface | back to summary |
|---|---|
| public void bgnsurface() Begin new surface | |
| defineMap | back to summary |
|---|---|
| public void defineMap(final int type, final int rational, final int ncoords) Define a map of given properties
| |
| do_bgncurve | back to summary |
|---|---|
| public void do_bgncurve(final O_curve o_curve) Begins a NURBS curve
| |
| do_bgnsurface | back to summary |
|---|---|
| public void do_bgnsurface(final O_surface o_surface) Begins new surface
| |
| do_check_knots | back to summary |
|---|---|
| public boolean do_check_knots(final Knotvector knots, final String msg) Check knot vector specification
| |
| do_endcurve | back to summary |
|---|---|
| public void do_endcurve() Ends a curve | |
| do_endsurface | back to summary |
|---|---|
| public void do_endsurface() Ends surface | |
| do_nurbscurve | back to summary |
|---|---|
| public void do_nurbscurve(final O_nurbscurve o_nurbscurve) Draw a curve
| |
| do_nurbserror | back to summary |
|---|---|
| private void do_nurbserror(final int i) Method for handling error codes
| |
| do_nurbssurface | back to summary |
|---|---|
| public void do_nurbssurface(final O_nurbssurface o_nurbssurface) Draw NURBS surface
| |
| do_setnurbsproperty | back to summary |
|---|---|
| public void do_setnurbsproperty(final Property prop) Set given property to rendering hints
| |
| do_setnurbsproperty2 | back to summary |
|---|---|
| public void do_setnurbsproperty2(final Property prop) Set parameters of existing property
| |
| endcurve | back to summary |
|---|---|
| public void endcurve() End a curve | |
| endrender | back to summary |
|---|---|
| private void endrender() End rendering | |
| endsurface | back to summary |
|---|---|
| public void endsurface() End current surface | |
| endtrim | back to summary |
|---|---|
| private void endtrim() End surface trimming | |
| loadGLMatrices | back to summary |
|---|---|
| private void loadGLMatrices() Load matrices from OpenGL state machine | |
| nurbscurve | back to summary |
|---|---|
| public void nurbscurve(final int nknots, final float[] knot, final int stride, final float[] ctlarray, final int order, final int realType) Make a NURBS curve
| |
| nurbssurface | back to summary |
|---|---|
| public void nurbssurface(final int sknot_count, final float[] sknot, final int tknot_count, final float[] tknot, final int s_stride, final int t_stride, final float[] ctlarray, final int sorder, final int torder, final int type) Make NURBS surface
| |
| redefineMaps | back to summary |
|---|---|
| public void redefineMaps() (Re)Inicialize maps | |
| set_domain_distance_u_rate | back to summary |
|---|---|
| private void set_domain_distance_u_rate(final double d) Sets domain distance for dom.dist. sampling in u direction
| |
| set_domain_distance_v_rate | back to summary |
|---|---|
| private void set_domain_distance_v_rate(final double d) Sets domain distance for dom.dist. sampling in v direction
| |
| set_is_domain_distance_sampling | back to summary |
|---|---|
| public void set_is_domain_distance_sampling(final int i) Sets wheteher we use domain distance sampling
| |
| setnurbsproperty | back to summary |
|---|---|
| public void setnurbsproperty(final int type, final int tag, final float value) Set NURBS property
| |
| thread | back to summary |
|---|---|
| private void thread(final String name, final Object arg) Calls a method with given name and passes argumet | |
| thread2 | back to summary |
|---|---|
| private void thread2(final String name) Calls a method with given name
| |