Package org.web3d.x3d.sai.geometry3d
Interface IndexedFaceSet
- All Superinterfaces:
X3DComposedGeometryNode,X3DGeometryNode,X3DNode
- All Known Implementing Classes:
SAIIndexedFaceSet,SAIIndexedFaceSet
Defines the requirements of an X3D IndexedFaceSet node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionvoidgetColorIndex(int[] val) Return the colorIndex value in the argument int[]booleanReturn the convex boolean value.voidgetCoordIndex(int[] val) Return the coordIndex value in the argument int[]floatReturn the creaseAngle float value.voidgetNormalIndex(int[] val) Return the normalIndex value in the argument int[]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.voidgetTexCoordIndex(int[] val) Return the texCoordIndex value in the argument int[]voidsetColorIndex(int[] val) Set the colorIndex field.voidsetConvex(boolean val) Set the convex field.voidsetCoordIndex(int[] val) Set the coordIndex field.voidsetCreaseAngle(float val) Set the creaseAngle field.voidsetNormalIndex(int[] val) Set the normalIndex field.voidsetTexCoordIndex(int[] val) Set the texCoordIndex field.Methods inherited from interface org.web3d.x3d.sai.X3DComposedGeometryNode
getAttrib, getCcw, getColor, getColorPerVertex, getCoord, getFogCoord, getNormal, getNormalPerVertex, getNumAttrib, getSolid, getTexCoord, setAttrib, setCcw, setColor, setColor, setColorPerVertex, setCoord, setCoord, setFogCoord, setNormal, setNormal, setNormalPerVertex, setSolid, setTexCoord, setTexCoordMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Method Details
-
getNumColorIndex
int getNumColorIndex()Return the number of MFInt32 items in the colorIndex field.- Returns:
- the number of MFInt32 items in the colorIndex field.
-
getColorIndex
void getColorIndex(int[] val) Return the colorIndex value in the argument int[]- Parameters:
val- The int[] to initialize.
-
setColorIndex
void setColorIndex(int[] val) Set the colorIndex field.- Parameters:
val- The int[] to set.
-
getNumCoordIndex
int getNumCoordIndex()Return the number of MFInt32 items in the coordIndex field.- Returns:
- the number of MFInt32 items in the coordIndex field.
-
getCoordIndex
void getCoordIndex(int[] val) Return the coordIndex value in the argument int[]- Parameters:
val- The int[] to initialize.
-
setCoordIndex
void setCoordIndex(int[] val) Set the coordIndex field.- Parameters:
val- The int[] to set.
-
getNumTexCoordIndex
int getNumTexCoordIndex()Return the number of MFInt32 items in the texCoordIndex field.- Returns:
- the number of MFInt32 items in the texCoordIndex field.
-
getTexCoordIndex
void getTexCoordIndex(int[] val) Return the texCoordIndex value in the argument int[]- Parameters:
val- The int[] to initialize.
-
setTexCoordIndex
void setTexCoordIndex(int[] val) Set the texCoordIndex field.- Parameters:
val- The int[] to set.
-
getNumNormalIndex
int getNumNormalIndex()Return the number of MFInt32 items in the normalIndex field.- Returns:
- the number of MFInt32 items in the normalIndex field.
-
getNormalIndex
void getNormalIndex(int[] val) Return the normalIndex value in the argument int[]- Parameters:
val- The int[] to initialize.
-
setNormalIndex
void setNormalIndex(int[] val) Set the normalIndex field.- Parameters:
val- The int[] to set.
-
getCreaseAngle
float getCreaseAngle()Return the creaseAngle float value.- Returns:
- The creaseAngle float value.
-
setCreaseAngle
void setCreaseAngle(float val) Set the creaseAngle field.- Parameters:
val- The float to set.
-
getConvex
boolean getConvex()Return the convex boolean value.- Returns:
- The convex boolean value.
-
setConvex
void setConvex(boolean val) Set the convex field.- Parameters:
val- The boolean to set.
-