| java.lang.Object javax.media.j3d.SceneGraphObject javax.media.j3d.NodeComponent javax.media.j3d.Geometry javax.media.j3d.GeometryArray javax.media.j3d.GeometryStripArray javax.media.j3d.TriangleFanArray
All known Subclasses: org.jdesktop.j3d.examples.picking.OctahedronTFA,
TriangleFanArray | public class TriangleFanArray extends GeometryStripArray (Code) | | The TriangleFanArray object draws an array of vertices as a set of
connected triangle fans. An array of per-strip
vertex counts specifies where the separate strips (fans) appear
in the vertex array. For every strip in the set,
each vertex, beginning with the third vertex in the array,
defines a triangle to be drawn using the current vertex,
the previous vertex and the first vertex. This can be thought of
as a collection of convex polygons.
|
Constructor Summary | |
| TriangleFanArray() | public | TriangleFanArray(int vertexCount, int vertexFormat, int stripVertexCounts) Constructs an empty TriangleFanArray object using the
specified parameters. | public | TriangleFanArray(int vertexCount, int vertexFormat, int texCoordSetCount, int[] texCoordSetMap, int stripVertexCounts) Constructs an empty TriangleFanArray object using the
specified parameters. | public | TriangleFanArray(int vertexCount, int vertexFormat, int texCoordSetCount, int[] texCoordSetMap, int vertexAttrCount, int[] vertexAttrSizes, int[] stripVertexCounts) Constructs an empty TriangleFanArray object using the
specified parameters. |
TriangleFanArray | TriangleFanArray()(Code) | | |
createRetained | void createRetained()(Code) | | Creates the retained mode TriangleFanArrayRetained object that this
TriangleFanArray object will point to.
|
Methods inherited from javax.media.j3d.GeometryArray | void duplicateAttributes(NodeComponent originalNodeComponent, boolean forceDuplicate)(Code)(Java Doc) public void getColor(int index, float color)(Code)(Java Doc) public void getColor(int index, byte color)(Code)(Java Doc) public void getColor(int index, Color3f color)(Code)(Java Doc) public void getColor(int index, Color4f color)(Code)(Java Doc) public void getColor(int index, Color3b color)(Code)(Java Doc) public void getColor(int index, Color4b color)(Code)(Java Doc) public Color3b[] getColorRef3b()(Code)(Java Doc) public Color3f[] getColorRef3f()(Code)(Java Doc) public Color4b[] getColorRef4b()(Code)(Java Doc) public Color4f[] getColorRef4f()(Code)(Java Doc) public J3DBuffer getColorRefBuffer()(Code)(Java Doc) public byte[] getColorRefByte()(Code)(Java Doc) public float[] getColorRefFloat()(Code)(Java Doc) public void getColors(int index, float colors)(Code)(Java Doc) public void getColors(int index, byte colors)(Code)(Java Doc) public void getColors(int index, Color3f colors)(Code)(Java Doc) public void getColors(int index, Color4f colors)(Code)(Java Doc) public void getColors(int index, Color3b colors)(Code)(Java Doc) public void getColors(int index, Color4b colors)(Code)(Java Doc) public Point3d[] getCoordRef3d()(Code)(Java Doc) public Point3f[] getCoordRef3f()(Code)(Java Doc) public J3DBuffer getCoordRefBuffer()(Code)(Java Doc) public double[] getCoordRefDouble()(Code)(Java Doc) public float[] getCoordRefFloat()(Code)(Java Doc) public void getCoordinate(int index, float coordinate)(Code)(Java Doc) public void getCoordinate(int index, double coordinate)(Code)(Java Doc) public void getCoordinate(int index, Point3f coordinate)(Code)(Java Doc) public void getCoordinate(int index, Point3d coordinate)(Code)(Java Doc) public void getCoordinates(int index, float coordinates)(Code)(Java Doc) public void getCoordinates(int index, double coordinates)(Code)(Java Doc) public void getCoordinates(int index, Point3f coordinates)(Code)(Java Doc) public void getCoordinates(int index, Point3d coordinates)(Code)(Java Doc) public int getInitialColorIndex()(Code)(Java Doc) public int getInitialCoordIndex()(Code)(Java Doc) public int getInitialNormalIndex()(Code)(Java Doc) public int getInitialTexCoordIndex(int texCoordSet)(Code)(Java Doc) public int getInitialVertexAttrIndex(int vertexAttrNum)(Code)(Java Doc) public int getInitialVertexIndex()(Code)(Java Doc) public J3DBuffer getInterleavedVertexBuffer()(Code)(Java Doc) public float[] getInterleavedVertices()(Code)(Java Doc) public void getNormal(int index, float normal)(Code)(Java Doc) public void getNormal(int index, Vector3f normal)(Code)(Java Doc) public Vector3f[] getNormalRef3f()(Code)(Java Doc) public J3DBuffer getNormalRefBuffer()(Code)(Java Doc) public float[] getNormalRefFloat()(Code)(Java Doc) public void getNormals(int index, float normals)(Code)(Java Doc) public void getNormals(int index, Vector3f normals)(Code)(Java Doc) public TexCoord2f[] getTexCoordRef2f(int texCoordSet)(Code)(Java Doc) public TexCoord3f[] getTexCoordRef3f(int texCoordSet)(Code)(Java Doc) public J3DBuffer getTexCoordRefBuffer(int texCoordSet)(Code)(Java Doc) public float[] getTexCoordRefFloat(int texCoordSet)(Code)(Java Doc) public int getTexCoordSetCount()(Code)(Java Doc) public void getTexCoordSetMap(int[] texCoordSetMap)(Code)(Java Doc) public int getTexCoordSetMapLength()(Code)(Java Doc) public void getTextureCoordinate(int index, float texCoord)(Code)(Java Doc) public void getTextureCoordinate(int texCoordSet, int index, float texCoord)(Code)(Java Doc) public void getTextureCoordinate(int index, Point2f texCoord)(Code)(Java Doc) public void getTextureCoordinate(int texCoordSet, int index, TexCoord2f texCoord)(Code)(Java Doc) public void getTextureCoordinate(int index, Point3f texCoord)(Code)(Java Doc) public void getTextureCoordinate(int texCoordSet, int index, TexCoord3f texCoord)(Code)(Java Doc) public void getTextureCoordinate(int texCoordSet, int index, TexCoord4f texCoord)(Code)(Java Doc) public void getTextureCoordinates(int index, float texCoords)(Code)(Java Doc) public void getTextureCoordinates(int texCoordSet, int index, float texCoords)(Code)(Java Doc) public void getTextureCoordinates(int index, Point2f texCoords)(Code)(Java Doc) public void getTextureCoordinates(int texCoordSet, int index, TexCoord2f texCoords)(Code)(Java Doc) public void getTextureCoordinates(int index, Point3f texCoords)(Code)(Java Doc) public void getTextureCoordinates(int texCoordSet, int index, TexCoord3f texCoords)(Code)(Java Doc) public void getTextureCoordinates(int texCoordSet, int index, TexCoord4f texCoords)(Code)(Java Doc) public int getValidVertexCount()(Code)(Java Doc) public void getVertexAttr(int vertexAttrNum, int index, float[] vertexAttr)(Code)(Java Doc) public void getVertexAttr(int vertexAttrNum, int index, Point2f vertexAttr)(Code)(Java Doc) public void getVertexAttr(int vertexAttrNum, int index, Point3f vertexAttr)(Code)(Java Doc) public void getVertexAttr(int vertexAttrNum, int index, Point4f vertexAttr)(Code)(Java Doc) public int getVertexAttrCount()(Code)(Java Doc) public J3DBuffer getVertexAttrRefBuffer(int vertexAttrNum)(Code)(Java Doc) public float[] getVertexAttrRefFloat(int vertexAttrNum)(Code)(Java Doc) public void getVertexAttrSizes(int[] vertexAttrSizes)(Code)(Java Doc) public void getVertexAttrs(int vertexAttrNum, int index, float[] vertexAttrs)(Code)(Java Doc) public void getVertexAttrs(int vertexAttrNum, int index, Point2f[] vertexAttrs)(Code)(Java Doc) public void getVertexAttrs(int vertexAttrNum, int index, Point3f[] vertexAttrs)(Code)(Java Doc) public void getVertexAttrs(int vertexAttrNum, int index, Point4f[] vertexAttrs)(Code)(Java Doc) public int getVertexCount()(Code)(Java Doc) public int getVertexFormat()(Code)(Java Doc) public void setColor(int index, float color)(Code)(Java Doc) public void setColor(int index, byte color)(Code)(Java Doc) public void setColor(int index, Color3f color)(Code)(Java Doc) public void setColor(int index, Color4f color)(Code)(Java Doc) public void setColor(int index, Color3b color)(Code)(Java Doc) public void setColor(int index, Color4b color)(Code)(Java Doc) public void setColorRef3b(Color3b[] colors)(Code)(Java Doc) public void setColorRef3f(Color3f[] colors)(Code)(Java Doc) public void setColorRef4b(Color4b[] colors)(Code)(Java Doc) public void setColorRef4f(Color4f[] colors)(Code)(Java Doc) public void setColorRefBuffer(J3DBuffer colors)(Code)(Java Doc) public void setColorRefByte(byte[] colors)(Code)(Java Doc) public void setColorRefFloat(float[] colors)(Code)(Java Doc) public void setColors(int index, float colors)(Code)(Java Doc) public void setColors(int index, byte colors)(Code)(Java Doc) public void setColors(int index, Color3f colors)(Code)(Java Doc) public void setColors(int index, Color4f colors)(Code)(Java Doc) public void setColors(int index, Color3b colors)(Code)(Java Doc) public void setColors(int index, Color4b colors)(Code)(Java Doc) public void setColors(int index, float colors, int start, int length)(Code)(Java Doc) public void setColors(int index, byte colors, int start, int length)(Code)(Java Doc) public void setColors(int index, Color3f colors, int start, int length)(Code)(Java Doc) public void setColors(int index, Color4f colors, int start, int length)(Code)(Java Doc) public void setColors(int index, Color3b colors, int start, int length)(Code)(Java Doc) public void setColors(int index, Color4b colors, int start, int length)(Code)(Java Doc) public void setCoordRef3d(Point3d[] coords)(Code)(Java Doc) public void setCoordRef3f(Point3f[] coords)(Code)(Java Doc) public void setCoordRefBuffer(J3DBuffer coords)(Code)(Java Doc) public void setCoordRefDouble(double[] coords)(Code)(Java Doc) public void setCoordRefFloat(float[] coords)(Code)(Java Doc) public void setCoordinate(int index, float coordinate)(Code)(Java Doc) public void setCoordinate(int index, double coordinate)(Code)(Java Doc) public void setCoordinate(int index, Point3f coordinate)(Code)(Java Doc) public void setCoordinate(int index, Point3d coordinate)(Code)(Java Doc) public void setCoordinates(int index, float coordinates)(Code)(Java Doc) public void setCoordinates(int index, double coordinates)(Code)(Java Doc) public void setCoordinates(int index, Point3f coordinates)(Code)(Java Doc) public void setCoordinates(int index, Point3d coordinates)(Code)(Java Doc) public void setCoordinates(int index, float coordinates, int start, int length)(Code)(Java Doc) public void setCoordinates(int index, double coordinates, int start, int length)(Code)(Java Doc) public void setCoordinates(int index, Point3f coordinates, int start, int length)(Code)(Java Doc) public void setCoordinates(int index, Point3d coordinates, int start, int length)(Code)(Java Doc) public void setInitialColorIndex(int initialColorIndex)(Code)(Java Doc) public void setInitialCoordIndex(int initialCoordIndex)(Code)(Java Doc) public void setInitialNormalIndex(int initialNormalIndex)(Code)(Java Doc) public void setInitialTexCoordIndex(int texCoordSet, int initialTexCoordIndex)(Code)(Java Doc) public void setInitialVertexAttrIndex(int vertexAttrNum, int initialVertexAttrIndex)(Code)(Java Doc) public void setInitialVertexIndex(int initialVertexIndex)(Code)(Java Doc) public void setInterleavedVertexBuffer(J3DBuffer vertexData)(Code)(Java Doc) public void setInterleavedVertices(float[] vertexData)(Code)(Java Doc) public void setNormal(int index, float normal)(Code)(Java Doc) public void setNormal(int index, Vector3f normal)(Code)(Java Doc) public void setNormalRef3f(Vector3f[] normals)(Code)(Java Doc) public void setNormalRefBuffer(J3DBuffer normals)(Code)(Java Doc) public void setNormalRefFloat(float[] normals)(Code)(Java Doc) public void setNormals(int index, float normals)(Code)(Java Doc) public void setNormals(int index, Vector3f normals)(Code)(Java Doc) public void setNormals(int index, float normals, int start, int length)(Code)(Java Doc) public void setNormals(int index, Vector3f normals, int start, int length)(Code)(Java Doc) public void setTexCoordRef2f(int texCoordSet, TexCoord2f[] texCoords)(Code)(Java Doc) public void setTexCoordRef3f(int texCoordSet, TexCoord3f[] texCoords)(Code)(Java Doc) public void setTexCoordRefBuffer(int texCoordSet, J3DBuffer texCoords)(Code)(Java Doc) public void setTexCoordRefFloat(int texCoordSet, float[] texCoords)(Code)(Java Doc) public void setTextureCoordinate(int index, float texCoord)(Code)(Java Doc) public void setTextureCoordinate(int texCoordSet, int index, float texCoord)(Code)(Java Doc) public void setTextureCoordinate(int index, Point2f texCoord)(Code)(Java Doc) public void setTextureCoordinate(int texCoordSet, int index, TexCoord2f texCoord)(Code)(Java Doc) public void setTextureCoordinate(int index, Point3f texCoord)(Code)(Java Doc) public void setTextureCoordinate(int texCoordSet, int index, TexCoord3f texCoord)(Code)(Java Doc) public void setTextureCoordinate(int texCoordSet, int index, TexCoord4f texCoord)(Code)(Java Doc) public void setTextureCoordinates(int index, float texCoords)(Code)(Java Doc) public void setTextureCoordinates(int texCoordSet, int index, float texCoords)(Code)(Java Doc) public void setTextureCoordinates(int index, Point2f texCoords)(Code)(Java Doc) public void setTextureCoordinates(int texCoordSet, int index, TexCoord2f texCoords)(Code)(Java Doc) public void setTextureCoordinates(int index, Point3f texCoords)(Code)(Java Doc) public void setTextureCoordinates(int texCoordSet, int index, TexCoord3f texCoords)(Code)(Java Doc) public void setTextureCoordinates(int texCoordSet, int index, TexCoord4f texCoords)(Code)(Java Doc) public void setTextureCoordinates(int index, float texCoords, int start, int length)(Code)(Java Doc) public void setTextureCoordinates(int texCoordSet, int index, float texCoords, int start, int length)(Code)(Java Doc) public void setTextureCoordinates(int index, Point2f texCoords, int start, int length)(Code)(Java Doc) public void setTextureCoordinates(int texCoordSet, int index, TexCoord2f texCoords, int start, int length)(Code)(Java Doc) public void setTextureCoordinates(int index, Point3f texCoords, int start, int length)(Code)(Java Doc) public void setTextureCoordinates(int texCoordSet, int index, TexCoord3f texCoords, int start, int length)(Code)(Java Doc) public void setTextureCoordinates(int texCoordSet, int index, TexCoord4f texCoords, int start, int length)(Code)(Java Doc) public void setValidVertexCount(int validVertexCount)(Code)(Java Doc) public void setVertexAttr(int vertexAttrNum, int index, float[] vertexAttr)(Code)(Java Doc) public void setVertexAttr(int vertexAttrNum, int index, Point2f vertexAttr)(Code)(Java Doc) public void setVertexAttr(int vertexAttrNum, int index, Point3f vertexAttr)(Code)(Java Doc) public void setVertexAttr(int vertexAttrNum, int index, Point4f vertexAttr)(Code)(Java Doc) public void setVertexAttrRefBuffer(int vertexAttrNum, J3DBuffer vertexAttrs)(Code)(Java Doc) public void setVertexAttrRefFloat(int vertexAttrNum, float[] vertexAttrs)(Code)(Java Doc) public void setVertexAttrs(int vertexAttrNum, int index, float[] vertexAttrs)(Code)(Java Doc) public void setVertexAttrs(int vertexAttrNum, int index, Point2f[] vertexAttrs)(Code)(Java Doc) public void setVertexAttrs(int vertexAttrNum, int index, Point3f[] vertexAttrs)(Code)(Java Doc) public void setVertexAttrs(int vertexAttrNum, int index, Point4f[] vertexAttrs)(Code)(Java Doc) public void setVertexAttrs(int vertexAttrNum, int index, float[] vertexAttrs, int start, int length)(Code)(Java Doc) public void setVertexAttrs(int vertexAttrNum, int index, Point2f[] vertexAttrs, int start, int length)(Code)(Java Doc) public void setVertexAttrs(int vertexAttrNum, int index, Point3f[] vertexAttrs, int start, int length)(Code)(Java Doc) public void setVertexAttrs(int vertexAttrNum, int index, Point4f[] vertexAttrs, int start, int length)(Code)(Java Doc) public void updateData(GeometryUpdater updater)(Code)(Java Doc)
|
Fields inherited from javax.media.j3d.Geometry | final public static int ALLOW_INTERSECT(Code)(Java Doc)
|
Fields inherited from javax.media.j3d.NodeComponent | boolean forceDuplicate(Code)(Java Doc)
|
|
|