javax.media.j3d
Class IndexedGeometryStripArrayRetained

java.lang.Object
  extended by javax.media.j3d.IndexedObject
      extended by javax.media.j3d.SceneGraphObjectRetained
          extended by javax.media.j3d.NodeComponentRetained
              extended by javax.media.j3d.GeometryRetained
                  extended by javax.media.j3d.GeometryArrayRetained
                      extended by javax.media.j3d.IndexedGeometryArrayRetained
                          extended by javax.media.j3d.IndexedGeometryStripArrayRetained
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
IndexedLineStripArrayRetained, IndexedTriangleFanArrayRetained, IndexedTriangleStripArrayRetained

abstract class IndexedGeometryStripArrayRetained
extends IndexedGeometryArrayRetained

The IndexedGeometryStripArray object is an abstract class that is extended for a set of IndexedGeometryArray strip primitives. These include LINE_STRIP, TRIANGLE_STRIP, and TRIANGLE_FAN.


Field Summary
(package private)  int[] compileIndexLength
           
(package private)  int[] compileStripICOffset
           
(package private)  int[] stripIndexCounts
           
 
Fields inherited from class javax.media.j3d.IndexedGeometryArrayRetained
compileIndexCount, compileIndexOffset, indexColor, indexCoord, indexCount, indexNormal, indexTexCoord, indexVertexAttr, initialIndexIndex, maxColorIndex, maxCoordIndex, maxNormalIndex, maxTexCoordIndices, maxVertexAttrIndices, validIndexCount
 
Fields inherited from class javax.media.j3d.GeometryArrayRetained
AF, BOUNDS_CHANGED, byteBufferRefColors, byteRefColors, ByteToFloatScale, c3bRefColors, C3F, c3fRefColors, C3UB, c4bRefColors, C4F, c4fAllocated, c4fRefColors, C4UB, CF, cloneSourceArray, COLOR_BYTE, COLOR_CHANGED, COLOR_DEFINED, COLOR_FLOAT, colorChanged, colorOffset, colorRefBuffer, compileVcount, COORD_DOUBLE, COORD_FLOAT, COORDINATE_CHANGED, coordinateOffset, coordRefBuffer, CUB, defaultTexCoordSetMap, dirtyFlag, dlistId, dlistObj, doubleBufferRefCoords, doubleRefCoords, EPS, floatBufferRefColors, floatBufferRefCoords, floatBufferRefNormals, floatBufferRefVertexAttrs, floatRefColors, floatRefCoords, floatRefNormals, floatRefVertexAttrs, FloatToByteScale, gaList, geoOffset, INDEX_CHANGED, INIT_MIRROR_GEOMETRY, initialColorIndex, initialCoordIndex, initialNormalIndex, initialTexCoordIndex, initialVertexAttrIndex, initialVertexIndex, interleavedFloatBufferImpl, interleavedVertexBuffer, interLeavedVertexData, inUpdater, isCompiled, isShared, lastScreenAlpha, mirrorColorAllocated, mirrorDoubleRefCoords, mirrorFloatRefColors, mirrorFloatRefCoords, mirrorFloatRefNormals, mirrorFloatRefTexCoords, mirrorFloatRefVertexAttrs, mirrorInterleavedColorPointer, mirrorNormalAllocated, mirrorRefTexCoords, mirrorUnsignedByteRefColors, mirrorVertexAllocated, morphUniverseList, morphUserLists, N3F, NF, nioFloatBufferRefVertexAttrs, NORMAL_CHANGED, NORMAL_DEFINED, NORMAL_FLOAT, normalOffset, normalRefBuffer, P3D, p3dRefCoords, P3F, p3fRefCoords, PD, PF, pVertexBuffers, refTexCoords, refTexCoordsBuffer, resourceCreationMask, stride, STRIPCOUNT_CHANGED, T2F, t2fRefTexCoords, T3F, t3fRefTexCoords, targetThreads, TEXCOORD_DEFINED, TEXCOORD_FLOAT, texCoordSetCount, texCoordSetMap, texCoordSetMapOffset, texCoordStride, TEXTURE_CHANGED, textureOffset, TF, v3fRefNormals, validVertexCount, VATTR_CHANGED, VATTR_DEFINED, VATTR_FLOAT, VERTEX_CHANGED, VERTEX_DEFINED, vertexAttrCount, vertexAttrOffsets, vertexAttrSizes, vertexAttrsRefBuffer, vertexAttrStride, vertexCount, vertexData, vertexFormat, vertexType
 
Fields inherited from class javax.media.j3d.GeometryRetained
boundsDirty, cachedChangedFrequent, centroid, COMPRESS_TYPE, computeGeoBounds, EPSILON, GEO_TYPE_COMPRESSED, GEO_TYPE_GEOMETRYARRAY, GEO_TYPE_INDEXED_LINE_SET, GEO_TYPE_INDEXED_LINE_STRIP_SET, GEO_TYPE_INDEXED_POINT_SET, GEO_TYPE_INDEXED_QUAD_SET, GEO_TYPE_INDEXED_TRI_FAN_SET, GEO_TYPE_INDEXED_TRI_SET, GEO_TYPE_INDEXED_TRI_STRIP_SET, GEO_TYPE_LINE_SET, GEO_TYPE_LINE_STRIP_SET, GEO_TYPE_NONE, GEO_TYPE_POINT_SET, GEO_TYPE_QUAD_SET, GEO_TYPE_RASTER, GEO_TYPE_TEXT3D, GEO_TYPE_TOTAL, GEO_TYPE_TRI_FAN_SET, GEO_TYPE_TRI_SET, GEO_TYPE_TRI_STRIP_SET, geoBounds, geomLock, geoType, isDirty, isEditable, LINE_TYPE, liveStateLock, mirrorGeometry, nativeId, noAlpha, POINT_TYPE, QUAD_TYPE, RASTER_TYPE, recompCentroid, TEXT3D_TYPE, TRIANGLE_TYPE, universeList, userLists
 
Fields inherited from class javax.media.j3d.NodeComponentRetained
changedFrequent, compChanged, duplicateOnCloneTree, mirror, refCnt, refCount, users
 
Fields inherited from class javax.media.j3d.SceneGraphObjectRetained
DONT_MERGE, inBackgroundGroup, inSetLive, MERGE, MERGE_DONE, mergeFlag, onUpdateList, source
 
Fields inherited from class javax.media.j3d.IndexedObject
listIdx
 
Constructor Summary
IndexedGeometryStripArrayRetained()
           
 
Method Summary
(package private)  GeometryArrayRetained cloneNonIndexedGeometry()
           
(package private)  int getNumStrips()
          Get number of strips in the GeometryStripArray
(package private)  int getNumStrips(int id)
           
(package private)  void getStripIndexCounts(int[] stripIndexCounts)
          Get a list of vertexCounts for each strip
(package private)  void getStripIndexCounts(int id, int[] stripIndexCounts)
          Get a list of vertexCounts for each strip
(package private)  void mergeGeometryArrays(java.util.ArrayList list)
           
(package private)  void setStripIndexCounts(int[] stripIndexCounts)
          Set stripIndexCount data into local array
 
Methods inherited from class javax.media.j3d.IndexedGeometryArrayRetained
buildGA, computeMaxIndex, computeMaxIndexWithCheck, createIndexedGeometryArrayData, doColorCheck, doCoordCheck, doErrorCheck, doIndexCheck, doIndicesCheck, doNormalCheck, doPostUpdaterUpdate, doTexCoordCheck, doVertexAttrCheck, execute, getColorIndex, getColorIndices, getCoordinateIndex, getCoordinateIndices, getCoordIndicesRef, getIndexCount, getIndexCount, getInitialIndexIndex, getNormalIndex, getNormalIndices, getTextureCoordinateIndex, getTextureCoordinateIndices, getValidIndexCount, getVertexAttrIndex, getVertexAttrIndices, handleFrequencyChange, isWriteStatic, setColorIndex, setColorIndices, setCoordinateIndex, setCoordinateIndices, setCoordIndicesRef, setInitialIndexIndex, setNormalIndex, setNormalIndices, setTextureCoordinateIndex, setTextureCoordinateIndices, setValidIndexCount, setVertexAttrIndex, setVertexAttrIndices
 
