public static class J3DPrimitiveIterator.JOGLQuadStripIterator extends J3DPrimitiveIterator.J3DStripIterator
This impl iterates quad strips.
J3DPrimitiveIterator.J3DLineStripIterator, J3DPrimitiveIterator.J3DStripIterator, J3DPrimitiveIterator.J3DTriangleFanIterator, J3DPrimitiveIterator.J3DTriangleStripIterator, J3DPrimitiveIterator.JOGLQuadStripIteratorarrayCountcolor, 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.JOGLQuadStripIterator() |
| 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 void |
firstInStrip()
Implementation of
J3DPrimitiveIterator.J3DStripIterator.next() in the case that a new strip has just
started. |
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.pickQuad(float[], float[], float, int) directly |
advanceToNextStrip, next, reset, reset, resetImpl, resetImplcons, cons, consAll, consAll, copyFromAccessor, dump, getNumImplementations, getPrimName, getPrimsName, hasNext, hasNext, pickLine, pickPoint, pickQuad, pickTriangle, reset, resetImpl, swappublic J3DPrimitiveIterator.JOGLQuadStripIterator()
protected void firstInStrip()
Implementation of J3DPrimitiveIterator.J3DStripIterator.next() in the case that a new strip has just
started.
Default impl loads next J3DPrimitiveIterator.vertsPerPrim verts in order.
firstInStrip in class J3DPrimitiveIterator.J3DStripIteratorprotected void nextInStrip()
Implementation of J3DPrimitiveIterator.J3DStripIterator.next() except for the case that a new strip
has just started.
nextInStrip in class J3DPrimitiveIterator.J3DStripIteratorpublic float pick(float[] pickStart,
float[] pickExtent,
float threshold,
int cullFace)
J3DPrimitiveIterator.pickQuad(float[], float[], float, int) directlypick in class J3DPrimitiveIteratorpickStart - 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 J3DPrimitiveIteratorpublic boolean checkFormat(JOGLGeometry jg)
checkFormat in class J3DPrimitiveIteratorprotected J3DPrimitiveIterator newInstance()
newInstance in class J3DPrimitiveIterator