org.jagatoo.loaders.models.collada.stax
Class XMLVisualScene

java.lang.Object
  extended by org.jagatoo.loaders.models.collada.stax.XMLVisualScene

public class XMLVisualScene
extends java.lang.Object

A visual scene. It contains a hierarchy of nodes. It's a bit like a scenegraph. Each node can have a transform, and can instance geometries or controllers (for skeletal animation). Child of LibraryVisualScenes.


Field Summary
 XMLAsset asset
           
 java.lang.String id
           
 java.lang.String name
           
 java.util.HashMap<java.lang.String,XMLNode> nodes
           
 
Constructor Summary
XMLVisualScene()
           
 
Method Summary
 void parse(javax.xml.stream.XMLStreamReader parser)
           
 void readNodes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public java.lang.String id

name

public java.lang.String name

asset

public XMLAsset asset

nodes

public java.util.HashMap<java.lang.String,XMLNode> nodes
Constructor Detail

XMLVisualScene

public XMLVisualScene()
Method Detail

readNodes

public void readNodes()

parse

public void parse(javax.xml.stream.XMLStreamReader parser)
           throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException