org.jagatoo.loaders.models.collada.datastructs
Class AssetFolder

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

public class AssetFolder
extends java.lang.Object

This class contains every information which has been loaded from a COLLADA file and that the loader handles. The reason this class exists is that data provided directly by XMlBeans when loading a COLLADA file isn't really convenient to handle. So in the org.collada.xith3d.COLLADALoader file, XMLBeans data (which is composed of classes contained in the org.jagatoo.loaders.models.collada.schema.org.collada.x2005.x11.colladaSchema package) is converted to a COLLADAFile. Then it can be used in a scenegraph, e.g. Xith3D.

Author:
Amos Wenger (aka BlueSky)

Constructor Summary
AssetFolder(java.net.URL basePath)
          Creates a new COLLADAFile
 
Method Summary
 java.net.URL getBasePath()
           
 LibraryControllers getLibraryControllers()
           
 LibraryEffects getLibraryEffects()
           
 LibraryGeometries getLibraryGeometries()
           
 LibraryImages getLibraryImages()
           
 LibraryMaterials getLibraryMaterials()
           
 LibraryVisualScenes getLibraryVisualsScenes()
           
 ColladaProtoypeModel getModel()
           
 void setModel(ColladaProtoypeModel model)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetFolder

public AssetFolder(java.net.URL basePath)
Creates a new COLLADAFile

Parameters:
basePath - The base path, used e.g. when loading textures
Method Detail

getLibraryControllers

public LibraryControllers getLibraryControllers()
Returns:
the libraryControllers

getLibraryEffects

public LibraryEffects getLibraryEffects()
Returns:
the libraryEffects

getLibraryImages

public LibraryImages getLibraryImages()
Returns:
the libraryImages

getLibraryMaterials

public LibraryMaterials getLibraryMaterials()
Returns:
the libraryMaterials

getLibraryGeometries

public LibraryGeometries getLibraryGeometries()
Returns:
the libraryGeometries

getLibraryVisualsScenes

public LibraryVisualScenes getLibraryVisualsScenes()
Returns:
the libraryVisualsScenes

getBasePath

public java.net.URL getBasePath()
Returns:
the basePath

getModel

public ColladaProtoypeModel getModel()

setModel

public void setModel(ColladaProtoypeModel model)