Methods inherited from class javax.media.j3d.GeometryArrayRetained
addDlistUser, addMorphUser, assignDlistId, clearLive, colorOffset, compile, computeBoundingBox, computeBoundingBox, computeBoundingBox, computeBoundingBox, computeBoundingBox, computeBoundingBox, computeBoundingBox, computeBoundingBox, computeBoundingBox, computeMinDistance, coordinateOffset, coplanarTriTri, createGeometryArrayData, createGeometryArrayData, createGeometryArrayData, det2D, disableGlobalAlpha, edgeAgainstEdge, edgeAgainstTriEdges, edgeIntersectPlane, edgeIntersectPolygon2D, edgeIntersectSphere, freeD3DArray, freeDlistId, generalStandardSimplexSolver, getColor, getColor, getColor, getColor, getColor, getColor, getColorRef3b, getColorRef3f, getColorRef4b, getColorRef4f, getColorRefBuffer, getColorRefByte, getColorRefFloat, getColors, getColors, getColors, getColors, getColors, getColors, getColorStride, getCompValue, getCompValue, getCoordinate, getCoordinate, getCoordinate, getCoordinate, getCoordinates, getCoordinates, getCoordinates, getCoordinates, getCoordRef3d, getCoordRef3f, getCoordRefBuffer, getCoordRefDouble, getCoordRefFloat, getCrossValue, getDlistTimeStamp, getIndex, getInitialColorIndex, getInitialCoordIndex, getInitialNormalIndex, getInitialTexCoordIndex, getInitialVertexAttrIndex, getInitialVertexIndex, getInterleavedVertexBuffer, getInterleavedVertices, getNormal, getNormal, getNormalRef3f, getNormalRefBuffer, getNormalRefFloat, getNormals, getNormals, getNumColorCount, getNumCoordCount, getNumNormalCount, getNumTexCoordCount, getTexCoordRef2f, getTexCoordRef3f, getTexCoordRefBuffer, getTexCoordRefFloat, getTexCoordSetCount, getTexCoordSetMap, getTexCoordSetMapLength, getTexCoordType, getTexStride, getTextureCoordinate, getTextureCoordinate, getTextureCoordinate, getTextureCoordinate, getTextureCoordinates, getTextureCoordinates, getTextureCoordinates, getTextureCoordinates, getTextureCoordinates, getTextureCoordinates, getValidVertexCount, getVertexAttr, getVertexAttr, getVertexAttr, getVertexAttr, getVertexAttrCount, getVertexAttrRefBuffer, getVertexAttrRefFloat, getVertexAttrs, getVertexAttrs, getVertexAttrs, getVertexAttrs, getVertexAttrSizes, getVertexAttrType, getVertexCount, getVertexData, getVertexFormat, initMirrorGeometry, inside, intersect, intersectBoundingBox, intersectBoundingPolytope, intersectBoundingSphere, intersectCone, intersectCone, intersectCylinder, intersectCylinder, intersectLineAndRay, intersectPntAndPnt, intersectPntAndRay, intersectPolygon, intersectRay, intersectRayOrSegment, intersectSegment, intersectTriPnt, intersectTriTri, isDlistUserSetEmpty, isMergeable, isNonZero, mergeTransform, normalOffset, numDlistUsers, pointIntersectPolygon2D, pointInTri, pointInTri, processCoordsChanged, removeDlistUser, removeMorphUser, sendDataChangedMessage, setColor, setColor, setColor, setColor, setColor, setColor, setColorRef3b, setColorRef3f, setColorRef4b, setColorRef4f, setColorRefBuffer, setColorRefByte, setColorRefFloat, setColors, setColors, setColors, setColors, setColors, setColors, setColors, setColors, setColors, setColors, setColors, setColors, setCompiled, setCoordinate, setCoordinate, setCoordinate, setCoordinate, setCoordinates, setCoordinates, setCoordinates, setCoordinates, setCoordinates, setCoordinates, setCoordinates, setCoordinates, setCoordRef3d, setCoordRef3f, setCoordRefBuffer, setCoordRefDouble, setCoordRefFloat, setDlistTimeStamp, setInitialColorIndex, setInitialCoordIndex, setInitialNormalIndex, setInitialTexCoordIndex, setInitialVertexAttrIndex, setInitialVertexIndex, setInterleavedVertexBuffer, setInterleavedVertices, setLive, setNormal, setNormal, setNormalRef3f, setNormalRefBuffer, setNormalRefFloat, setNormals, setNormals, setNormals, setNormals, setTexCoordRef2f, setTexCoordRef3f, setTexCoordRefBuffer, setTexCoordRefFloat, setTextureCoordinates, setTextureCoordinates, setTextureCoordinates, setTextureCoordinates, setTextureCoordinates, setTextureCoordinates, setupMirrorColorPointer, setupMirrorInterleavedColorPointer, setupMirrorNormalPointer, setupMirrorTexCoordPointer, setupMirrorTexCoordPointer, setupMirrorVertexAttrPointer, setupMirrorVertexAttrPointer, setupMirrorVertexPointer, setValidVertexCount, setVertexAttr, setVertexAttr, setVertexAttr, setVertexAttrRefBuffer, setVertexAttrRefFloat, setVertexAttrs, setVertexAttrs, setVertexAttrs, setVertexAttrs, setVertexFormat, stride, texCoordSetMapOffset, textureOffset, unIndexify, update, updateAlphaInByteRefColors, updateAlphaInFloatRefColors, updateAlphaInInterLeavedData, updateAlphaInVertexData, updateData, updateMirrorGeometry, vertexAttrOffsets, vertexAttrStride
 
Methods inherited from class javax.media.j3d.GeometryRetained
addUser, canBeInDisplayList, computeCentroid, decrComputeGeoBounds, doSetLive, getClassType, incrComputeGeoBounds, intersect, intersect, intersect, intersect, intersect, isEquivalenceClass, removeUser, storeInterestData, updateObject
 
Methods inherited from class javax.media.j3d.NodeComponentRetained
addAMirrorUser, addUser, clone, copyMirrorUsers, createMirrorObject, decRefCnt, getDuplicateOnCloneTree, getInImmCtx, incRefCnt, initMirrorObject, notifyUsers, removeAMirrorUser, removeMirrorUsers, removeUser, set, setDuplicateOnCloneTree, setFrequencyChangeMask, setInImmCtx, updateMirrorObject
 
Methods inherited from class javax.media.j3d.SceneGraphObjectRetained
clearLive, clearLive, doSetLive, doSetLive, getSource, getVirtualUniverse, isInSetLive, isStatic, markAsLive, merge, setCompiled, setLive, setLive, setSource, traverse
 
Methods inherited from class javax.media.j3d.IndexedObject
getIdxUsed, incIdxUsed
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stripIndexCounts

int[] stripIndexCounts

compileStripICOffset

int[] compileStripICOffset

compileIndexLength

int[] compileIndexLength
Constructor Detail

IndexedGeometryStripArrayRetained

IndexedGeometryStripArrayRetained()
Method Detail

setStripIndexCounts

void setStripIndexCounts(int[] stripIndexCounts)
Set stripIndexCount data into local array


cloneNonIndexedGeometry

GeometryArrayRetained cloneNonIndexedGeometry()
Overrides:
cloneNonIndexedGeometry in class IndexedGeometryArrayRetained

getNumStrips

int getNumStrips()
Get number of strips in the GeometryStripArray

Returns:
numStrips number of strips

getStripIndexCounts

void getStripIndexCounts(int[] stripIndexCounts)
Get a list of vertexCounts for each strip

Parameters:
stripIndexCounts - an array that will receive vertexCounts

mergeGeometryArrays

void mergeGeometryArrays(java.util.ArrayList list)
Overrides:
mergeGeometryArrays in class IndexedGeometryArrayRetained

getNumStrips

int getNumStrips(int id)

getStripIndexCounts

void getStripIndexCounts(int id,
                         int[] stripIndexCounts)
Get a list of vertexCounts for each strip

Parameters:
stripIndexCounts - an array that will receive vertexCounts


Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.