|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SurfaceEvaluator
Class rendering surfaces with OpenGL
Method Summary | |
---|---|
void |
bgnmap2f()
Pushes eval bit |
void |
domain2f(float ulo,
float uhi,
float vlo,
float vhi)
Empty method |
void |
enable(int type)
Calls opengl enable |
void |
endmap2f()
Pops all attributes |
void |
map2f(int type,
float ulo,
float uhi,
int ustride,
int uorder,
float vlo,
float vhi,
int vstride,
int vorder,
CArrayOfFloats pts)
Initializes evaluator |
void |
mapgrid2f(int nu,
float u0,
float u1,
int nv,
float v0,
float v1)
Defines 2D mesh |
void |
mapmesh2f(int style,
int umin,
int umax,
int vmin,
int vmax)
Evaluates surface |
void |
polymode(int style)
Sets glPolygonMode |
Method Detail |
---|
void bgnmap2f()
void polymode(int style)
style
- polygon mode (N_MESHFILL/N_MESHLINE/N_MESHPOINT)void endmap2f()
void domain2f(float ulo, float uhi, float vlo, float vhi)
ulo
- uhi
- vlo
- vhi
- void mapgrid2f(int nu, float u0, float u1, int nv, float v0, float v1)
nu
- number of steps in u directionu0
- lowest uu1
- highest unv
- number of steps in v directionv0
- lowest vv1
- highest vvoid mapmesh2f(int style, int umin, int umax, int vmin, int vmax)
style
- surface styleumin
- minimum Uumax
- maximum Uvmin
- minimum Vvmax
- maximum Vvoid map2f(int type, float ulo, float uhi, int ustride, int uorder, float vlo, float vhi, int vstride, int vorder, CArrayOfFloats pts)
type
- surface typeulo
- lowest uuhi
- highest uustride
- number of objects between control points in u directionuorder
- surface order in u directionvlo
- lowest vvhi
- highest vvstride
- number of control points' coordsvorder
- surface order in v directionpts
- control pointsvoid enable(int type)
type
- what to enable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |