|
|||||||||
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.IndexedLineArray
public class IndexedLineArray
The IndexedLineArray object draws the array of vertices as individual line segments. Each pair of vertices defines a line to be drawn.
Field Summary |
---|
Fields inherited from class javax.media.j3d.Geometry |
---|
ALLOW_INTERSECT |
Fields inherited from class javax.media.j3d.NodeComponent |
---|
forceDuplicate |
Fields inherited from class javax.media.j3d.SceneGraphObject |
---|
nodeHashtable, retained |
Constructor Summary | |
---|---|
IndexedLineArray()
Package scoped default constructor. |
|
IndexedLineArray(int vertexCount,
int vertexFormat,
int indexCount)
Constructs an empty IndexedLineArray object using the specified parameters. |
|
IndexedLineArray(int vertexCount,
int vertexFormat,
int texCoordSetCount,
int[] texCoordSetMap,
int indexCount)
Constructs an empty IndexedLineArray object using the specified parameters. |
|
IndexedLineArray(int vertexCount,
int vertexFormat,
int texCoordSetCount,
int[] texCoordSetMap,
int vertexAttrCount,
int[] vertexAttrSizes,
int indexCount)
Constructs an empty IndexedLineArray object using the specified parameters. |
Method Summary | |
---|---|
NodeComponent |
cloneNodeComponent()
Deprecated. replaced with cloneNodeComponent(boolean forceDuplicate) |
(package private) void |
createRetained()
Creates the retained mode IndexedLineArrayRetained object that this IndexedLineArray object will point to. |
Methods inherited from class javax.media.j3d.NodeComponent |
---|
checkDuplicateNodeComponent, cloneNodeComponent, duplicateChild, duplicateNodeComponent, duplicateNodeComponent, getDuplicateOnCloneTree, setDuplicateOnCloneTree, validateImageIllegalSharing |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
IndexedLineArray()
public IndexedLineArray(int vertexCount, int vertexFormat, int indexCount)
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.
java.lang.IllegalArgumentException
- if vertexCount is less than 1,
or indexCount is less than 2, or indexCount is not
a multiple of 2
;GeometryArray.GeometryArray(int,int)
for more exceptions that can be thrownpublic IndexedLineArray(int vertexCount, int vertexFormat, int texCoordSetCount, int[] texCoordSetMap, int indexCount)
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.
java.lang.IllegalArgumentException
- if vertexCount is less than 1,
or indexCount is less than 2, or indexCount is not
a multiple of 2
;GeometryArray.GeometryArray(int,int,int,int[])
for more exceptions that can be thrownpublic IndexedLineArray(int vertexCount, int vertexFormat, int texCoordSetCount, int[] texCoordSetMap, int vertexAttrCount, int[] vertexAttrSizes, int indexCount)
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.
java.lang.IllegalArgumentException
- if vertexCount is less than 1,
or indexCount is less than 2, or indexCount is not
a multiple of 2
;GeometryArray.GeometryArray(int,int,int,int[],int,int[])
for more exceptions that can be thrownMethod Detail |
---|
void createRetained()
createRetained
in class NodeComponent
public NodeComponent cloneNodeComponent()
cloneNodeComponent
in class NodeComponent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |