All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class java.media.j3d.GeometryArray
java.lang.Object
   |
   +----java.media.j3d.SceneGraphObject
           |
           +----java.media.j3d.NodeComponent
                   |
                   +----java.media.j3d.Geometry
                           |
                           +----java.media.j3d.GeometryArray
  -  public abstract class GeometryArray
  -  extends Geometry
The GeometryArray object contains separate 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.)
   
  -   ALLOW_COLOR_READ ALLOW_COLOR_READ
-   Specifies that this GeometryArray allows reading the array of
 colors.
  
-   ALLOW_COLOR_WRITE ALLOW_COLOR_WRITE
-   Specifies that this GeometryArray allows writing the array of
 colors.
  
-   ALLOW_COORDINATE_READ ALLOW_COORDINATE_READ
-   Specifies that this GeometryArray allows reading the array of
 coordinates.
  
-   ALLOW_COORDINATE_WRITE ALLOW_COORDINATE_WRITE
-   Specifies that this GeometryArray allows writing the array of
 coordinates.
  
-   ALLOW_NORMAL_READ ALLOW_NORMAL_READ
-   Specifies that this GeometryArray allows reading the array of
 normals.
  
-   ALLOW_NORMAL_WRITE ALLOW_NORMAL_WRITE
-   Specifies that this GeometryArray allows writing the array of
 normals.
  
-   ALLOW_TEXCOORD_READ ALLOW_TEXCOORD_READ
-   Specifies that this GeometryArray allows reading the array of
 texture coordinates.
  
-   ALLOW_TEXCOORD_WRITE ALLOW_TEXCOORD_WRITE
-   Specifies that this GeometryArray allows writing the array of
 texture coordinates.
  
-   COLOR_3 COLOR_3
-   Specifies that this GeometryArray contains an array of colors without alpha.
  
-   COLOR_4 COLOR_4
-   Specifies that this GeometryArray contains an array of colors with alpha.
  
-   COORDINATES COORDINATES
-   Specifies that this GeometryArray contains an array of coordinates.
  
-   NORMALS NORMALS
-   Specifies that this GeometryArray contains an array of normals.
  
-   TEXTURE_COORDINATE_2 TEXTURE_COORDINATE_2
-   Specifies that this GeometryArray contains an array of texture coordinates.
  
-   TEXTURE_COORDINATE_3 TEXTURE_COORDINATE_3
-   Specifies that this GeometryArray contains an array of texture coordinates.
   
  -   GeometryArray(int, int) GeometryArray(int, int)
-   Constructs an empty GeometryArray object with the specified
 number of vertices, and vertex format.
   
  -   getColor(int, byte[]) getColor(int, byte[])
-   Gets the color associated with the vertex at
 the specified index for this object.
  
-   getColor(int, Color3b) getColor(int, Color3b)
-   Gets the color associated with the vertex at
 the specified index for this object.
  
-   getColor(int, Color3f) getColor(int, Color3f)
-   Gets the color associated with the vertex at
 the specified index for this object.
  
-   getColor(int, Color4b) getColor(int, Color4b)
-   Gets the color associated with the vertex at
 the specified index for this object.
  
-   getColor(int, Color4f) getColor(int, Color4f)
-   Gets the color associated with the vertex at
 the specified index for this object.
  
-   getColor(int, float[]) getColor(int, float[])
-   Gets the color associated with the vertex at
 the specified index for this object.
  
-   getColors(int, byte[]) getColors(int, byte[])
-   Gets the colors associated with the vertices starting at
 the specified index for this object.
  
-   getColors(int, Color3b[]) getColors(int, Color3b[])
-   Gets the colors associated with the vertices starting at
 the specified index for this object.
  
-   getColors(int, Color3f[]) getColors(int, Color3f[])
-   Gets the colors associated with the vertices starting at
 the specified index for this object.
  
-   getColors(int, Color4b[]) getColors(int, Color4b[])
-   Gets the colors associated with the vertices starting at
 the specified index for this object.
  
-   getColors(int, Color4f[]) getColors(int, Color4f[])
-   Gets the colors associated with the vertices starting at
 the specified index for this object.
  
-   getColors(int, float[]) getColors(int, float[])
-   Gets the colors associated with the vertices starting at
 the specified index for this object.
  
-   getCoordinate(int, double[]) getCoordinate(int, double[])
-   Gets the coordinate associated with the vertex at
 the specified index for this object.
  
