Class BaseTextureCoordinate3D

java.lang.Object
All Implemented Interfaces:
VRMLNode, FrameStateListener, VRMLGeometricPropertyNodeType, VRMLNodeType, VRMLTextureCoordinateNodeType
Direct Known Subclasses:
NRTextureCoordinate3D, OGLTextureCoordinate3D

public abstract class BaseTextureCoordinate3D extends BaseGeometricPropertyNode implements VRMLTextureCoordinateNodeType
Common base implementation of a texture coordinate node for 3D coordinates.

Points are held internally as a flat array of values. The point list returned will always be flat. We do this because renderers like point values as a single flat array. The array returned will always contain exactly the number of points specified.

The effect of this is that point values may be routed out of this node as a flat array of points rather than a 2D array. Receiving nodes should check for this version as well. This implementation will handle being routed either form.

Version:
$Revision: 1.9 $
Author:
Alan Hudson