javax.media.j3d
Class IndexedTriangleFanArrayRetained

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
                              extended by javax.media.j3d.IndexedTriangleFanArrayRetained
All Implemented Interfaces:
java.lang.Cloneable

 class IndexedTriangleFanArrayRetained
extends IndexedGeometryStripArrayRetained

The IndexedTriangleFanArray object draws an array of vertices as a set of connected triangle fans. An array of per-strip vertex counts specifies where the separate strips (fans) appear in the vertex array. For every strip in the set, each vertex, beginning with the third vertex in the array, defines a triangle to be drawn using the current vertex, the previous vertex and the first vertex. This can be thought of as a collection of convex polygons.


Field Summary
 
Fields inherited from class javax.media.j3d.IndexedGeometryStripArrayRetained
compileIndexLength, compileStripICOffset, 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
IndexedTriangleFanArrayRetained()
           
 
Method Summary
(package private)  int getClassType()
           
(package private)  boolean intersect(Bounds targetBound)
           
(package private)  boolean intersect(PickShape pickShape, PickInfo pickInfo, int flags, Point3d iPnt, GeometryRetained geom, int geomIndex)
           
(package private)  boolean intersect(Point3d[] pnts)
           
(package private)  boolean intersect(Transform3D thisToOtherVworld, GeometryRetained geom)
           
 
Methods inherited from class javax.media.j3d.IndexedGeometryStripArrayRetained
cloneNonIndexedGeometry, getNumStrips, getNumStrips, getStripIndexCounts, getStripIndexCounts, mergeGeometryArrays, setStripIndexCounts
 
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, incrComputeGeoBounds, 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
 

Constructor Detail

IndexedTriangleFanArrayRetained

IndexedTriangleFanArrayRetained()
Method Detail

intersect

boolean intersect(PickShape pickShape,
                  PickInfo pickInfo,
                  int flags,
                  Point3d iPnt,
                  GeometryRetained geom,
                  int geomIndex)
Specified by:
intersect in class GeometryRetained

intersect

boolean intersect(Point3d[] pnts)
Specified by:
intersect in class GeometryRetained

intersect

boolean intersect(Transform3D thisToOtherVworld,
                  GeometryRetained geom)
Specified by:
intersect in class GeometryRetained

intersect

boolean intersect(Bounds targetBound)
Specified by:
intersect in class GeometryRetained

getClassType

int getClassType()
Specified by:
getClassType in class GeometryRetained


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