Package org.web3d.x3d.sai.rendering
Interface IndexedLineSet
- All Superinterfaces:
X3DGeometryNode
,X3DNode
- All Known Implementing Classes:
SAIIndexedLineSet
,SAIIndexedLineSet
Defines the requirements of an X3D IndexedLineSet node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptiongetColor()
Return the color X3DNode value.void
getColorIndex
(int[] val) Return the colorIndex value in the argument int[]boolean
Return the colorPerVertex boolean value.getCoord()
Return the coord X3DNode value.void
getCoordIndex
(int[] val) Return the coordIndex value in the argument int[]int
Return the number of MFInt32 items in the colorIndex field.int
Return the number of MFInt32 items in the coordIndex field.void
setColor
(X3DColorNode val) Set the color field.void
setColor
(X3DProtoInstance val) Set the color field.void
setColorIndex
(int[] val) Set the colorIndex field.void
setColorPerVertex
(boolean val) Set the colorPerVertex field.void
Set the coord field.void
setCoord
(X3DProtoInstance val) Set the coord field.void
setCoordIndex
(int[] val) Set the coordIndex field.Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Method Details
-
getCoord
-
setCoord
Set the coord field.- Parameters:
val
- The X3DCoordinateNode to set.
-
setCoord
Set the coord field.- Parameters:
val
- The X3DProtoInstance to set.
-
getColor
-
setColor
-
setColor
Set the color field.- Parameters:
val
- The X3DProtoInstance to set.
-
getColorPerVertex
boolean getColorPerVertex()Return the colorPerVertex boolean value.- Returns:
- The colorPerVertex boolean value.
-
setColorPerVertex
void setColorPerVertex(boolean val) Set the colorPerVertex field.- Parameters:
val
- The boolean to set.
-
getNumColorIndex
int getNumColorIndex()Return the number of MFInt32 items in the colorIndex field.- Returns:
- the number of MFInt32 items in the colorIndex field.
-
getColorIndex
void getColorIndex(int[] val) Return the colorIndex value in the argument int[]- Parameters:
val
- The int[] to initialize.
-
setColorIndex
void setColorIndex(int[] val) Set the colorIndex field.- Parameters:
val
- The int[] to set.
-
getNumCoordIndex
int getNumCoordIndex()Return the number of MFInt32 items in the coordIndex field.- Returns:
- the number of MFInt32 items in the coordIndex field.
-
getCoordIndex
void getCoordIndex(int[] val) Return the coordIndex value in the argument int[]- Parameters:
val
- The int[] to initialize.
-
setCoordIndex
void setCoordIndex(int[] val) Set the coordIndex field.- Parameters:
val
- The int[] to set.
-