-   getCoordinate(int, float[]) getCoordinate(int, float[])
-   Gets the coordinate associated with the vertex at
 the specified index for this object.
  
-   getCoordinate(int, Point3d) getCoordinate(int, Point3d)
-   Gets the coordinate associated with the vertex at
 the specified index for this object.
  
-   getCoordinate(int, Point3f) getCoordinate(int, Point3f)
-   Gets the coordinate associated with the vertex at
 the specified index for this object.
  
-   getCoordinates(int, double[]) getCoordinates(int, double[])
-   Gets the coordinates associated with the vertices starting at
 the specified index for this object.
  
-   getCoordinates(int, float[]) getCoordinates(int, float[])
-   Gets the coordinates associated with the vertices starting at
 the specified index for this object.
  
-   getCoordinates(int, Point3d[]) getCoordinates(int, Point3d[])
-   Gets the coordinates associated with the vertices starting at
 the specified index for this object.
  
-   getCoordinates(int, Point3f[]) getCoordinates(int, Point3f[])
-   Gets the coordinates associated with the vertices starting at
 the specified index for this object.
  
-   getNormal(int, float[]) getNormal(int, float[])
-   Gets the normal associated with the vertex at
 the specified index for this object.
  
-   getNormal(int, Vector3f) getNormal(int, Vector3f)
-   Gets the normal associated with the vertex at
 the specified index for this object.
  
-   getNormals(int, float[]) getNormals(int, float[])
-   Gets the normals associated with the vertices starting at
 the specified index for this object.
  
-   getNormals(int, Vector3f[]) getNormals(int, Vector3f[])
-   Gets the normals associated with the vertices starting at
 the specified index for this object.
  
-   getTextureCoordinate(int, float[]) getTextureCoordinate(int, float[])
-   Gets the texture coordinate associated with the vertex at
 the specified index for this object.
  
-   getTextureCoordinate(int, Point2f) getTextureCoordinate(int, Point2f)
-   Gets the texture coordinate associated with the vertex at
 the specified index for this object.
  
-   getTextureCoordinate(int, Point3f) getTextureCoordinate(int, Point3f)
-   Gets the texture coordinate associated with the vertex at
 the specified index for this object.
  
-   getTextureCoordinates(int, float[]) getTextureCoordinates(int, float[])
-   Gets the texture coordinates associated with the vertices starting at
 the specified index for this object.
  
-   getTextureCoordinates(int, Point2f[]) getTextureCoordinates(int, Point2f[])
-   Gets the texture coordinates associated with the vertices starting at
 the specified index for this object.
  
-   getTextureCoordinates(int, Point3f[]) getTextureCoordinates(int, Point3f[])
-   Gets the texture coordinates associated with the vertices starting at
 the specified index for this object.
  
-   getVertexCount() getVertexCount()
-   Gets the number of vertices in the GeometryArray
 
  
-   getVertexFormat() getVertexFormat()
-   Gets the vertexFormat in the GeometryArray
 
  
-   setColor(int, byte[]) setColor(int, byte[])
-   Sets the color associated with the vertex at
 the specified index for this object.
  
-   setColor(int, Color3b) setColor(int, Color3b)
-   Sets the color associated with the vertex at
 the specified index for this object.
  
-   setColor(int, Color3f) setColor(int, Color3f)
-   Sets the color associated with the vertex at
 the specified index for this object.
  
-   setColor(int, Color4b) setColor(int, Color4b)
-   Sets the color associated with the vertex at
 the specified index for this object.
  
-   setColor(int, Color4f) setColor(int, Color4f)
-   Sets the color associated with the vertex at
 the specified index for this object.
  
-   setColor(int, float[]) setColor(int, float[])
-   Sets the color associated with the vertex at
 the specified index for this object.
  
-   setColors(int, byte[]) setColors(int, byte[])
-   Sets the colors associated with the vertices starting at
 the specified index for this object.
  
-   setColors(int, Color3b[]) setColors(int, Color3b[])
-   Sets the colors associated with the vertices starting at
 the specified index for this object.
  
-   setColors(int, Color3f[]) setColors(int, Color3f[])
-   Sets the colors associated with the vertices starting at
 the specified index for this object.
  
-   setColors(int, Color4b[]) setColors(int, Color4b[])
-   Sets the colors associated with the vertices starting at
 the specified index for this object.
  
-   setColors(int, Color4f[]) setColors(int, Color4f[])
-   Sets the colors associated with the vertices starting at
 the specified index for this object.
  
-   setColors(int, float[]) setColors(int, float[])
-   Sets the colors associated with the vertices starting at
 the specified index for this object.
  
-   setCoordinate(int, double[]) setCoordinate(int, double[])
-   Sets the coordinate associated with the vertex at
 the specified index.
  
-   setCoordinate(int, float[]) setCoordinate(int, float[])
-   Sets the coordinate associated with the vertex at
 the specified index for this object.
  
-   setCoordinate(int, Point3d) setCoordinate(int, Point3d)
-   Sets the coordinate associated with the vertex at
 the specified index for this object.
  
-   setCoordinate(int, Point3f) setCoordinate(int, Point3f)
-   Sets the coordinate associated with the vertex at
 the specified index for this object.
  
-   setCoordinates(int, double[]) setCoordinates(int, double[])
-   Sets the coordinates associated with the vertices starting at
 the specified index for this object.
  
-   setCoordinates(int, float[]) setCoordinates(int, float[])
-   Sets the coordinates associated with the vertices starting at
 the specified index for this object.
  
-   setCoordinates(int, Point3d[]) setCoordinates(int, Point3d[])
-   Sets the coordinates associated with the vertices starting at
 the specified index for this object.
  
-   setCoordinates(int, Point3f[]) setCoordinates(int, Point3f[])
-   Sets the coordinates associated with the vertices starting at
 the specified index for this object.
  
-   setNormal(int, float[]) setNormal(int, float[])
-   Sets the normal associated with the vertex at
 the specified index for this object.
  
-   setNormal(int, Vector3f) setNormal(int, Vector3f)
-   Sets the normal associated with the vertex at
 the specified index for this object.
  
-   setNormals(int, float[]) setNormals(int, float[])
-   Sets the normals associated with the vertices starting at
 the specified index for this object.
  
-   setNormals(int, Vector3f[]) setNormals(int, Vector3f[])
-   Sets the normals associated with the vertices starting at
 the specified index for this object.
  
-   setTextureCoordinate(int, float[]) setTextureCoordinate(int, float[])
-   Sets the texture coordinate associated with the vertex at
 the specified index for this object.
  
-   setTextureCoordinate(int, Point2f) setTextureCoordinate(int, Point2f)
-   Sets the texture coordinate associated with the vertex at
 the specified index for this object.
  
-   setTextureCoordinate(int, Point3f) setTextureCoordinate(int, Point3f)
-   Sets the texture coordinate associated with the vertex at
 the specified index for this object.
  
-   setTextureCoordinates(int, float[]) setTextureCoordinates(int, float[])
-   Sets the texture coordinates associated with the vertices starting at
 the specified index for this object.
  
-   setTextureCoordinates(int, Point2f[]) setTextureCoordinates(int, Point2f[])
-   Sets the texture coordinates associated with the vertices starting at
 the specified index for this object.
  
-   setTextureCoordinates(int, Point3f[]) setTextureCoordinates(int, Point3f[])
-   Sets the texture coordinates associated with the vertices starting at
 the specified index for this object.
   
 ALLOW_COORDINATE_READ
ALLOW_COORDINATE_READ
 public static final int ALLOW_COORDINATE_READ
  -  Specifies that this GeometryArray allows reading the array of
 coordinates.
 
 ALLOW_COORDINATE_WRITE
ALLOW_COORDINATE_WRITE
 public static final int ALLOW_COORDINATE_WRITE
  -  Specifies that this GeometryArray allows writing the array of
 coordinates.
 
 ALLOW_COLOR_READ
ALLOW_COLOR_READ
 public static final int ALLOW_COLOR_READ
  -  Specifies that this GeometryArray allows reading the array of
 colors.
 
 ALLOW_COLOR_WRITE
ALLOW_COLOR_WRITE
 public static final int ALLOW_COLOR_WRITE
  -  Specifies that this GeometryArray allows writing the array of
 colors.
 
 ALLOW_NORMAL_READ
ALLOW_NORMAL_READ
 public static final int ALLOW_NORMAL_READ
  -  Specifies that this GeometryArray allows reading the array of
 normals.
 
 ALLOW_NORMAL_WRITE
ALLOW_NORMAL_WRITE
 public static final int ALLOW_NORMAL_WRITE
  -  Specifies that this GeometryArray allows writing the array of
 normals.
 
 ALLOW_TEXCOORD_READ
ALLOW_TEXCOORD_READ
 public static final int ALLOW_TEXCOORD_READ
  -  Specifies that this GeometryArray allows reading the array of
 texture coordinates.
 
 ALLOW_TEXCOORD_WRITE
ALLOW_TEXCOORD_WRITE
 public static final int ALLOW_TEXCOORD_WRITE
  -  Specifies that this GeometryArray allows writing the array of
 texture coordinates.
 
 COORDINATES
COORDINATES
 public static final int COORDINATES
  -  Specifies that this GeometryArray contains an array of coordinates.
 This bit must be set.
 
 NORMALS
NORMALS
 public static final int NORMALS
  -  Specifies that this GeometryArray contains an array of normals.
 
 COLOR_3
COLOR_3
 public static final int COLOR_3
  -  Specifies that this GeometryArray contains an array of colors without alpha.
 
 COLOR_4
COLOR_4
 public static final int COLOR_4
  -  Specifies that this GeometryArray contains an array of colors with alpha.
 This takes precedence over COLOR_3.
 
 TEXTURE_COORDINATE_2
TEXTURE_COORDINATE_2
 public static final int TEXTURE_COORDINATE_2
  -  Specifies that this GeometryArray contains an array of texture coordinates.
 
 TEXTURE_COORDINATE_3
TEXTURE_COORDINATE_3
 public static final int TEXTURE_COORDINATE_3
  -  Specifies that this GeometryArray contains an array of texture coordinates.
 This takes precedence over TEXTURE_COORDINATE_2.
 
   
 GeometryArray
GeometryArray
 public GeometryArray(int vertexCount,
                      int vertexFormat)
  -  Constructs an empty GeometryArray object with the specified
 number of vertices, and vertex format.
   
- 
    -  Parameters:
    
-  vertexCount - the number of vertex elements in this GeometryArray
    -  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); one of 
 TEXTURE_COORDINATE_2 or TEXTURE_COORDINATE_3, to signal the
 inclusion of per-vertex texture coordinates 2D or 3D;
    
-  Throws: IllegalArgumentException
    
-  if vertexFormat does NOT include
 coordinates
  
 
   
 getVertexCount
getVertexCount
 public final int getVertexCount()
  -  Gets the number of vertices in the GeometryArray
   
- 
    -  Returns:
    
-  vertexCount number of vertices in this GeometryArray
  
 
 getVertexFormat
getVertexFormat
 public final int getVertexFormat()
  -  Gets the vertexFormat in the GeometryArray
   
- 
    -  Returns:
    
-  vertexFormat format of vertices in this GeometryArray
  
 
 setCoordinate
setCoordinate
 public final void setCoordinate(int index,
                                 float coordinate[])
  -  Sets the coordinate associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  coordinate - an array of 3 values containing the new coordinate
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 setCoordinate
setCoordinate
 public final void setCoordinate(int index,
                                 double coordinate[])
  -  Sets the coordinate associated with the vertex at
 the specified index.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  coordinate - an array of 3 values containing the new coordinate
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 setCoordinate
setCoordinate
 public final void setCoordinate(int index,
                                 Point3f coordinate)
  -  Sets the coordinate associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  coordinate - a vector containing the new coordinate
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 setCoordinate
setCoordinate
 public final void setCoordinate(int index,
                                 Point3d coordinate)
  -  Sets the coordinate associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  coordinate - a vector containing the new coordinate
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 setCoordinates
setCoordinates
 public final void setCoordinates(int index,
                                  float coordinates[])
  -  Sets the coordinates associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  coordinates - an array of 3*n values containing n new coordinates
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 setCoordinates
setCoordinates
 public final void setCoordinates(int index,
                                  double coordinates[])
  -  Sets the coordinates associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  coordinates - an array of 3*n values containing n new coordinates
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 setCoordinates
setCoordinates
 public final void setCoordinates(int index,
                                  Point3f coordinates[])
  -  Sets the coordinates associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  coordinates - an array of vectors containing new coordinates
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 setCoordinates
setCoordinates
 public final void setCoordinates(int index,
                                  Point3d coordinates[])
  -  Sets the coordinates associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  coordinates - an array of vectors containing new coordinates
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 setColor
setColor
 public final void setColor(int index,
                            float color[])
  -  Sets the color associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  color - an array of 3 or 4 values containing the new color
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
    
