|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jogamp.opengl.impl.glu.nurbs.Backend
public abstract class Backend
Class responsible for rendering
Field Summary | |
---|---|
protected CurveEvaluator |
curveEvaluator
Object rendering curves |
static int |
N_MESHFILL
Fill surface |
static int |
N_MESHLINE
Draw surface as wire model |
static int |
N_MESHPOINT
Draw surface with points |
protected SurfaceEvaluator |
surfaceEvaluator
Object rendering surfaces |
Constructor Summary | |
---|---|
Backend()
Makes new backend |
Method Summary | |
---|---|
void |
bgncurv()
Begin a curve |
void |
bgnsurf(int wiretris,
int wirequads)
Begin surface |
void |
curvgrid(float u1,
float u2,
int nu)
Draw curve |
void |
curvmesh(int from,
int n)
Evaluates curve mesh |
void |
curvpts(int type,
CArrayOfFloats ps,
int stride,
int order,
float ulo,
float uhi)
Make cuve with given parameters |
void |
endcurv()
End a curve |
void |
endsurf()
End surface |
void |
patch(float ulo,
float uhi,
float vlo,
float vhi)
Empty method |
void |
surfgrid(float u0,
float u1,
int nu,
float v0,
float v1,
int nv)
Draw surface |
void |
surfmesh(int u,
int v,
int n,
int m)
Evaluates surface mesh |
void |
surfpts(int type,
CArrayOfFloats pts,
int ustride,
int vstride,
int uorder,
int vorder,
float ulo,
float uhi,
float vlo,
float vhi)
Make surface |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int N_MESHFILL
public static final int N_MESHLINE
public static final int N_MESHPOINT
protected CurveEvaluator curveEvaluator
protected SurfaceEvaluator surfaceEvaluator
Constructor Detail |
---|
public Backend()
Method Detail |
---|
public void bgncurv()
public void endcurv()
public void curvpts(int type, CArrayOfFloats ps, int stride, int order, float ulo, float uhi)
type
- curve typeps
- control pointsstride
- control points coordinates numberorder
- order of curveulo
- smallest uuhi
- highest upublic void curvgrid(float u1, float u2, int nu)
u1
- smallest uu2
- highest unu
- number of piecespublic void curvmesh(int from, int n)
from
- low paramn
- steppublic void bgnsurf(int wiretris, int wirequads)
wiretris
- use triangleswirequads
- use quadspublic void endsurf()
public void patch(float ulo, float uhi, float vlo, float vhi)
ulo
- low u paramuhi
- hig u paramvlo
- low v paramvhi
- high v parampublic void surfgrid(float u0, float u1, int nu, float v0, float v1, int nv)
u0
- lowest uu1
- highest unu
- number of pieces in u directionv0
- lowest vv1
- highest vnv
- number of pieces in v directionpublic void surfmesh(int u, int v, int n, int m)
u
- u paramv
- v paramn
- step in u directionm
- step in v directionpublic void surfpts(int type, CArrayOfFloats pts, int ustride, int vstride, int uorder, int vorder, float ulo, float uhi, float vlo, float vhi)
type
- surface typepts
- control pointsustride
- control points coordinates in u directionvstride
- control points coordinates in v directionuorder
- surface order in u directionvorder
- surface order in v directionulo
- lowest uuhi
- hightest uvlo
- lowest vvhi
- hightest v
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |