public static class J3DPrimitiveIterator.J3DLineStripIterator extends J3DPrimitiveIterator.J3DStripIterator
This impl iterates line 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.J3DLineStripIterator() |
| 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
|
J3DPrimitiveIterator |
next()
read the next primitive
|
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.pickLine(float[], float[], float, int) directly |
J3DPrimitiveIterator |
reset(javax.media.j3d.GeometryArray ga,
boolean... enableComponent)
Reset this iterator so that the subsequent call to
J3DPrimitiveIterator.next() reads
the first primitive in ga. |
J3DPrimitiveIterator |
reset(JOGLGeometry jg,
boolean... enableComponent)
|
advanceToNextStrip, firstInStrip, resetImpl, resetImplcons, cons, consAll, consAll, copyFromAccessor, dump, getNumImplementations, getPrimName, getPrimsName, hasNext, hasNext, pickLine, pickPoint, pickQuad, pickTriangle, reset, resetImpl, swappublic J3DPrimitiveIterator.J3DLineStripIterator()
public J3DPrimitiveIterator reset(javax.media.j3d.GeometryArray ga, boolean... enableComponent)
Reset this iterator so that the subsequent call to J3DPrimitiveIterator.next() reads
the first primitive in ga.
reset in class J3DPrimitiveIterator.J3DStripIteratorga - the geometry, or null to clear the previous internal referenceenableComponent - see J3DVertexAccessor.reset(GeometryArray,
boolean...)public J3DPrimitiveIterator reset(JOGLGeometry jg, boolean... enableComponent)
reset in class J3DPrimitiveIterator.J3DStripIteratorpublic J3DPrimitiveIterator next()
next 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.pickLine(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