All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class java.media.j3d.IndexedLineStripArray
java.lang.Object
   |
   +----java.media.j3d.SceneGraphObject
           |
           +----java.media.j3d.NodeComponent
                   |
                   +----java.media.j3d.Geometry
                           |
                           +----java.media.j3d.GeometryArray
                                   |
                                   +----java.media.j3d.IndexedGeometryArray
                                           |
                                           +----java.media.j3d.IndexedGeometryStripArray
                                                   |
                                                   +----java.media.j3d.IndexedLineStripArray
  -  public class IndexedLineStripArray
  -  extends IndexedGeometryStripArray
The IndexedLineStripArray object draws an array of vertices as a set of
 connected line strips.  An array of per-strip vertex counts specifies
 where the separate strips appear in the vertex array.
 For every strip in the set, each vertex, beginning with
 the second vertex in the array, defines a line segment to be drawn
 from the previous vertex to the current vertex.
   
  -   IndexedLineStripArray(int, int, int, int[]) IndexedLineStripArray(int, int, int, int[])
-   Constructs an empty IndexedLineStripArray object with the specified
 number of vertices, vertex format, number of strips, and
 array of index counts per strip.
   
 IndexedLineStripArray
IndexedLineStripArray
 public IndexedLineStripArray(int vertexCount,
                              int vertexFormat,
                              int indexCount,
                              int stripIndexCounts[])
  -  Constructs an empty IndexedLineStripArray object with the specified
 number of vertices, vertex format, number of strips, and
 array of index counts per strip.
   
- 
    -  Parameters:
    
-  vertexCount - the number of vertex elements in this object
    -  vertexFormat - a mask indicating which components are
 present in each vertex.  This is specified as one or more
 individual flags that are bitwise "OR"ed together to describe
 the per-vertex data.
 The flags include: COORDINATES, to signal the inclusion of
 vertex positions---always present; NORMALS, to signal 
 the inclusion of per vertex normals; one of COLOR_3,
 COLOR_4, to signal the inclusion of per vertex
 colors (without or with color information); and one of 
 TEXTURE_COORDINATE_2 or TEXTURE_COORDINATE_3, to signal the
 inclusion of per-vertex texture coordinates 2D or 3D.
    -  indexCount - the number of indices in this object
    -  stripIndexCounts - array that specifies
 the count of the number of vertices for each separate strip.
 The length of this array is the number of separate strips.
    
-  Throws: IllegalArgumentException
    
-  if vertexCount is  non-positive
 OR indexCount is less than PRIM_SIZE OR sum of all stripIndexCounts
 is NOT equal to indexCount.
 ( PRIM_SIZE is 1 for points, 2 for lines, 3 for triangles etc)
  
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index