Top Description Methods
jogamp.opengl.glu.nurbs

public Interface CurveEvaluator

Known Direct Implementers
jogamp.opengl.glu.gl2.nurbs.GL2CurveEvaluator

Class rendering curves with OpenGL
Author
Tomáš Hráský

Method Summary

Modifier and TypeMethod and Description
public void
bgnmap1f()

Pushes eval bit

public void
enable(int
what to enable
type
)

Calls opengl enable

public void
endmap1f()

Pops all OpenGL attributes

public void
map1f(int
curve type
type
,
float
lowest u
ulo
,
float
highest u
uhi
,
int
control point coords
stride
,
int
curve order
order
,
CArrayOfFloats
control points
ps
)

Initializes opengl evaluator

public void
mapgrid1f(int
steps
nu
,
float
low u
u1
,
float
high u
u2
)

Calls glMapGrid1f

public void
mapmesh1f(int
Backend.N_MESHFILL/N_MESHLINE/N_MESHPOINT
style
,
int
lowest param
from
,
int
highest param
to
)

Evaluates a curve using glEvalMesh1f

Method Detail

bgnmap1fback to summary
public void bgnmap1f()

Pushes eval bit

enableback to summary
public void enable(int type)

Calls opengl enable

Parameters
type:int

what to enable

endmap1fback to summary
public void endmap1f()

Pops all OpenGL attributes

map1fback to summary
public void map1f(int type, float ulo, float uhi, int stride, int order, CArrayOfFloats ps)

Initializes opengl evaluator

Parameters
type:int

curve type

ulo:float

lowest u

uhi:float

highest u

stride:int

control point coords

order:int

curve order

ps:CArrayOfFloats

control points

mapgrid1fback to summary
public void mapgrid1f(int nu, float u1, float u2)

Calls glMapGrid1f

Parameters
nu:int

steps

u1:float

low u

u2:float

high u

mapmesh1fback to summary
public void mapmesh1f(int style, int from, int to)

Evaluates a curve using glEvalMesh1f

Parameters
style:int

Backend.N_MESHFILL/N_MESHLINE/N_MESHPOINT

from:int

lowest param

to:int

highest param