Class SAILineSet
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.rendering.SAILineSet
- All Implemented Interfaces:
LineSet,X3DGeometryNode,X3DNode
A concrete implementation of the LineSet node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Field Summary
Fields inherited from class org.web3d.vrml.scripting.sai.BaseNode
accessPermitted, fieldQueue, fieldRefMap, realNode -
Constructor Summary
ConstructorsConstructorDescriptionSAILineSet(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) 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.sai.BaseNode
checkAccess, dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadata, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, 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, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf-
-
-
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.
-