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.int
Return the number of MFInt32 items in the vertexCount field.void
getVertexCount
(int[] val) Return the vertexCount value in the argument int[]void
setColor
(X3DColorNode val) Set the color field.void
setColor
(X3DProtoInstance val) Set the color field.void
Set the coord field.void
setCoord
(X3DProtoInstance val) Set the coord field.void
setVertexCount
(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, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
getNumVertexCount
in 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:
getVertexCount
in interfaceLineSet
- Parameters:
val
- The int[] to initialize.
-
setVertexCount
public void setVertexCount(int[] val) Set the vertexCount field.- Specified by:
setVertexCount
in interfaceLineSet
- Parameters:
val
- The int[] to set.
-