org.jagatoo.loaders.models.collada.datastructs.visualscenes
Class Node

java.lang.Object
  extended by org.jagatoo.loaders.models.collada.datastructs.visualscenes.Node

public class Node
extends java.lang.Object

A COLLADA Node


Constructor Summary
Node(AssetFolder file, java.lang.String id, java.lang.String name, COLLADATransform transform)
          Creates a new COLLADANode.
 
Method Summary
 void addChild(Node child)
           
 void addControllerInstance(ControllerInstance instance)
           
 void addGeometryInstance(GeometryInstance instance)
           
 java.util.ArrayList<Node> getChildren()
           
 java.util.ArrayList<ControllerInstance> getControllerInstances()
           
 AssetFolder getFile()
           
 java.util.ArrayList<GeometryInstance> getGeometryInstances()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
 COLLADATransform getTransform()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Node

public Node(AssetFolder file,
            java.lang.String id,
            java.lang.String name,
            COLLADATransform transform)
Creates a new COLLADANode.

Parameters:
file - the COLLADA file this node belongs to
id - The id of this Node
name - The name of this Node
transform - The transform of this Node
Method Detail

getFile

public final AssetFolder getFile()
Returns:
the file.

getId

public final java.lang.String getId()
Returns:
the id.

getName

public final java.lang.String getName()
Returns:
the name.

getTransform

public final COLLADATransform getTransform()
Returns:
the transform.

addGeometryInstance

public void addGeometryInstance(GeometryInstance instance)

addControllerInstance

public void addControllerInstance(ControllerInstance instance)

addChild

public void addChild(Node child)

getChildren

public java.util.ArrayList<Node> getChildren()

getGeometryInstances

public java.util.ArrayList<GeometryInstance> getGeometryInstances()

getControllerInstances

public java.util.ArrayList<ControllerInstance> getControllerInstances()