|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jogamp.opengl.impl.glu.nurbs.Mapdesc
public class Mapdesc
Class holding properties of OpenGL map
Field Summary | |
---|---|
int |
isrational
Is map rational |
int |
ncoords
Number of control point coords |
Mapdesc |
next
Next description in list |
Constructor Summary | |
---|---|
Mapdesc(int type,
int rational,
int ncoords,
Backend backend)
Makes new mapdesc |
Method Summary | |
---|---|
int |
getNCoords()
Returns number of control points' coords |
float |
getProperty(int tag)
Returns property of specified tag value |
int |
getType()
Returns map type |
boolean |
isConstantSampling()
Tells whether map is constantly sampling |
boolean |
isCulling()
Tells whether map is culling |
boolean |
isDomainSampling()
Tells whether map is domain sampling |
boolean |
isProperty(int tag)
Tells whether tag is property tag |
boolean |
isRangeSampling()
Tells whether map is range sampling |
void |
setProperty(int tag,
float value)
Sets property with given tag |
void |
xformSampling(CArrayOfFloats pts,
int order,
int stride,
float[] sp,
int outstride)
Samples curve |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Mapdesc next
public int isrational
public int ncoords
Constructor Detail |
---|
public Mapdesc(int type, int rational, int ncoords, Backend backend)
type
- map typerational
- is rationalncoords
- number of control points coordsbackend
- backend objectMethod Detail |
---|
public boolean isProperty(int tag)
tag
- property tag
public int getNCoords()
public int getType()
public boolean isRangeSampling()
public boolean isCulling()
public boolean isConstantSampling()
public boolean isDomainSampling()
public float getProperty(int tag)
tag
- property tag
public void setProperty(int tag, float value)
tag
- property tagvalue
- desired valuepublic void xformSampling(CArrayOfFloats pts, int order, int stride, float[] sp, int outstride)
pts
- control pointsorder
- curve orderstride
- number of control points' coordinatessp
- breakpointsoutstride
- output number of control points' coordinates
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |