Class OGLIndexedLineSet

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

public class OGLIndexedLineSet extends BaseIndexedLineSet implements OGLGeometryNodeType, org.j3d.aviatrix3d.NodeUpdateListener
OpenGL implementation of an IndexedLineSet.

The point set directly maps to Aviatrix3D's LineArray 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 than the length of the coordinate array, colors will be ignored.

Version:
$Revision: 1.18 $
Author:
Justin Couch