javax.media.j3d
Class IndexedGeometryArrayRetained

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
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
IndexedGeometryStripArrayRetained, IndexedLineArrayRetained, IndexedPointArrayRetained, IndexedQuadArrayRetained, IndexedTriangleArrayRetained

abstract class IndexedGeometryArrayRetained
extends GeometryArrayRetained

The IndexedGeometryArray object contains arrays of positional coordinates, colors, normals and/or texture coordinates that describe point, line, or surface geometry. It is extended to create the various primitive types (e.g., lines, triangle_strips, etc.)


Field Summary
(package private)  int[] compileIndexCount
           
(package private)  int[] compileIndexOffset
           
(package private)  int[] indexColor
           
(package private)  int[] indexCoord
           
(package private)  int indexCount
           
(package private)  int[] indexNormal
           
(package private)  int[][] indexTexCoord
           
(package private)  int[][] indexVertexAttr
           
(package private)  int initialIndexIndex
           
(package private)  int maxColorIndex
           
(package private)  int maxCoordIndex
           
(package private)  int maxNormalIndex
           
(package private)  int[] maxTexCoordIndices
           
(package private)  int[] maxVertexAttrIndices
           
(package private)  int 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
IndexedGeometryArrayRetained()
           
 
Method Summary
(package private)  void buildGA(Canvas3D cv, RenderAtom ra, boolean isNonUniformScale, boolean updateAlpha, float alpha, boolean ignoreVertexColors, Transform3D xform, Transform3D nxform)
           
(package private)  GeometryArrayRetained cloneNonIndexedGeometry()
           
(package private)  int computeMaxIndex(int initial, int count, int[] indices)
           
(package private)  int computeMaxIndexWithCheck(int initial, int count, int[] indices)
           
(package private)  void createIndexedGeometryArrayData(int indexCount)
           
(package private)  void doColorCheck(int newMax)
           
(package private)  void doCoordCheck(int newMax)
           
(package private)  void doErrorCheck(int newMax)
           
(package private)  int doIndexCheck(int index, int maxIndex, int[] indices, int dataValue)
           
(package private)  int doIndicesCheck(int index, int maxIndex, int[] indices, int[] newIndices)
           
(package private)  void doNormalCheck(int newMax)
           
(package private)  void doPostUpdaterUpdate()
          trigger from GeometryArrayRetained#updateData() to recompute maxCoordIndex and perform index integrity checks
(package private)  void doTexCoordCheck(int newMax, int texCoordSet)
           
(package private)  void doVertexAttrCheck(int newMax, int vertexAttrNum)
           
(package private)  void execute(Canvas3D cv, RenderAtom ra, boolean isNonUniformScale, boolean updateAlpha, float alpha, int screen, boolean ignoreVertexColors)
           
(package private)  int getColorIndex(int index)
          Retrieves the color index associated with the vertex at the specified index for this object.
(package private)  void getColorIndices(int index, int[] colorIndices)
          Retrieves the color indices associated with the vertices starting at the specified index for this object.
(package private)  int getCoordinateIndex(int index)
          Retrieves the coordinate index associated with the vertex at the specified index for this object.
(package private)  void getCoordinateIndices(int index, int[] coordinateIndices)
          Retrieves the coordinate indices associated with the vertices starting at the specified index for this object.
(package private)  int[] getCoordIndicesRef()
          Returns a reference to the coordinate indices associated with the vertices
(package private)  int getIndexCount()
          Gets current number of indices
(package private)  int getIndexCount(int id)
          Gets current number of indices
(package private)  int getInitialIndexIndex()
           
(package private)  int getNormalIndex(int index)
          Retrieves the normal index associated with the vertex at the specified index for this object.
(package private)  void getNormalIndices(int index, int[] normalIndices)
          Retrieves the normal indices associated with the vertices starting at the specified index for this object.
(package private)  int getTextureCoordinateIndex(int texCoordSet, int index)
          Retrieves the texture coordinate index associated with the vertex at the specified index for this object.
(package private)  void getTextureCoordinateIndices(int texCoordSet, int index, int[] texCoordIndices)
          Retrieves the texture coordinate indices associated with the vertices starting at the specified index for this object.
(package private)  int getValidIndexCount()
           
(package private)  int getVertexAttrIndex(int vertexAttrNum, int index)
          Retrieves the vertex attribute index associated with the vertex at the specified index for the specified vertex attribute number for this object.
(package private)  void getVertexAttrIndices(int vertexAttrNum, int index, int[] vertexAttrIndices)
          Retrieves the vertex attribute indices associated with the vertices starting at the specified index for the specified vertex attribute number for this object.
(package private)  void handleFrequencyChange(int bit)
           
(package private)  boolean isWriteStatic()
           
(package private)  void mergeGeometryArrays(java.util.ArrayList list)
           
(package private)  void setColorIndex(int index, int colorIndex)
          Sets the color index associated with the vertex at the specified index for this object.
(package private)  void setColorIndices(int index, int[] colorIndices)
          Sets the color indices associated with the vertices starting at the specified index for this object.
