Jeospace API

org.jeospace.x3d
Class RootStructure

java.lang.Object
  extended byorg.jeospace.x3d.RootStructure
All Implemented Interfaces:
Structure

public class RootStructure
extends java.lang.Object
implements Structure

The root Transform structure of a simulation.

Version:
$Revision: 1.1.1.1 $
Author:
Rex Melton
See Also:
ReferenceFrame, Transform, X3DScene, X3DNode

Field Summary
 Transform root
          The Transform
 
Constructor Summary
RootStructure(org.web3d.x3d.sai.X3DScene scene, ReferenceFrame refFrame)
          Constructor
 
Method Summary
 void add(ReferenceFrame refFrame, org.web3d.x3d.sai.X3DNode node)
          Add the argument node to the specified ReferenceFrame of the RootStructure
 void add(ReferenceFrame refFrame, org.web3d.x3d.sai.X3DNode[] node)
          Add the argument nodes to the specified ReferenceFrame of the RootStructure
 void dispose()
          Explicitly dispose of all the RootStructure's resources
 Transform getTransform(ReferenceFrame refFrame)
          Return the Transform that corresponds to the argument ReferenceFrame
 void remove(ReferenceFrame refFrame, org.web3d.x3d.sai.X3DNode node)
          Remove the argument node from the specified ReferenceFrame of the RootStructure
 void remove(ReferenceFrame refFrame, org.web3d.x3d.sai.X3DNode[] node)
          Remove the argument node from the specified ReferenceFrame of the RootStructure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

root

public final Transform root
The Transform

Constructor Detail

RootStructure

public RootStructure(org.web3d.x3d.sai.X3DScene scene,
                     ReferenceFrame refFrame)
Constructor

Parameters:
scene - the X3DScene object
refFrame - The reference frame identifier of this structure
Method Detail

add

public void add(ReferenceFrame refFrame,
                org.web3d.x3d.sai.X3DNode node)
Add the argument node to the specified ReferenceFrame of the RootStructure

Specified by:
add in interface Structure
Parameters:
refFrame - the reference frame
node - the node

add

public void add(ReferenceFrame refFrame,
                org.web3d.x3d.sai.X3DNode[] node)
Add the argument nodes to the specified ReferenceFrame of the RootStructure

Specified by:
add in interface Structure
Parameters:
refFrame - the reference frame
node - the node

remove

public void remove(ReferenceFrame refFrame,
                   org.web3d.x3d.sai.X3DNode node)
Remove the argument node from the specified ReferenceFrame of the RootStructure

Specified by:
remove in interface Structure
Parameters:
refFrame - the reference frame
node - the node

remove

public void remove(ReferenceFrame refFrame,
                   org.web3d.x3d.sai.X3DNode[] node)
Remove the argument node from the specified ReferenceFrame of the RootStructure

Specified by:
remove in interface Structure
Parameters:
refFrame - the reference frame
node - the node

getTransform

public Transform getTransform(ReferenceFrame refFrame)
Return the Transform that corresponds to the argument ReferenceFrame

Parameters:
refFrame - the argument ReferenceFrame
Returns:
the Transform

dispose

public void dispose()
Explicitly dispose of all the RootStructure's resources

Specified by:
dispose in interface Structure

Jeospace API

Copyright © 2006 - jeospace.org