Class OGLIndexedTriangleFanSet

java.lang.Object
All Implemented Interfaces:
org.j3d.aviatrix3d.NodeUpdateListener, VRMLNode, FrameStateListener, VRMLComponentGeometryNodeType, VRMLGeometryNodeType, VRMLNodeComponentListener, VRMLNodeType, OGLGeometryNodeType, OGLVRMLNode

public class OGLIndexedTriangleFanSet extends BaseIndexedTriangleFanSet implements OGLGeometryNodeType, org.j3d.aviatrix3d.NodeUpdateListener
OpenGL implementation of an IndexedTriangleFanSet.

The point set directly maps to Aviatrix3D's IndexedTriangleFanArray class. When the coordinates change to a different length than the current set, it will notify the geometry listener to fetch the new information.

If the VRML file did not provide a Coordinate node, then this class will not present any geometry from the getGeometry() or getSceneGraphObject() calls. If the user later specifies the renderety through an event, the listener(s) will be notified.

In this implementation, if the length of the color array is shorter that the length of the coordinate array, colors will be ignored.

Version:
$Revision: 1.17 $
Author:
Justin Couch, Alan Hudson