Class SAIIndexedFaceSet
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.geometry3d.SAIIndexedFaceSet
- All Implemented Interfaces:
IndexedFaceSet,X3DComposedGeometryNode,X3DGeometryNode,X3DNode
A concrete implementation of the IndexedFaceSet node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAIIndexedFaceSet(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.voidgetColorIndex(int[] val) Return the colorIndex value in the argument int[]booleanReturn the colorPerVertex boolean value.booleanReturn the convex boolean value.getCoord()Return the coord X3DNode value.voidgetCoordIndex(int[] val) Return the coordIndex value in the argument int[]floatReturn the creaseAngle float value.Return the fogCoord X3DNode value.Return the normal X3DNode value.voidgetNormalIndex(int[] val) Return the normalIndex value in the argument int[]booleanReturn the normalPerVertex boolean value.intReturn the number of MFNode items in the attrib field.intReturn the number of MFInt32 items in the colorIndex field.intReturn the number of MFInt32 items in the coordIndex field.intReturn the number of MFInt32 items in the normalIndex field.intReturn the number of MFInt32 items in the texCoordIndex field.booleangetSolid()Return the solid boolean value.Return the texCoord X3DNode value.voidgetTexCoordIndex(int[] val) Return the texCoordIndex value in the argument int[]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.voidsetColorIndex(int[] val) Set the colorIndex field.voidsetColorPerVertex(boolean val) Set the colorPerVertex field.voidsetConvex(boolean val) Set the convex field.voidSet the coord field.voidsetCoord(X3DProtoInstance val) Set the coord field.voidsetCoordIndex(int[] val) Set the coordIndex field.voidsetCreaseAngle(float val) Set the creaseAngle field.voidsetFogCoord(X3DNode val) Set the fogCoord field.voidsetNormal(X3DNormalNode val) Set the normal field.voidSet the normal field.voidsetNormalIndex(int[] val) Set the normalIndex field.voidsetNormalPerVertex(boolean val) Set the normalPerVertex field.voidsetSolid(boolean val) Set the solid field.voidSet the texCoord field.voidSet the texCoord field.voidsetTexCoordIndex(int[] val) Set the texCoordIndex 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
-
SAIIndexedFaceSet
public SAIIndexedFaceSet(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
queue-
-
-
Method Details
-
getNumColorIndex
public int getNumColorIndex()Return the number of MFInt32 items in the colorIndex field.- Specified by:
getNumColorIndexin interfaceIndexedFaceSet- 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:
getColorIndexin interfaceIndexedFaceSet- Parameters:
val- The int[] to initialize.
-
setColorIndex
public void setColorIndex(int[] val) Set the colorIndex field.- Specified by:
setColorIndexin interfaceIndexedFaceSet- Parameters:
val- The int[] to set.
-
getNumCoordIndex
public int getNumCoordIndex()Return the number of MFInt32 items in the coordIndex field.- Specified by:
getNumCoordIndexin interfaceIndexedFaceSet- 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:
getCoordIndexin interfaceIndexedFaceSet- Parameters:
val- The int[] to initialize.
-
setCoordIndex
public void setCoordIndex(int[] val) Set the coordIndex field.- Specified by:
setCoordIndexin interfaceIndexedFaceSet- Parameters:
val- The int[] to set.
-
getNumTexCoordIndex
public int getNumTexCoordIndex()Return the number of MFInt32 items in the texCoordIndex field.- Specified by:
getNumTexCoordIndexin interfaceIndexedFaceSet- Returns:
- the number of MFInt32 items in the texCoordIndex field.
-
getTexCoordIndex
public void getTexCoordIndex(int[] val) Return the texCoordIndex value in the argument int[]- Specified by:
getTexCoordIndexin interfaceIndexedFaceSet- Parameters:
val- The int[] to initialize.
-
setTexCoordIndex
public void setTexCoordIndex(int[] val) Set the texCoordIndex field.- Specified by:
setTexCoordIndexin interfaceIndexedFaceSet- Parameters:
val- The int[] to set.
-
getNumNormalIndex
public int getNumNormalIndex()Return the number of MFInt32 items in the normalIndex field.- Specified by:
getNumNormalIndexin interfaceIndexedFaceSet- Returns:
- the number of MFInt32 items in the normalIndex field.
-
getNormalIndex
public void getNormalIndex(int[] val) Return the normalIndex value in the argument int[]- Specified by:
getNormalIndexin interfaceIndexedFaceSet- Parameters:
val- The int[] to initialize.
-
setNormalIndex
public void setNormalIndex(int[] val) Set the normalIndex field.- Specified by:
setNormalIndexin interfaceIndexedFaceSet- Parameters:
val- The int[] to set.
-
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.
-
getCreaseAngle
public float getCreaseAngle()Return the creaseAngle float value.- Specified by:
getCreaseAnglein interfaceIndexedFaceSet- Returns:
- The creaseAngle float value.
-
setCreaseAngle
public void setCreaseAngle(float val) Set the creaseAngle field.- Specified by:
setCreaseAnglein interfaceIndexedFaceSet- Parameters:
val- The float to set.
-
getConvex
public boolean getConvex()Return the convex boolean value.- Specified by:
getConvexin interfaceIndexedFaceSet- Returns:
- The convex boolean value.
-
setConvex
public void setConvex(boolean val) Set the convex field.- Specified by:
setConvexin interfaceIndexedFaceSet- Parameters:
val- The boolean to set.
-