Xj3D 2.0 VRML/X3D Code API

org.web3d.x3d.sai.rendering
Interface IndexedTriangleSet

All Superinterfaces:
X3DChildNode, X3DComposedGeometryNode, X3DGeometryNode, X3DNode

public interface IndexedTriangleSet
extends X3DComposedGeometryNode

Defines the requirements of an X3D IndexedTriangleSet node

Version:
$Revision: 1.1 $
Author:
Rex Melton

Method Summary
 void getIndex(int[] val)
          Return the index value in the argument int[]
 int getNumIndex()
          Return the number of MFInt32 items in the index field.
 void setIndex(int[] val)
          Set the index 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 Detail

getNumIndex

int getNumIndex()
Return the number of MFInt32 items in the index field.

Returns:
the number of MFInt32 items in the index field.

getIndex

void getIndex(int[] val)
Return the index value in the argument int[]

Parameters:
val - The int[] to initialize.

setIndex

void setIndex(int[] val)
Set the index field.

Parameters:
val - The int[] to set.

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium