Class SAIIndexedLineSet
java.lang.Object
org.web3d.vrml.scripting.sai.BaseNode
org.xj3d.sai.internal.node.rendering.SAIIndexedLineSet
- All Implemented Interfaces:
IndexedLineSet
,X3DGeometryNode
,X3DNode
A concrete implementation of the IndexedLineSet 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
ConstructorsConstructorDescriptionSAIIndexedLineSet
(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor -
Method Summary
Modifier and TypeMethodDescriptiongetColor()
Return the color X3DNode value.void
getColorIndex
(int[] val) Return the colorIndex value in the argument int[]boolean
Return the colorPerVertex boolean value.getCoord()
Return the coord X3DNode value.void
getCoordIndex
(int[] val) Return the coordIndex value in the argument int[]int
Return the number of MFInt32 items in the colorIndex field.int
Return the number of MFInt32 items in the coordIndex field.void
setColor
(X3DColorNode val) Set the color field.void
setColor
(X3DProtoInstance val) Set the color field.void
setColorIndex
(int[] val) Set the colorIndex field.void
setColorPerVertex
(boolean val) Set the colorPerVertex field.void
Set the coord field.void
setCoord
(X3DProtoInstance val) Set the coord field.void
setCoordIndex
(int[] val) Set the coordIndex 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
-
SAIIndexedLineSet
public SAIIndexedLineSet(VRMLNodeType node, ReferenceQueue<X3DField> refQueue, FieldFactory fac, FieldAccessListener fal, BaseNodeFactory bnf) Constructor- Parameters:
bnf
-
-
-
Method Details
-
getNumColorIndex
public int getNumColorIndex()Return the number of MFInt32 items in the colorIndex field.- Specified by:
getNumColorIndex
in 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:
getColorIndex
in interfaceIndexedLineSet
- Parameters:
val
- The int[] to initialize.
-
setColorIndex
public void setColorIndex(int[] val) Set the colorIndex field.- Specified by:
setColorIndex
in interfaceIndexedLineSet
- Parameters:
val
- The int[] to set.
-
getNumCoordIndex
public int getNumCoordIndex()Return the number of MFInt32 items in the coordIndex field.- Specified by:
getNumCoordIndex
in 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:
getCoordIndex
in interfaceIndexedLineSet
- Parameters:
val
- The int[] to initialize.
-
setCoordIndex
public void setCoordIndex(int[] val) Set the coordIndex field.- Specified by:
setCoordIndex
in interfaceIndexedLineSet
- Parameters:
val
- The int[] to set.
-
getCoord
Return the coord X3DNode value.- Specified by:
getCoord
in interfaceIndexedLineSet
- Returns:
- The coord X3DNode value.
-
setCoord
Set the coord field.- Specified by:
setCoord
in interfaceIndexedLineSet
- Parameters:
val
- The X3DCoordinateNode to set.
-
setCoord
Set the coord field.- Specified by:
setCoord
in interfaceIndexedLineSet
- Parameters:
val
- The X3DProtoInstance to set.
-
getColor
Return the color X3DNode value.- Specified by:
getColor
in interfaceIndexedLineSet
- Returns:
- The color X3DNode value.
-
setColor
Set the color field.- Specified by:
setColor
in interfaceIndexedLineSet
- Parameters:
val
- The X3DColorNode to set.
-
setColor
Set the color field.- Specified by:
setColor
in interfaceIndexedLineSet
- Parameters:
val
- The X3DProtoInstance to set.
-
getColorPerVertex
public boolean getColorPerVertex()Return the colorPerVertex boolean value.- Specified by:
getColorPerVertex
in interfaceIndexedLineSet
- Returns:
- The colorPerVertex boolean value.
-
setColorPerVertex
public void setColorPerVertex(boolean val) Set the colorPerVertex field.- Specified by:
setColorPerVertex
in interfaceIndexedLineSet
- Parameters:
val
- The boolean to set.
-