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.voidgetColorIndex(int[] val) Return the colorIndex value in the argument int[]booleanReturn the colorPerVertex boolean value.getCoord()Return the coord X3DNode value.voidgetCoordIndex(int[] val) Return the coordIndex value in the argument int[]intReturn the number of MFInt32 items in the colorIndex field.intReturn the number of MFInt32 items in the coordIndex field.voidsetColor(X3DColorNode val) Set the color field.voidsetColor(X3DProtoInstance val) Set the color field.voidsetColorIndex(int[] val) Set the colorIndex field.voidsetColorPerVertex(boolean val) Set the colorPerVertex field.voidSet the coord field.voidsetCoord(X3DProtoInstance val) Set the coord field.voidsetCoordIndex(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.
-