public static class J3DPrimitiveIterator.J3DTriangleFanIterator extends J3DPrimitiveIterator.J3DStripIterator
This impl iterates triangle fans.
J3DPrimitiveIterator.J3DLineStripIterator, J3DPrimitiveIterator.J3DStripIterator, J3DPrimitiveIterator.J3DTriangleFanIterator, J3DPrimitiveIterator.J3DTriangleStripIterator, J3DPrimitiveIterator.JOGLQuadStripIterator
arrayCount
color, component, coord, enabledVertexCount, ga, jg, loop, normal, numEnabledStrips, numStrips, pickB, pickU, prim, primCount, primInStrip, primsInStrip, strip, texCoord, validVertexCount, vertexAccessor, vertsInStrip, vertsPerPrim, vertsPerStripPrim
Constructor and Description |
---|
J3DPrimitiveIterator.J3DTriangleFanIterator() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkFormat(javax.media.j3d.GeometryArray ga)
Check if the class, storage type, and vertex format of ga is
compatible with this implementation.
|
boolean |
checkFormat(JOGLGeometry jg)
|
protected J3DPrimitiveIterator |
newInstance()
make a new instance of this implementation
|
protected void |
nextInStrip()
Implementation of
J3DPrimitiveIterator.J3DStripIterator.next() except for the case that a new strip
has just started. |
float |
pick(float[] pickStart,
float[] pickExtent,
float threshold,
int cullFace)
this impl calls
J3DPrimitiveIterator.pickTriangle(float[], float[], float, int) directly |
advanceToNextStrip, firstInStrip, next, reset, reset, resetImpl, resetImpl
cons, cons, consAll, consAll, copyFromAccessor, dump, getNumImplementations, getPrimName, getPrimsName, hasNext, hasNext, pickLine, pickPoint, pickQuad, pickTriangle, reset, resetImpl, swap
public J3DPrimitiveIterator.J3DTriangleFanIterator()
protected void nextInStrip()
Implementation of J3DPrimitiveIterator.J3DStripIterator.next()
except for the case that a new strip
has just started.
nextInStrip
in class J3DPrimitiveIterator.J3DStripIterator
public float pick(float[] pickStart, float[] pickExtent, float threshold, int cullFace)
J3DPrimitiveIterator.pickTriangle(float[], float[], float, int)
directlypick
in class J3DPrimitiveIterator
pickStart
- the start 3D coordinates of the pick segment in the same
coordinate frame as the geometry of this iteratorpickExtent
- the 3D extension vector from pickStart of the
pick segment in the same coordinate frame as the geometry of this iteratorthreshold
- the pick threshold, or NaN for none, see abovepublic boolean checkFormat(javax.media.j3d.GeometryArray ga)
Check if the class, storage type, and vertex format of ga is compatible with this implementation.
checkFormat
in class J3DPrimitiveIterator
public boolean checkFormat(JOGLGeometry jg)
checkFormat
in class J3DPrimitiveIterator
protected J3DPrimitiveIterator newInstance()
newInstance
in class J3DPrimitiveIterator