syn3d.nodes.java3d
Class LoaderNodeJava3D

java.lang.Object
  extended by syn3d.base.ActiveNode
      extended by syn3d.nodes.LoaderNode
          extended by syn3d.nodes.java3d.LoaderNodeJava3D
All Implemented Interfaces:
java.io.Serializable

public class LoaderNodeJava3D
extends LoaderNode

A node to manage 3D files using various formats thanks to java3D Loader abstraction

Author:
cazenave_c
See Also:
Serialized Form

Field Summary
 
Fields inherited from class syn3d.base.ActiveNode
children, name, parent
 
Constructor Summary
LoaderNodeJava3D(ActiveNode parent, LoaderHandler handler)
           
 
Method Summary
 java.lang.Object get3DObject()
          Returns the 3D object that this node refers to.
 
Methods inherited from class syn3d.base.ActiveNode
addChild, doAction, findDescendantOfType, findDescendantOfType, getActions, getChildren, getIcon, getName, getParent, highlight, notifyInternalChange, notifyStructuralChange, propagateAddChildEvent, propagateChangeNameEvent, propagateHighlightEvent, propagateInternalChangeEvent, propagateRemoveChildEvent, propagateStructuralChangeEvent, remove, removeChild, removeNodeTree, removeNodeTreeFrom, restoreReferences, saveChildren, setName, setParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoaderNodeJava3D

public LoaderNodeJava3D(ActiveNode parent,
                        LoaderHandler handler)
Parameters:
parent -
Method Detail

get3DObject

public java.lang.Object get3DObject()
Description copied from class: ActiveNode
Returns the 3D object that this node refers to. The object may depend on the 3D model used (Xith3D, Java3D) This object was previously created in the plugin create method, or in the loadTo method during de-serialization.

Overrides:
get3DObject in class ActiveNode
Returns:
the Object used for the scene graph, which probably depends on the underlying 3D architecture. This can be used on a parent node in the plugin canCreate method to check for this architecture.