-  Throws: ArrayIndexOutOfBoundsException
    
-  if COLOR bit NOT set in
 constructor 'vertexFormat' or array index for element is out of bounds.
  
 
 setColor
setColor
 public final void setColor(int index,
                            byte color[])
  -  Sets the color associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  color - an array of 3 or 4 values containing the new color
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
    
-  Throws: ArrayIndexOutOfBoundsException
    
-  if COLOR bit NOT set in
 constructor 'vertexFormat' or array index for element is out of bounds.
  
 
 setColor
setColor
 public final void setColor(int index,
                            Color3f color)
  -  Sets the color associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  color - a vector containing the new color
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
    
-  Throws: ArrayIndexOutOfBoundsException
    
-  if COLOR bit NOT set in
 constructor 'vertexFormat' or array index for element is out of bounds.
  
 
 setColor
setColor
 public final void setColor(int index,
                            Color4f color)
  -  Sets the color associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  color - a vector containing the new color
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
    
-  Throws: ArrayIndexOutOfBoundsException
    
-  if COLOR bit NOT set in
 constructor 'vertexFormat' or array index for element is out of bounds.
  
 
 setColor
setColor
 public final void setColor(int index,
                            Color3b color)
  -  Sets the color associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  color - a vector containing the new color
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
    
-  Throws: ArrayIndexOutOfBoundsException
    
-  if COLOR bit NOT set in
 constructor 'vertexFormat' or array index for element is out of bounds.
  
 
 setColor
setColor
 public final void setColor(int index,
                            Color4b color)
  -  Sets the color associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  color - a vector containing the new color
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
    
-  Throws: ArrayIndexOutOfBoundsException
    
-  if COLOR bit NOT set in
 constructor 'vertexFormat' or array index for element is out of bounds.
  
 
 setColors
setColors
 public final void setColors(int index,
                             float colors[])
  -  Sets the colors associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  colors - an array of 3*n or 4*n values containing n new colors
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
    
-  Throws: ArrayIndexOutOfBoundsException
    
-  if COLOR bit NOT set in
 constructor 'vertexFormat' or array index for element is out of bounds.
  
 
 setColors
setColors
 public final void setColors(int index,
                             byte colors[])
  -  Sets the colors associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  colors - an array of 3*n or 4*n values containing n new colors
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
    
-  Throws: ArrayIndexOutOfBoundsException
    
-  if COLOR bit NOT set in
 constructor 'vertexFormat' or array index for element is out of bounds.
  
 
 setColors
setColors
 public final void setColors(int index,
                             Color3f colors[])
  -  Sets the colors associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  colors - an array of vectors containing new colors
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
    
-  Throws: ArrayIndexOutOfBoundsException
    
-  if COLOR bit NOT set in
 constructor 'vertexFormat' or array index for element is out of bounds.
  
 
 setColors
setColors
 public final void setColors(int index,
                             Color4f colors[])
  -  Sets the colors associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  colors - an array of vectors containing new colors
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
    
-  Throws: ArrayIndexOutOfBoundsException
    
-  if COLOR bit NOT set in
 constructor 'vertexFormat' or array index for element is out of bounds.
  
 
 setColors
setColors
 public final void setColors(int index,
                             Color3b colors[])
  -  Sets the colors associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  colors - an array of vectors containing new colors
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
    
-  Throws: ArrayIndexOutOfBoundsException
    
-  if COLOR bit NOT set in
 constructor 'vertexFormat' or array index for element is out of bounds.
  
 
 setColors
setColors
 public final void setColors(int index,
                             Color4b colors[])
  -  Sets the colors associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  colors - an array of vectors containing new colors
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
    
-  Throws: ArrayIndexOutOfBoundsException
    
-  if COLOR bit NOT set in
 constructor 'vertexFormat' or array index for element is out of bounds.
  
 
 setNormal
setNormal
 public final void setNormal(int index,
                             float normal[])
  -  Sets the normal associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  normal - the new normal
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
    
-  Throws: ArrayIndexOutOfBoundsException
    
-  if NORMALS bit NOT set in
 constructor 'vertexFormat' or array index for element is out of bounds.
  
 
 setNormal
setNormal
 public final void setNormal(int index,
                             Vector3f normal)
  -  Sets the normal associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  normal - the vector containing the new normal
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
    
-  Throws: ArrayIndexOutOfBoundsException
    
-  if NORMALS bit NOT set in
 constructor 'vertexFormat' or array index for element is out of bounds.
  
 
 setNormals
setNormals
 public final void setNormals(int index,
                              float normals[])
  -  Sets the normals associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  normals - the new normals
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
    
-  Throws: ArrayIndexOutOfBoundsException
    
-  if NORMALS bit NOT set in
 constructor 'vertexFormat' or array index for element is out of bounds.
  
 
 setNormals
setNormals
 public final void setNormals(int index,
                              Vector3f normals[])
  -  Sets the normals associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  normals - the vector containing the new normals
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
    
-  Throws: ArrayIndexOutOfBoundsException
    
-  if NORMALS bit NOT set in
 constructor 'vertexFormat' or array index for element is out of bounds.
  
 
 setTextureCoordinate
setTextureCoordinate
 public final void setTextureCoordinate(int index,
                                        float texCoord[])
  -  Sets the texture coordinate associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  texCoord - the new texture coordinate
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
    
-  Throws: ArrayIndexOutOfBoundsException
    
-  if TEXTURE bit NOT set in
 constructor 'vertexFormat' or array index for element is out of bounds.
  
 
 setTextureCoordinate
setTextureCoordinate
 public final void setTextureCoordinate(int index,
                                        Point2f texCoord)
  -  Sets the texture coordinate associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  texCoord - the vector containing the new texture coordinates
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
    
-  Throws: ArrayIndexOutOfBoundsException
    
-  if TEXTURE bit NOT set in
 constructor 'vertexFormat' or array index for element is out of bounds.
  
 
 setTextureCoordinate
setTextureCoordinate
 public final void setTextureCoordinate(int index,
                                        Point3f texCoord)
  -  Sets the texture coordinate associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  texCoord - the vector containing the new texture coordinates
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
    
-  Throws: ArrayIndexOutOfBoundsException
    
-  if TEXTURE bit NOT set in
 constructor 'vertexFormat' or array index for element is out of bounds.
  
 
 setTextureCoordinates
setTextureCoordinates
 public final void setTextureCoordinates(int index,
                                         float texCoords[])
  -  Sets the texture coordinates associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  texCoords - the new texture coordinates
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
    
-  Throws: ArrayIndexOutOfBoundsException
    
-  if TEXTURE bit NOT set in
 constructor 'vertexFormat' or array index for element is out of bounds.
  
 
 setTextureCoordinates
setTextureCoordinates
 public final void setTextureCoordinates(int index,
                                         Point2f texCoords[])
  -  Sets the texture coordinates associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  texCoords - the vector containing the new texture coordinates
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
    
-  Throws: ArrayIndexOutOfBoundsException
    
-  if TEXTURE bit NOT set in
 constructor 'vertexFormat' or array index for element is out of bounds.
  
 
 setTextureCoordinates
setTextureCoordinates
 public final void setTextureCoordinates(int index,
                                         Point3f texCoords[])
  -  Sets the texture coordinates associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  texCoords - the vector containing the new texture coordinates
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
    
-  Throws: ArrayIndexOutOfBoundsException
    
-  if TEXTURE bit NOT set in
 constructor 'vertexFormat' or array index for element is out of bounds.
  
 
 getCoordinate
getCoordinate
 public final void getCoordinate(int index,
                                 float coordinate[])
  -  Gets the coordinate associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  coordinate - an array of 3 values that will receive the coordinate
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getCoordinate
getCoordinate
 public final void getCoordinate(int index,
                                 double coordinate[])
  -  Gets the coordinate associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  coordinate - an array of 3 values that will receive the coordinate
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getCoordinate
getCoordinate
 public final void getCoordinate(int index,
                                 Point3f coordinate)
  -  Gets the coordinate associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  coordinate - a vector that will receive the coordinate
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getCoordinate
getCoordinate
 public final void getCoordinate(int index,
                                 Point3d coordinate)
  -  Gets the coordinate associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  coordinate - a vector that will receive the coordinate
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getCoordinates
getCoordinates
 public final void getCoordinates(int index,
                                  float coordinates[])
  -  Gets the coordinates associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  coordinates - an array of 3*n values that will receive new coordinates
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getCoordinates
getCoordinates
 public final void getCoordinates(int index,
                                  double coordinates[])
  -  Gets the coordinates associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  coordinates - an array of 3*n values that will receive new coordinates
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getCoordinates
getCoordinates
 public final void getCoordinates(int index,
                                  Point3f coordinates[])
  -  Gets the coordinates associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  coordinates - an array of vectors that will receive new coordinates
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getCoordinates
getCoordinates
 public final void getCoordinates(int index,
                                  Point3d coordinates[])
  -  Gets the coordinates associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  coordinates - an array of vectors that will receive new coordinates
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getColor
getColor
 public final void getColor(int index,
                            float color[])
  -  Gets the color associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  color - an array of 3 or 4 values that will receive the color
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getColor
getColor
 public final void getColor(int index,
                            byte color[])
  -  Gets the color associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  color - an array of 3 or 4 values that will receive the color
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getColor
getColor
 public final void getColor(int index,
                            Color3f color)
  -  Gets the color associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  color - a vector that will receive the color
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getColor
getColor
 public final void getColor(int index,
                            Color4f color)
  -  Gets the color associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  color - a vector that will receive the color
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getColor
getColor
 public final void getColor(int index,
                            Color3b color)
  -  Gets the color associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  color - a vector that will receive the color
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getColor
getColor
 public final void getColor(int index,
                            Color4b color)
  -  Gets the color associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  color - a vector that will receive the color
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getColors
getColors
 public final void getColors(int index,
                             float colors[])
  -  Gets the colors associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  colors - an array of 3*n or 4*n values that will receive n new colors
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getColors
getColors
 public final void getColors(int index,
                             byte colors[])
  -  Gets the colors associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  colors - an array of 3*n or 4*n values that will receive new colors
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getColors
getColors
 public final void getColors(int index,
                             Color3f colors[])
  -  Gets the colors associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  colors - an array of vectors that will receive new colors
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getColors
getColors
 public final void getColors(int index,
                             Color4f colors[])
  -  Gets the colors associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  colors - an array of vectors that will receive new colors
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getColors
getColors
 public final void getColors(int index,
                             Color3b colors[])
  -  Gets the colors associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  colors - an array of vectors that will receive new colors
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getColors
getColors
 public final void getColors(int index,
                             Color4b colors[])
  -  Gets the colors associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  colors - an array of vectors that will receive new colors
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getNormal
getNormal
 public final void getNormal(int index,
                             float normal[])
  -  Gets the normal associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  normal - array that will receive the normal
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getNormal
getNormal
 public final void getNormal(int index,
                             Vector3f normal)
  -  Gets the normal associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  normal - the vector that will receive the normal
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getNormals
getNormals
 public final void getNormals(int index,
                              float normals[])
  -  Gets the normals associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  normals - array that will receive the normals
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getNormals
getNormals
 public final void getNormals(int index,
                              Vector3f normals[])
  -  Gets the normals associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  normals - the vector that will receive the normals
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getTextureCoordinate
getTextureCoordinate
 public final void getTextureCoordinate(int index,
                                        float texCoord[])
  -  Gets the texture coordinate associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  texCoord - array that will receive the texture coordinate
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getTextureCoordinate
getTextureCoordinate
 public final void getTextureCoordinate(int index,
                                        Point2f texCoord)
  -  Gets the texture coordinate associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  texCoord - the vector that will receive the texture coordinates
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getTextureCoordinate
getTextureCoordinate
 public final void getTextureCoordinate(int index,
                                        Point3f texCoord)
  -  Gets the texture coordinate associated with the vertex at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  texCoord - the vector that will receive the texture coordinates
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getTextureCoordinates
getTextureCoordinates
 public final void getTextureCoordinates(int index,
                                         float texCoords[])
  -  Gets the texture coordinates associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  texCoords - array that will receive the texture coordinates
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getTextureCoordinates
getTextureCoordinates
 public final void getTextureCoordinates(int index,
                                         Point2f texCoords[])
  -  Gets the texture coordinates associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  texCoords - the vector that will receive the texture coordinates
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
 getTextureCoordinates
getTextureCoordinates
 public final void getTextureCoordinates(int index,
                                         Point3f texCoords[])
  -  Gets the texture coordinates associated with the vertices starting at
 the specified index for this object.
   
- 
    -  Parameters:
    
-  index - the vertex index
    -  texCoords - the vector that will receive the texture coordinates
    
-  Throws: CapabilityNotSetException
    
-  if appropriate capability is
 not set and this object is part of live or compiled scene graph
  
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index