org.xith3d.scenegraph
Class IndexedGeometryStripArray

java.lang.Object
  extended by org.xith3d.scenegraph.SceneGraphObject
      extended by org.xith3d.scenegraph.NodeComponent
          extended by org.xith3d.scenegraph.Geometry
              extended by org.xith3d.scenegraph.GeomContainer
                  extended by org.xith3d.scenegraph.GeometryArray
                      extended by org.xith3d.scenegraph.GeomIndexedContainer
                          extended by org.xith3d.scenegraph.IndexedGeometryArray
                              extended by org.xith3d.scenegraph.IndexedGeometryStripArray
All Implemented Interfaces:
org.jagatoo.datatypes.NamableObject, org.jagatoo.datatypes.NamedObject, org.openmali.spatial.IndexContainer, org.openmali.spatial.VertexContainer
Direct Known Subclasses:
IndexedLineStripArray, IndexedTriangleStripArray

public abstract class IndexedGeometryStripArray
extends IndexedGeometryArray


Nested Class Summary
 
Nested classes/interfaces inherited from class org.xith3d.scenegraph.GeomContainer
GeomContainer.Type
 
Nested classes/interfaces inherited from class org.xith3d.scenegraph.Geometry
Geometry.Optimization
 
Field Summary
 
Fields inherited from class org.xith3d.scenegraph.GeomIndexedContainer
initialIndexIndex, validIndexCount
 
Fields inherited from class org.xith3d.scenegraph.GeomContainer
BY_REFERENCE, colors, COLORS, COORDINATES, coords, faceSize, INTERLEAVED, interleavedData, normals, NORMALS, numVertices, texCoords, TEXTURE_COORDINATES, VERTEX_ATTRIBUTES, vertexAttribs
 
Fields inherited from class org.xith3d.scenegraph.SceneGraphObject
XITH3D_USERDATAKEY_OLDUSERDATA
 
Constructor Summary
IndexedGeometryStripArray(GeomContainer.Type type, int coordsSize, int vertexCount, int indexCount, int[] stripIndexCounts)
          Constructs an empty IndexedTriangleStripArray object with the specified number of vertices, vertex format, and number of indices.
 
Method Summary
 int getNumStrips()
           
 void getStripIndexCounts(int[] sCounts)
           
 int[] getStripVertexCounts()
          Gets the vertex counts for each strip.
 void setStripVertexCounts(int[] stripVertexCounts)
           
 
Methods inherited from class org.xith3d.scenegraph.IndexedGeometryArray
getInitialIndexIndex, getValidIndexCount, setInitialIndexIndex, setValidIndexCount
 
Methods inherited from class org.xith3d.scenegraph.GeomIndexedContainer
duplicateNodeComponent, getIndex, getIndex, getIndexCount, getIndexData, setIndex, setIndex
 
Methods inherited from class org.xith3d.scenegraph.GeometryArray
cloneNodeComponent, getTriangle, setTriangle, setTriangle
 
Methods inherited from class org.xith3d.scenegraph.GeomContainer
addData, addData, addData, calculateFaceNormals, calculateFaceNormals, finalize, flipNormals, freeOpenGLResources, getColor, getColor, getColorData, getColorRefFloat, getColors, getColorsOffset, getColorsSize, getCoordinate, getCoordinate, getCoordinates, getCoordinates, getCoordinatesData, getCoordinatesOffset, getCoordinatesSize, getCoordRefFloat, getFaceSize, getInitialVertexIndex, getInterleavedData, getNormal, getNormal, getNormalRefFloat, getNormals, getNormals, getNormalsData, getNormalsOffset, getNormalsSize, getOpenGLReference_DL_GeomData, getOpenGLReference_DL_TexCoords, getOpenGLReference_DL, getTexCoordRefFloat, getTexCoordsData, getTexCoordSetCount, getTexCoordSetMap, getTexCoordSetMap, getTexCoordSize, getTexCoordsOffset, getTextureCoordinate, getTextureCoordinate, getTextureCoordinate, getTextureCoordinate, getTextureCoordinate, getTextureCoordinates, getType, getValidVertexCount, getVertex, getVertexAttribData, getVertexAttribSize, getVertexAttribsOffset, getVertexAttribute, getVertexAttribute, getVertexAttribute, getVertexAttribute, getVertexAttribute, getVertexAttributes, getVertexAttributesCount, getVertexCount, getVertexFormat, hasColorAlpha, hasColors, hasFeature, hasIndex, hasNormals, hasTextureCoordinates, hasTextureCoordinates, hasVertexAttributes, hasVertexAttributes, invertNormals, isInterleaved, isStrip, makeInterleaved, makeInterleaved, setColor, setColor, setColor, setColor, setColorData, setColors, setColors, setColors, setColors, setCoordinate, setCoordinate, setCoordinate, setCoordinateData, setCoordinates, setCoordinates, setCoordinates, setCoordinates, setDataBuffers, setInitialVertexIndex, setNioBuffers, setNormal, setNormal, setNormal, setNormalData, setNormals, setNormals, setNormals, setNormals, setTexCoordData, setTextureCoordinate, setTextureCoordinate, setTextureCoordinate, setTextureCoordinate, setTextureCoordinate, setTextureCoordinate, setTextureCoordinate, setTextureCoordinate, setTextureCoordinates, setTextureCoordinates, setTextureCoordinates, setTextureCoordinates, setTextureCoordinates, setTextureCoordinates, setTextureCoordinates, setTextureCoordinates, setValidVertexCount, setVertexAttribute, setVertexAttribute, setVertexAttribute, setVertexAttribute, setVertexAttribute, setVertexAttributes, setVertexAttributes, setVertexAttributes, setVertexAttributes, setVertexAttributes, setVertexAttributes, setVertexAttributes, setVertexAttributes, update, updateData
 
Methods inherited from class org.xith3d.scenegraph.Geometry
getCachedBounds, getOptimization, isBoundsDirty, isTriangulatable, isTriangulated, setBoundsDirty, setCachedBounds, setOptimization
 
Methods inherited from class org.xith3d.scenegraph.NodeComponent
freeOpenGLResources, getDuplicateOnCloneTree, getModListener, isChanged, isChanged2, setChanged, setDuplicateOnCloneTree, setModListener
 
Methods inherited from class org.xith3d.scenegraph.SceneGraphObject
getName, getUserData, getUserData, getUserDataMap, isLive, setLive, setName, setUserData, setUserData, setUserDataRecursive, setUserDataRecursive, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IndexedGeometryStripArray

public IndexedGeometryStripArray(GeomContainer.Type type,
                                 int coordsSize,
                                 int vertexCount,
                                 int indexCount,
                                 int[] stripIndexCounts)
Constructs an empty IndexedTriangleStripArray object with the specified number of vertices, vertex format, and number of indices.

Method Detail

getNumStrips

public final int getNumStrips()

setStripVertexCounts

public void setStripVertexCounts(int[] stripVertexCounts)

getStripVertexCounts

public final int[] getStripVertexCounts()
Gets the vertex counts for each strip.


getStripIndexCounts

public void getStripIndexCounts(int[] sCounts)