|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.media.j3d.SceneGraphObject
javax.media.j3d.NodeComponent
javax.media.j3d.Geometry
javax.media.j3d.GeometryArray
javax.media.j3d.IndexedGeometryArray
javax.media.j3d.IndexedGeometryStripArray
javax.media.j3d.IndexedTriangleFanArray
public class IndexedTriangleFanArray
The IndexedTriangleFanArray object draws an array of vertices as a set of connected triangle fans. An array of per-strip index counts specifies where the separate strips (fans) appear in the indexed 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.
Field Summary |
---|
Fields inherited from class javax.media.j3d.Geometry |
---|
ALLOW_INTERSECT |
Constructor Summary | |
---|---|
IndexedTriangleFanArray(int vertexCount,
int vertexFormat,
int indexCount,
int[] stripIndexCounts)
Constructs an empty IndexedTriangleFanArray object using the specified parameters. |
|
IndexedTriangleFanArray(int vertexCount,
int vertexFormat,
int texCoordSetCount,
int[] texCoordSetMap,
int indexCount,
int[] stripIndexCounts)
Constructs an empty IndexedTriangleFanArray object using the specified parameters. |
|
IndexedTriangleFanArray(int vertexCount,
int vertexFormat,
int texCoordSetCount,
int[] texCoordSetMap,
int vertexAttrCount,
int[] vertexAttrSizes,
int indexCount,
int[] stripIndexCounts)
Constructs an empty IndexedTriangleFanArray object using the specified parameters. |
Method Summary | |
---|---|
NodeComponent |
cloneNodeComponent()
Deprecated. replaced with cloneNodeComponent(boolean forceDuplicate) |
Methods inherited from class javax.media.j3d.IndexedGeometryStripArray |
---|
getNumStrips, getStripIndexCounts, setStripIndexCounts, setValidIndexCount |
Methods inherited from class javax.media.j3d.NodeComponent |
---|
cloneNodeComponent, duplicateNodeComponent, duplicateNodeComponent, getDuplicateOnCloneTree, setDuplicateOnCloneTree |
Methods inherited from class javax.media.j3d.SceneGraphObject |
---|
clearCapability, clearCapabilityIsFrequent, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString, updateNodeReferences |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IndexedTriangleFanArray(int vertexCount, int vertexFormat, int indexCount, int[] stripIndexCounts)
vertexCount
- see GeometryArray.GeometryArray(int,int)
for a description of this parameter.vertexFormat
- see GeometryArray.GeometryArray(int,int)
for a description of this parameter.indexCount
- see IndexedGeometryArray.IndexedGeometryArray(int,int,int)
for a description of this parameter.stripIndexCounts
- see IndexedGeometryStripArray.IndexedGeometryStripArray(int,int,int,int[])
for a description of this parameter.
java.lang.IllegalArgumentException
- if vertexCount is less than 1,
or indexCount is less than 3,
or any element in the stripIndexCounts array is less than 3
;IndexedGeometryStripArray.IndexedGeometryStripArray(int,int,int,int[])
for more exceptions that can be thrownpublic IndexedTriangleFanArray(int vertexCount, int vertexFormat, int texCoordSetCount, int[] texCoordSetMap, int indexCount, int[] stripIndexCounts)
vertexCount
- see GeometryArray.GeometryArray(int,int,int,int[])
for a description of this parameter.vertexFormat
- see GeometryArray.GeometryArray(int,int,int,int[])
for a description of this parameter.texCoordSetCount
- see GeometryArray.GeometryArray(int,int,int,int[])
for a description of this parameter.texCoordSetMap
- see GeometryArray.GeometryArray(int,int,int,int[])
for a description of this parameter.indexCount
- see IndexedGeometryArray.IndexedGeometryArray(int,int,int,int[],int)
for a description of this parameter.stripIndexCounts
- see IndexedGeometryStripArray.IndexedGeometryStripArray(int,int,int,int[],int,int[])
for a description of this parameter.
java.lang.IllegalArgumentException
- if vertexCount is less than 1,
or indexCount is less than 3,
or any element in the stripIndexCounts array is less than 3
;IndexedGeometryStripArray.IndexedGeometryStripArray(int,int,int,int[],int,int[])
for more exceptions that can be thrownpublic IndexedTriangleFanArray(int vertexCount, int vertexFormat, int texCoordSetCount, int[] texCoordSetMap, int vertexAttrCount, int[] vertexAttrSizes, int indexCount, int[] stripIndexCounts)
vertexCount
- see GeometryArray.GeometryArray(int,int,int,int[],int,int[])
for a description of this parameter.vertexFormat
- see GeometryArray.GeometryArray(int,int,int,int[],int,int[])
for a description of this parameter.texCoordSetMap
- see GeometryArray.GeometryArray(int,int,int,int[],int,int[])
for a description of this parameter.vertexAttrCount
- see GeometryArray.GeometryArray(int,int,int,int[],int,int[])
for a description of this parameter.vertexAttrSizes
- see GeometryArray.GeometryArray(int,int,int,int[],int,int[])
for a description of this parameter.indexCount
- see IndexedGeometryArray.IndexedGeometryArray(int,int,int,int[],int,int[],int)
for a description of this parameter.stripIndexCounts
- see IndexedGeometryStripArray.IndexedGeometryStripArray(int,int,int,int[],int,int[],int,int[])
for a description of this parameter.
java.lang.IllegalArgumentException
- if vertexCount is less than 1,
or indexCount is less than 3,
or any element in the stripIndexCounts array is less than 3
;IndexedGeometryStripArray.IndexedGeometryStripArray(int,int,int,int[],int,int[],int,int[])
for more exceptions that can be thrownMethod Detail |
---|
public NodeComponent cloneNodeComponent()
cloneNodeComponent
in class NodeComponent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |