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 TypeMethodDescriptionvoid
getColorIndex
(int[] val) Return the colorIndex value in the argument int[]boolean
Return the convex boolean value.void
getCoordIndex
(int[] val) Return the coordIndex value in the argument int[]float
Return the creaseAngle float value.void
getNormalIndex
(int[] val) Return the normalIndex 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.int
Return the number of MFInt32 items in the normalIndex field.int
Return the number of MFInt32 items in the texCoordIndex field.void
getTexCoordIndex
(int[] val) Return the texCoordIndex value in the argument int[]void
setColorIndex
(int[] val) Set the colorIndex field.void
setConvex
(boolean val) Set the convex field.void
setCoordIndex
(int[] val) Set the coordIndex field.void
setCreaseAngle
(float val) Set the creaseAngle field.void
setNormalIndex
(int[] val) Set the normalIndex field.void
setTexCoordIndex
(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, setTexCoord
Methods 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.
-