Xj3D VRML/X3D Code API

org.web3d.vrml.lang
Interface ROUTE

All Known Implementing Classes:
CRROUTE, ProtoROUTE

public interface ROUTE

Representation of a ROUTE.

A route belongs to a specific execution space, whether that be the main world or a proto or inline contained within that world. The information about the execution space is not contained in this route as that is expected to be set, along with this route, in the route manager.

Version:
$Revision: 1.3 $
Author:
Justin Couch

Method Summary
 int getDestinationIndex()
          Get the index of the destination field of this route.
 VRMLNode getDestinationNode()
          Get the reference to the destination node of this route.
 int getSourceIndex()
          Get the index of the source field of this route.
 VRMLNode getSourceNode()
          Get the reference to the source node of this route.
 

Method Detail

getSourceNode

public VRMLNode getSourceNode()
Get the reference to the source node of this route.

Returns:
The source node reference

getSourceIndex

public int getSourceIndex()
Get the index of the source field of this route.

Returns:
The source node field index

getDestinationNode

public VRMLNode getDestinationNode()
Get the reference to the destination node of this route.

Returns:
The destination node reference

getDestinationIndex

public int getDestinationIndex()
Get the index of the destination field of this route.

Returns:
The destination node field index

Xj3D VRML/X3D Code API

Copyright © 2001 - 2005 Web3D Consortium