|
|||||||||
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.IndexedLineStripArray
public class IndexedLineStripArray
The IndexedLineStripArray object draws an array of vertices as a set of connected line strips. An array of per-strip index counts specifies where the separate strips appear in the indexed vertex array. For every strip in the set, each vertex, beginning with the second vertex in the array, defines a line segment to be drawn from the previous vertex to the current vertex.
Field Summary |
---|
Fields inherited from class javax.media.j3d.Geometry |
---|
ALLOW_INTERSECT |
Constructor Summary | |
---|---|
IndexedLineStripArray(int vertexCount,
int vertexFormat,
int indexCount,
int[] stripIndexCounts)
Constructs an empty IndexedLineStripArray object using the specified parameters. |
|
IndexedLineStripArray(int vertexCount,
int vertexFormat,
int texCoordSetCount,
int[] texCoordSetMap,
int indexCount,
int[] stripIndexCounts)
Constructs an empty IndexedLineStripArray object using the specified parameters. |
|
IndexedLineStripArray(int vertexCount,
int vertexFormat,
int texCoordSetCount,
int[] texCoordSetMap,
int vertexAttrCount,
int[] vertexAttrSizes,
int indexCount,
int[] stripIndexCounts)
Constructs an empty IndexedLineStripArray 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 IndexedLineStripArray(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 2,
or any element in the stripIndexCounts array is less than 2
;IndexedGeometryStripArray.IndexedGeometryStripArray(int,int,int,int[])
for more exceptions that can be thrownpublic IndexedLineStripArray(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 2,
or any element in the stripIndexCounts array is less than 2
;IndexedGeometryStripArray.IndexedGeometryStripArray(int,int,int,int[],int,int[])
for more exceptions that can be thrownpublic IndexedLineStripArray(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 2,
or any element in the stripIndexCounts array is less than 2
;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 |