(package private)  void setCoordinateIndex(int index, int coordinateIndex)
          Sets the coordinate index associated with the vertex at the specified index for this object.
(package private)  void setCoordinateIndices(int index, int[] coordinateIndices)
          Sets the coordinate indices associated with the vertices starting at the specified index for this object.
(package private)  void setCoordIndicesRef(int[] coordinateIndices)
          Sets the coordinate indices by reference to the specified array
(package private)  void setInitialIndexIndex(int initialIndexIndex)
           
(package private)  void setNormalIndex(int index, int normalIndex)
          Sets the normal index associated with the vertex at the specified index for this object.
(package private)  void setNormalIndices(int index, int[] normalIndices)
          Sets the normal indices associated with the vertices starting at the specified index for this object.
(package private)  void setTextureCoordinateIndex(int texCoordSet, int index, int texCoordIndex)
          Sets the texture coordinate index associated with the vertex at the specified index for this object.
(package private)  void setTextureCoordinateIndices(int texCoordSet, int index, int[] texCoordIndices)
          Sets the texture coordinate indices associated with the vertices starting at the specified index for this object.
(package private)  void setValidIndexCount(int validIndexCount)
           
(package private)  void setVertexAttrIndex(int vertexAttrNum, int index, int vertexAttrIndex)
          Sets the vertex attribute index associated with the vertex at the specified index for the specified vertex attribute number for this object.
(package private)  void setVertexAttrIndices(int vertexAttrNum, int index, int[] vertexAttrIndices)
          Sets the vertex attribute indices associated with the vertices starting at the specified index for the specified vertex attribute number for this object.
 
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

indexCoord

int[] indexCoord

indexColor

int[] indexColor

indexNormal

int[] indexNormal

indexTexCoord

int[][] indexTexCoord

indexVertexAttr

int[][] indexVertexAttr

indexCount

int indexCount

initialIndexIndex

int initialIndexIndex

validIndexCount

int validIndexCount

compileIndexCount

int[] compileIndexCount

compileIndexOffset

int[] compileIndexOffset

maxCoordIndex

int maxCoordIndex

maxColorIndex

int maxColorIndex

maxNormalIndex

int maxNormalIndex

maxTexCoordIndices

int[] maxTexCoordIndices

maxVertexAttrIndices

int[] maxVertexAttrIndices
Constructor Detail

IndexedGeometryArrayRetained

IndexedGeometryArrayRetained()
Method Detail

createIndexedGeometryArrayData

void createIndexedGeometryArrayData(int indexCount)

cloneNonIndexedGeometry

GeometryArrayRetained cloneNonIndexedGeometry()

getIndexCount

int getIndexCount()
Gets current number of indices

Returns:
indexCount

doErrorCheck

void doErrorCheck(int newMax)

doCoordCheck

void doCoordCheck(int newMax)

doColorCheck

void doColorCheck(int newMax)

doNormalCheck

void doNormalCheck(int newMax)

doTexCoordCheck

void doTexCoordCheck(int newMax,
                     int texCoordSet)

doVertexAttrCheck

void doVertexAttrCheck(int newMax,
                       int vertexAttrNum)

setCoordinateIndex

final void setCoordinateIndex(int index,
                              int coordinateIndex)
Sets the coordinate index associated with the vertex at the specified index for this object.

Parameters:
index - the vertex index
coordinateIndex - the new coordinate index

doIndexCheck

int doIndexCheck(int index,
                 int maxIndex,
                 int[] indices,
                 int dataValue)

doIndicesCheck

int doIndicesCheck(int index,
                   int maxIndex,
                   int[] indices,
                   int[] newIndices)

setCoordinateIndices

final void setCoordinateIndices(int index,
                                int[] coordinateIndices)
Sets the coordinate indices associated with the vertices starting at the specified index for this object.

Parameters:
index - the vertex index
coordinateIndices - an array of coordinate indices

setCoordIndicesRef

final void setCoordIndicesRef(int[] coordinateIndices)
Sets the coordinate indices by reference to the specified array

Parameters:
coordinateIndices - an array of coordinate indices

doPostUpdaterUpdate

final void doPostUpdaterUpdate()
trigger from GeometryArrayRetained#updateData() to recompute maxCoordIndex and perform index integrity checks


setColorIndex

final void setColorIndex(int index,
                         int colorIndex)
Sets the color index associated with the vertex at the specified index for this object.

Parameters:
index - the vertex index
colorIndex - the new color index

setColorIndices

final void setColorIndices(int index,
                           int[] colorIndices)
Sets the color indices associated with the vertices starting at the specified index for this object.

Parameters:
index - the vertex index
colorIndices - an array of color indices

setNormalIndex

final void setNormalIndex(int index,
                          int normalIndex)
Sets the normal index associated with the vertex at the specified index for this object.

Parameters:
index - the vertex index
normalIndex - the new normal index

setNormalIndices

final void setNormalIndices(int index,
                            int[] normalIndices)
Sets the normal indices associated with the vertices starting at the specified index for this object.

Parameters:
index - the vertex index
normalIndices - an array of normal indices

setTextureCoordinateIndex

final void setTextureCoordinateIndex(int texCoordSet,
                                     int index,
                                     int texCoordIndex)
Sets the texture coordinate index associated with the vertex at the specified index for this object.

Parameters:
texCoordSet - the texture coordinate set
index - the vertex index
texCoordIndex - the new texture coordinate index

setTextureCoordinateIndices

final void setTextureCoordinateIndices(int texCoordSet,
                                       int index,
                                       int[] texCoordIndices)
Sets the texture coordinate indices associated with the vertices starting at the specified index for this object.

Parameters:
texCoordSet - the texture coordinate set
index - the vertex index
texCoordIndices - an array of texture coordinate indices

setVertexAttrIndex

void setVertexAttrIndex(int vertexAttrNum,
                        int index,
                        int vertexAttrIndex)
Sets the vertex attribute index associated with the vertex at the specified index for the specified vertex attribute number for this object.


setVertexAttrIndices

void setVertexAttrIndices(int vertexAttrNum,
                          int index,
                          int[] vertexAttrIndices)
Sets the vertex attribute indices associated with the vertices starting at the specified index for the specified vertex attribute number for this object.


getCoordinateIndex

final int getCoordinateIndex(int index)
Retrieves the coordinate index associated with the vertex at the specified index for this object.

Parameters:
index - the vertex index
Returns:
the coordinate index

getCoordinateIndices

final void getCoordinateIndices(int index,
                                int[] coordinateIndices)
Retrieves the coordinate indices associated with the vertices starting at the specified index for this object.

Parameters:
index - the vertex index
coordinateIndices - array that will receive the coordinate indices

getCoordIndicesRef

final int[] getCoordIndicesRef()
Returns a reference to the coordinate indices associated with the vertices


getColorIndex

final int getColorIndex(int index)
Retrieves the color index associated with the vertex at the specified index for this object.

Parameters:
index - the vertex index
Returns:
the color index

getColorIndices

final void getColorIndices(int index,
                           int[] colorIndices)
Retrieves the color indices associated with the vertices starting at the specified index for this object.

Parameters:
index - the vertex index
colorIndices - array that will receive the color indices

getNormalIndex

final int getNormalIndex(int index)
Retrieves the normal index associated with the vertex at the specified index for this object.

Parameters:
index - the vertex index
Returns:
the normal index

getNormalIndices

final void getNormalIndices(int index,
                            int[] normalIndices)
Retrieves the normal indices associated with the vertices starting at the specified index for this object.

Parameters:
index - the vertex index
normalIndices - array that will receive the normal indices

getTextureCoordinateIndex

final int getTextureCoordinateIndex(int texCoordSet,
                                    int index)
Retrieves the texture coordinate index associated with the vertex at the specified index for this object.

Parameters:
texCoordSet - the texture coordinate set
index - the vertex index
Returns:
the texture coordinate index

getTextureCoordinateIndices

final void getTextureCoordinateIndices(int texCoordSet,
                                       int index,
                                       int[] texCoordIndices)
Retrieves the texture coordinate indices associated with the vertices starting at the specified index for this object.

Parameters:
texCoordSet - the texture coordinate set
index - the vertex index
texCoordIndices - array that will receive the texture coordinate indices

getVertexAttrIndex

int getVertexAttrIndex(int vertexAttrNum,
                       int index)
Retrieves the vertex attribute index associated with the vertex at the specified index for the specified vertex attribute number for this object.


getVertexAttrIndices

void getVertexAttrIndices(int vertexAttrNum,
                          int index,
                          int[] vertexAttrIndices)
Retrieves the vertex attribute indices associated with the vertices starting at the specified index for the specified vertex attribute number for this object.


execute

void execute(Canvas3D cv,
             RenderAtom ra,
             boolean isNonUniformScale,
             boolean updateAlpha,
             float alpha,
             int screen,
             boolean ignoreVertexColors)
Overrides:
execute in class GeometryArrayRetained

buildGA

void buildGA(Canvas3D cv,
             RenderAtom ra,
             boolean isNonUniformScale,
             boolean updateAlpha,
             float alpha,
             boolean ignoreVertexColors,
             Transform3D xform,
             Transform3D nxform)
Overrides:
buildGA in class GeometryArrayRetained

mergeGeometryArrays

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

isWriteStatic

boolean isWriteStatic()
Overrides:
isWriteStatic in class GeometryArrayRetained

getIndexCount

int getIndexCount(int id)
Gets current number of indices

Returns:
indexCount

computeMaxIndex

int computeMaxIndex(int initial,
                    int count,
                    int[] indices)

computeMaxIndexWithCheck

int computeMaxIndexWithCheck(int initial,
                             int count,
                             int[] indices)

setValidIndexCount

void setValidIndexCount(int validIndexCount)

setInitialIndexIndex

void setInitialIndexIndex(int initialIndexIndex)

getInitialIndexIndex

int getInitialIndexIndex()

getValidIndexCount

int getValidIndexCount()

handleFrequencyChange

void handleFrequencyChange(int bit)
Overrides:
handleFrequencyChange in class GeometryArrayRetained


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