Class SAIIndexedLineSet
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.rendering.SAIIndexedLineSet
- All Implemented Interfaces:
IndexedLineSet,X3DGeometryNode,X3DNode
A concrete implementation of the IndexedLineSet node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAIIndexedLineSet(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
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 class org.web3d.vrml.scripting.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAIIndexedLineSet
public SAIIndexedLineSet(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
node-nodeFactory-fieldFactory-queue-
-
-
Method Details
-
getNumColorIndex
public int getNumColorIndex()Return the number of MFInt32 items in the colorIndex field.- Specified by:
getNumColorIndexin interfaceIndexedLineSet- Returns:
- the number of MFInt32 items in the colorIndex field.
-
getColorIndex
public void getColorIndex(int[] val) Return the colorIndex value in the argument int[]- Specified by:
getColorIndexin interfaceIndexedLineSet- Parameters:
val- The int[] to initialize.
-
setColorIndex
public void setColorIndex(int[] val) Set the colorIndex field.- Specified by:
setColorIndexin interfaceIndexedLineSet- Parameters:
val- The int[] to set.
-
getNumCoordIndex
public int getNumCoordIndex()Return the number of MFInt32 items in the coordIndex field.- Specified by:
getNumCoordIndexin interfaceIndexedLineSet- Returns:
- the number of MFInt32 items in the coordIndex field.
-
getCoordIndex
public void getCoordIndex(int[] val) Return the coordIndex value in the argument int[]- Specified by:
getCoordIndexin interfaceIndexedLineSet- Parameters:
val- The int[] to initialize.
-
setCoordIndex
public void setCoordIndex(int[] val) Set the coordIndex field.- Specified by:
setCoordIndexin interfaceIndexedLineSet- Parameters:
val- The int[] to set.
-
getCoord
Return the coord X3DNode value.- Specified by:
getCoordin interfaceIndexedLineSet- Returns:
- The coord X3DNode value.
-
setCoord
Set the coord field.- Specified by:
setCoordin interfaceIndexedLineSet- Parameters:
val- The X3DCoordinateNode to set.
-
setCoord
Set the coord field.- Specified by:
setCoordin interfaceIndexedLineSet- Parameters:
val- The X3DProtoInstance to set.
-
getColor
Return the color X3DNode value.- Specified by:
getColorin interfaceIndexedLineSet- Returns:
- The color X3DNode value.
-
setColor
Set the color field.- Specified by:
setColorin interfaceIndexedLineSet- Parameters:
val- The X3DColorNode to set.
-
setColor
Set the color field.- Specified by:
setColorin interfaceIndexedLineSet- Parameters:
val- The X3DProtoInstance to set.
-
getColorPerVertex
public boolean getColorPerVertex()Return the colorPerVertex boolean value.- Specified by:
getColorPerVertexin interfaceIndexedLineSet- Returns:
- The colorPerVertex boolean value.
-
setColorPerVertex
public void setColorPerVertex(boolean val) Set the colorPerVertex field.- Specified by:
setColorPerVertexin interfaceIndexedLineSet- Parameters:
val- The boolean to set.
-