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.)


Variable Index

 o ALLOW_COLOR_READ
Specifies that this GeometryArray allows reading the array of colors.
 o ALLOW_COLOR_WRITE
Specifies that this GeometryArray allows writing the array of colors.
 o ALLOW_COORDINATE_READ
Specifies that this GeometryArray allows reading the array of coordinates.
 o ALLOW_COORDINATE_WRITE
Specifies that this GeometryArray allows writing the array of coordinates.
 o ALLOW_NORMAL_READ
Specifies that this GeometryArray allows reading the array of normals.
 o ALLOW_NORMAL_WRITE
Specifies that this GeometryArray allows writing the array of normals.
 o ALLOW_TEXCOORD_READ
Specifies that this GeometryArray allows reading the array of texture coordinates.
 o ALLOW_TEXCOORD_WRITE
Specifies that this GeometryArray allows writing the array of texture coordinates.
 o COLOR_3
Specifies that this GeometryArray contains an array of colors without alpha.
 o COLOR_4
Specifies that this GeometryArray contains an array of colors with alpha.
 o COORDINATES
Specifies that this GeometryArray contains an array of coordinates.
 o NORMALS
Specifies that this GeometryArray contains an array of normals.
 o TEXTURE_COORDINATE_2
Specifies that this GeometryArray contains an array of texture coordinates.
 o TEXTURE_COORDINATE_3
Specifies that this GeometryArray contains an array of texture coordinates.

Constructor Index

 o GeometryArray(int, int)
Constructs an empty GeometryArray object with the specified number of vertices, and vertex format.

Method Index

 o getColor(int, byte[])
Gets the color associated with the vertex at the specified index for this object.
 o getColor(int, Color3b)
Gets the color associated with the vertex at the specified index for this object.
 o getColor(int, Color3f)
Gets the color associated with the vertex at the specified index for this object.
 o getColor(int, Color4b)
Gets the color associated with the vertex at the specified index for this object.
 o getColor(int, Color4f)
Gets the color associated with the vertex at the specified index for this object.
 o getColor(int, float[])
Gets the color associated with the vertex at the specified index for this object.
 o getColors(int, byte[])
Gets the colors associated with the vertices starting at the specified index for this object.
 o getColors(int, Color3b[])
Gets the colors associated with the vertices starting at the specified index for this object.
 o getColors(int, Color3f[])
Gets the colors associated with the vertices starting at the specified index for this object.
 o getColors(int, Color4b[])
Gets the colors associated with the vertices starting at the specified index for this object.
 o getColors(int, Color4f[])
Gets the colors associated with the vertices starting at the specified index for this object.
 o getColors(int, float[])
Gets the colors associated with the vertices starting at the specified index for this object.
 o getCoordinate(int, double[])
Gets the coordinate associated with the vertex at the specified index for this object.
 o getCoordinate(int, float[])
Gets the coordinate associated with the vertex at the specified index for this object.
 o getCoordinate(int, Point3d)
Gets the coordinate associated with the vertex at the specified index for this object.
 o getCoordinate(int, Point3f)
Gets the coordinate associated with the vertex at the specified index for this object.
 o getCoordinates(int, double[])
Gets the coordinates associated with the vertices starting at the specified index for this object.
 o getCoordinates(int, float[])
Gets the coordinates associated with the vertices starting at the specified index for this object.
 o getCoordinates(int, Point3d[])
Gets the coordinates associated with the vertices starting at the specified index for this object.
 o getCoordinates(int, Point3f[])
Gets the coordinates associated with the vertices starting at the specified index for this object.
 o getNormal(int, float[])
Gets the normal associated with the vertex at the specified index for this object.
 o getNormal(int, Vector3f)
Gets the normal associated with the vertex at the specified index for this object.
 o getNormals(int, float[])
Gets the normals associated with the vertices starting at the specified index for this object.
 o getNormals(int, Vector3f[])
Gets the normals associated with the vertices starting at the specified index for this object.
 o getTextureCoordinate(int, float[])
Gets the texture coordinate associated with the vertex at the specified index for this object.
 o getTextureCoordinate(int, Point2f)
Gets the texture coordinate associated with the vertex at the specified index for this object.
 o getTextureCoordinate(int, Point3f)
Gets the texture coordinate associated with the vertex at the specified index for this object.
 o getTextureCoordinates(int, float[])
Gets the texture coordinates associated with the vertices starting at the specified index for this object.
 o getTextureCoordinates(int, Point2f[])
Gets the texture coordinates associated with the vertices starting at the specified index for this object.
 o getTextureCoordinates(int, Point3f[])
Gets the texture coordinates associated with the vertices starting at the specified index for this object.
 o getVertexCount()
Gets the number of vertices in the GeometryArray
 o getVertexFormat()
Gets the vertexFormat in the GeometryArray
 o setColor(int, byte[])
Sets the color associated with the vertex at the specified index for this object.
 o setColor(int, Color3b)
Sets the color associated with the vertex at the specified index for this object.
 o setColor(int, Color3f)
Sets the color associated with the vertex at the specified index for this object.
 o setColor(int, Color4b)
Sets the color associated with the vertex at the specified index for this object.
 o setColor(int, Color4f)
Sets the color associated with the vertex at the specified index for this object.
 o setColor(int, float[])
Sets the color associated with the vertex at the specified index for this object.
 o setColors(int, byte[])
Sets the colors associated with the vertices starting at the specified index for this object.
 o setColors(int, Color3b[])
Sets the colors associated with the vertices starting at the specified index for this object.
 o setColors(int, Color3f[])
Sets the colors associated with the vertices starting at the specified index for this object.
 o setColors(int, Color4b[])
Sets the colors associated with the vertices starting at the specified index for this object.
 o setColors(int, Color4f[])
Sets the colors associated with the vertices starting at the specified index for this object.
 o setColors(int, float[])
Sets the colors associated with the vertices starting at the specified index for this object.
 o setCoordinate(int, double[])
Sets the coordinate associated with the vertex at the specified index.
 o setCoordinate(int, float[])
Sets the coordinate associated with the vertex at the specified index for this object.
 o setCoordinate(int, Point3d)
Sets the coordinate associated with the vertex at the specified index for this object.
 o setCoordinate(int, Point3f)
Sets the coordinate associated with the vertex at the specified index for this object.
 o setCoordinates(int, double[])
Sets the coordinates associated with the vertices starting at the specified index for this object.
 o setCoordinates(int, float[])
Sets the coordinates associated with the vertices starting at the specified index for this object.
 o setCoordinates(int, Point3d[])
Sets the coordinates associated with the vertices starting at the specified index for this object.
 o setCoordinates(int, Point3f[])
Sets the coordinates associated with the vertices starting at the specified index for this object.
 o setNormal(int, float[])
Sets the normal associated with the vertex at the specified index for this object.
 o setNormal(int, Vector3f)
Sets the normal associated with the vertex at the specified index for this object.
 o setNormals(int, float[])
Sets the normals associated with the vertices starting at the specified index for this object.
 o setNormals(int, Vector3f[])
Sets the normals associated with the vertices starting at the specified index for this object.
 o setTextureCoordinate(int, float[])
Sets the texture coordinate associated with the vertex at the specified index for this object.
 o setTextureCoordinate(int, Point2f)
Sets the texture coordinate associated with the vertex at the specified index for this object.
 o setTextureCoordinate(int, Point3f)
Sets the texture coordinate associated with the vertex at the specified index for this object.
 o setTextureCoordinates(int, float[])
Sets the texture coordinates associated with the vertices starting at the specified index for this object.
 o setTextureCoordinates(int, Point2f[])
Sets the texture coordinates associated with the vertices starting at the specified index for this object.
 o setTextureCoordinates(int, Point3f[])
Sets the texture coordinates associated with the vertices starting at the specified index for this object.

Variables

 o ALLOW_COORDINATE_READ
 public static final int ALLOW_COORDINATE_READ
Specifies that this GeometryArray allows reading the array of coordinates.

 o ALLOW_COORDINATE_WRITE
 public static final int ALLOW_COORDINATE_WRITE
Specifies that this GeometryArray allows writing the array of coordinates.

 o ALLOW_COLOR_READ
 public static final int ALLOW_COLOR_READ
Specifies that this GeometryArray allows reading the array of colors.

 o ALLOW_COLOR_WRITE
 public static final int ALLOW_COLOR_WRITE
Specifies that this GeometryArray allows writing the array of colors.

 o ALLOW_NORMAL_READ
 public static final int ALLOW_NORMAL_READ
Specifies that this GeometryArray allows reading the array of normals.

 o ALLOW_NORMAL_WRITE
 public static final int ALLOW_NORMAL_WRITE
Specifies that this GeometryArray allows writing the array of normals.

 o ALLOW_TEXCOORD_READ
 public static final int ALLOW_TEXCOORD_READ
Specifies that this GeometryArray allows reading the array of texture coordinates.

 o ALLOW_TEXCOORD_WRITE
 public static final int ALLOW_TEXCOORD_WRITE
Specifies that this GeometryArray allows writing the array of texture coordinates.

 o COORDINATES
 public static final int COORDINATES
Specifies that this GeometryArray contains an array of coordinates. This bit must be set.

 o NORMALS
 public static final int NORMALS
Specifies that this GeometryArray contains an array of normals.

 o COLOR_3
 public static final int COLOR_3
Specifies that this GeometryArray contains an array of colors without alpha.

 o 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.

 o TEXTURE_COORDINATE_2
 public static final int TEXTURE_COORDINATE_2
Specifies that this GeometryArray contains an array of texture coordinates.

 o 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.

Constructors

 o 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

Methods

 o getVertexCount
 public final int getVertexCount()
Gets the number of vertices in the GeometryArray

Returns:
vertexCount number of vertices in this GeometryArray
 o getVertexFormat
 public final int getVertexFormat()
Gets the vertexFormat in the GeometryArray

Returns:
vertexFormat format of vertices in this GeometryArray
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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