|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Polygonization
This interface represents an algorithm which decomposes a data source
returned by
Polygonizable.getPolygonizableSource(GraphState)
into a polygon mesh representation.
Field Summary | |
---|---|
static int |
COMPUTE_NORMALS
Bit mask for polygonize indicating that normal vectors
have to be computed. |
static int |
COMPUTE_UV
Bit mask for polygonize indicating that uv coordinates
have to be computed. |
Method Summary | |
---|---|
void |
polygonize(ContextDependent source,
GraphState gs,
PolygonArray out,
int flags,
float flatness)
Performs the polygonization of the source into polygons. |
Field Detail |
---|
static final int COMPUTE_NORMALS
polygonize
indicating that normal vectors
have to be computed.
static final int COMPUTE_UV
polygonize
indicating that uv coordinates
have to be computed.
Method Detail |
---|
void polygonize(ContextDependent source, GraphState gs, PolygonArray out, int flags, float flatness)
out.userObject
is not modified.
source
- the data source as reported by a previous invocation of
Polygonizable.getPolygonizableSource(GraphState)
with the same gs
gs
- the current graph stateout
- the polygons are written to out
flags
- combination of bit masksflatness
- a parameter for the degree of flatness, a typical value is 1
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |