Class BaseViewpoint

java.lang.Object
All Implemented Interfaces:
VRMLNode, FrameStateListener, VRMLBindableNodeType, VRMLChildNodeType, VRMLNodeType, VRMLTimeDependentNodeType, VRMLViewpointNodeType, VRMLWorldRootChildNodeType
Direct Known Subclasses:
NRViewpoint, OGLViewpoint

public abstract class BaseViewpoint extends BaseBindableNode implements VRMLViewpointNodeType
Common implementation of a Viewpoint node.

VRML requires the use of a headlight from the NavigationInfo node. For convenience, we provide a headlight here that binds with the same transform as the view platform.

Viewpoints cannot be shared using DEF/USE. They may be named as such for Anchor purposes, but attempting to reuse them will cause an error. This implementation does not provide any protection against USE of this node and attempting to do so will result in throwing exceptions - most probably in the grouping node that includes this node.

Version:
$Revision: 1.15 $
Author:
Alan Hudson