Package xj3d.filter.node
Class IndexedFaceSet
java.lang.Object
xj3d.filter.node.BaseEncodable
xj3d.filter.node.BaseGeometry
xj3d.filter.node.BaseComposedGeometry
xj3d.filter.node.IndexedFaceSet
- All Implemented Interfaces:
Encodable,IComposedGeometry,IGeometry
Wrapper for an X3D IndexedFaceSet node.
- Version:
- $Revision: 1.3 $
- Author:
- Rex Melton
-
Field Summary
FieldsModifier and TypeFieldDescriptionint[]Field valuebooleanField valueint[]Field valuefloatField valueint[]Field valueintNumber of indices in the colorIndex arrayintNumber of indices in the coordIndex arrayintNumber of indices in the normalIndex arrayintNumber of indices in the texCoordIndex arrayint[]Field valueFields inherited from class xj3d.filter.node.BaseComposedGeometry
ccw, colorPerVertex, normalPerVertex, solidFields inherited from class xj3d.filter.node.BaseEncodable
bch, defName, fieldReader, handler, HANDLER_BINARY, HANDLER_NULL, HANDLER_STRING, handlerType, nodeName, sch, useName -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class xj3d.filter.node.BaseComposedGeometry
copy, getNormal, getTextureCoordinate, setNormal, setTextureCoordinateMethods inherited from class xj3d.filter.node.BaseGeometry
getColor, getCoordinate, setColor, setCoordinateMethods inherited from class xj3d.filter.node.BaseEncodable
deepEquals, getDefName, getMetadata, getNodeName, getUseName, setContentHandler, setDefName, setFieldReader, setMetadata, setUseNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface xj3d.filter.node.Encodable
deepEquals, getDefName, getNodeName, getUseName, setContentHandler, setDefName, setFieldReader, setUseNameMethods inherited from interface xj3d.filter.node.IComposedGeometry
getColor, getCoordinate, setColor, setCoordinate
-
Field Details
-
coordIndex
public int[] coordIndexField value -
num_coordIndex
public int num_coordIndexNumber of indices in the coordIndex array -
colorIndex
public int[] colorIndexField value -
num_colorIndex
public int num_colorIndexNumber of indices in the colorIndex array -
normalIndex
public int[] normalIndexField value -
num_normalIndex
public int num_normalIndexNumber of indices in the normalIndex array -
texCoordIndex
public int[] texCoordIndexField value -
num_texCoordIndex
public int num_texCoordIndexNumber of indices in the texCoordIndex array -
convex
public boolean convexField value -
creaseAngle
public float creaseAngleField value
-
-
Constructor Details
-
IndexedFaceSet
public IndexedFaceSet()Constructor -
IndexedFaceSet
-
-
Method Details
-
clear
public void clear()Clear the node fields to their initial values- Specified by:
clearin interfaceEncodable- Overrides:
clearin classBaseComposedGeometry
-
encode
public void encode()Push the node contents to the ContentHandler.- Specified by:
encodein interfaceEncodable- Overrides:
encodein classBaseComposedGeometry
-
setValue
-
setValue
Set the value of the named field.- Specified by:
setValuein interfaceEncodable- Overrides:
setValuein classBaseComposedGeometry- Parameters:
name- The name of the field to set.value- The value of the field.len- The number of values in the array.
-
clone
Create and return a copy of this object.- Specified by:
clonein interfaceEncodable- Overrides:
clonein classBaseEncodable- Parameters:
full- true if the clone should contain a copy of the complete contents of this node and it's children, false returns a new instance of this node type.- Returns:
- a copy of this.
-