Class SAIIndexedTriangleStripSet
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.rendering.SAIIndexedTriangleStripSet
- All Implemented Interfaces:
IndexedTriangleStripSet,X3DComposedGeometryNode,X3DGeometryNode,X3DNode
A concrete implementation of the IndexedTriangleStripSet node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAIIndexedTriangleStripSet(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidReturn the attrib value in the argument X3DNode[]booleangetCcw()Return the ccw boolean value.getColor()Return the color X3DNode value.booleanReturn the colorPerVertex boolean value.getCoord()Return the coord X3DNode value.Return the fogCoord X3DNode value.voidgetIndex(int[] val) Return the index value in the argument int[]Return the normal X3DNode value.booleanReturn the normalPerVertex boolean value.intReturn the number of MFNode items in the attrib field.intReturn the number of MFInt32 items in the index field.booleangetSolid()Return the solid boolean value.Return the texCoord X3DNode value.voidSet the attrib field.voidsetCcw(boolean val) Set the ccw field.voidsetColor(X3DColorNode val) Set the color field.voidsetColor(X3DProtoInstance val) Set the color field.voidsetColorPerVertex(boolean val) Set the colorPerVertex field.voidSet the coord field.voidsetCoord(X3DProtoInstance val) Set the coord field.voidsetFogCoord(X3DNode val) Set the fogCoord field.voidsetIndex(int[] val) Set the index field.voidsetNormal(X3DNormalNode val) Set the normal field.voidSet the normal field.voidsetNormalPerVertex(boolean val) Set the normalPerVertex field.voidsetSolid(boolean val) Set the solid field.voidSet the texCoord field.voidSet the texCoord 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
-
SAIIndexedTriangleStripSet
public SAIIndexedTriangleStripSet(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
queue-
-
-
Method Details
-
getNumAttrib
public int getNumAttrib()Return the number of MFNode items in the attrib field.- Specified by:
getNumAttribin interfaceX3DComposedGeometryNode- Returns:
- the number of MFNode items in the attrib field.
-
getAttrib
Return the attrib value in the argument X3DNode[]- Specified by:
getAttribin interfaceX3DComposedGeometryNode- Parameters:
val- The X3DNode[] to initialize.
-
setAttrib
Set the attrib field.- Specified by:
setAttribin interfaceX3DComposedGeometryNode- Parameters:
val- The X3DNode[] to set.
-
getFogCoord
Return the fogCoord X3DNode value.- Specified by:
getFogCoordin interfaceX3DComposedGeometryNode- Returns:
- The fogCoord X3DNode value.
-
setFogCoord
Set the fogCoord field.- Specified by:
setFogCoordin interfaceX3DComposedGeometryNode- Parameters:
val- The X3DNode to set.
-
getCoord
Return the coord X3DNode value.- Specified by:
getCoordin interfaceX3DComposedGeometryNode- Returns:
- The coord X3DNode value.
-
setCoord
Set the coord field.- Specified by:
setCoordin interfaceX3DComposedGeometryNode- Parameters:
val- The X3DCoordinateNode to set.
-
setCoord
Set the coord field.- Specified by:
setCoordin interfaceX3DComposedGeometryNode- Parameters:
val- The X3DProtoInstance to set.
-
getColor
Return the color X3DNode value.- Specified by:
getColorin interfaceX3DComposedGeometryNode- Returns:
- The color X3DNode value.
-
setColor
Set the color field.- Specified by:
setColorin interfaceX3DComposedGeometryNode- Parameters:
val- The X3DColorNode to set.
-
setColor
Set the color field.- Specified by:
setColorin interfaceX3DComposedGeometryNode- Parameters:
val- The X3DProtoInstance to set.
-
getNormal
Return the normal X3DNode value.- Specified by:
getNormalin interfaceX3DComposedGeometryNode- Returns:
- The normal X3DNode value.
-
setNormal
Set the normal field.- Specified by:
setNormalin interfaceX3DComposedGeometryNode- Parameters:
val- The X3DNormalNode to set.
-
setNormal
Set the normal field.- Specified by:
setNormalin interfaceX3DComposedGeometryNode- Parameters:
val- The X3DProtoInstance to set.
-
getTexCoord
Return the texCoord X3DNode value.- Specified by:
getTexCoordin interfaceX3DComposedGeometryNode- Returns:
- The texCoord X3DNode value.
-
setTexCoord
Set the texCoord field.- Specified by:
setTexCoordin interfaceX3DComposedGeometryNode- Parameters:
val- The X3DTextureCoordinateNode to set.
-
setTexCoord
Set the texCoord field.- Specified by:
setTexCoordin interfaceX3DComposedGeometryNode- Parameters:
val- The X3DProtoInstance to set.
-
getSolid
public boolean getSolid()Return the solid boolean value.- Specified by:
getSolidin interfaceX3DComposedGeometryNode- Returns:
- The solid boolean value.
-
setSolid
public void setSolid(boolean val) Set the solid field.- Specified by:
setSolidin interfaceX3DComposedGeometryNode- Parameters:
val- The boolean to set.
-
getCcw
public boolean getCcw()Return the ccw boolean value.- Specified by:
getCcwin interfaceX3DComposedGeometryNode- Returns:
- The ccw boolean value.
-
setCcw
public void setCcw(boolean val) Set the ccw field.- Specified by:
setCcwin interfaceX3DComposedGeometryNode- Parameters:
val- The boolean to set.
-
getColorPerVertex
public boolean getColorPerVertex()Return the colorPerVertex boolean value.- Specified by:
getColorPerVertexin interfaceX3DComposedGeometryNode- Returns:
- The colorPerVertex boolean value.
-
setColorPerVertex
public void setColorPerVertex(boolean val) Set the colorPerVertex field.- Specified by:
setColorPerVertexin interfaceX3DComposedGeometryNode- Parameters:
val- The boolean to set.
-
getNormalPerVertex
public boolean getNormalPerVertex()Return the normalPerVertex boolean value.- Specified by:
getNormalPerVertexin interfaceX3DComposedGeometryNode- Returns:
- The normalPerVertex boolean value.
-
setNormalPerVertex
public void setNormalPerVertex(boolean val) Set the normalPerVertex field.- Specified by:
setNormalPerVertexin interfaceX3DComposedGeometryNode- Parameters:
val- The boolean to set.
-
getNumIndex
public int getNumIndex()Return the number of MFInt32 items in the index field.- Specified by:
getNumIndexin interfaceIndexedTriangleStripSet- Returns:
- the number of MFInt32 items in the index field.
-
getIndex
public void getIndex(int[] val) Return the index value in the argument int[]- Specified by:
getIndexin interfaceIndexedTriangleStripSet- Parameters:
val- The int[] to initialize.
-
setIndex
public void setIndex(int[] val) Set the index field.- Specified by:
setIndexin interfaceIndexedTriangleStripSet- Parameters:
val- The int[] to set.
-