Class SAILineSet
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.rendering.SAILineSet
- All Implemented Interfaces:
LineSet,X3DGeometryNode,X3DNode
A concrete implementation of the LineSet node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAILineSet(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptiongetColor()Return the color X3DNode value.getCoord()Return the coord X3DNode value.intReturn the number of MFInt32 items in the vertexCount field.voidgetVertexCount(int[] val) Return the vertexCount value in the argument int[]voidsetColor(X3DColorNode val) Set the color field.voidsetColor(X3DProtoInstance val) Set the color field.voidSet the coord field.voidsetCoord(X3DProtoInstance val) Set the coord field.voidsetVertexCount(int[] val) Set the vertexCount 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
-
SAILineSet
public SAILineSet(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
queue-
-
-
Method Details
-
getCoord
-
setCoord
Set the coord field. -
setCoord
Set the coord field. -
getColor
-
setColor
Set the color field. -
setColor
Set the color field. -
getNumVertexCount
public int getNumVertexCount()Return the number of MFInt32 items in the vertexCount field.- Specified by:
getNumVertexCountin interfaceLineSet- Returns:
- the number of MFInt32 items in the vertexCount field.
-
getVertexCount
public void getVertexCount(int[] val) Return the vertexCount value in the argument int[]- Specified by:
getVertexCountin interfaceLineSet- Parameters:
val- The int[] to initialize.
-
setVertexCount
public void setVertexCount(int[] val) Set the vertexCount field.- Specified by:
setVertexCountin interfaceLineSet- Parameters:
val- The int[] to set.
-