org.jagatoo.loaders.models.collada.datastructs
Class AssetFolder
java.lang.Object
org.jagatoo.loaders.models.collada.datastructs.AssetFolder
public class AssetFolder
- extends java.lang.Object
This class contains every information, that has been loaded
from a COLLADA file and that the loader handles. The reason,
this class exists, is that data provided directly by the xml lib when
loading a COLLADA file isn't really convenient to handle. So
in the org.collada.xith3d.COLLADALoader file, the xml lib 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.
|
Constructor Summary |
AssetFolder(java.net.URL basePath)
Creates a new COLLADAFile |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetFolder
public AssetFolder(java.net.URL basePath)
- Creates a new COLLADAFile
- Parameters:
basePath - The base path, used e.g. when loading textures
getLibraryControllers
public final LibraryControllers getLibraryControllers()
- Returns:
- the libraryControllers.
getLibraryEffects
public final LibraryEffects getLibraryEffects()
- Returns:
- the libraryEffects.
getLibraryImages
public final LibraryImages getLibraryImages()
- Returns:
- the libraryImages.
getLibraryMaterials
public final LibraryMaterials getLibraryMaterials()
- Returns:
- the libraryMaterials.
getLibraryGeometries
public final LibraryGeometries getLibraryGeometries()
- Returns:
- the libraryGeometries.
getLibraryVisualsScenes
public final LibraryVisualScenes getLibraryVisualsScenes()
- Returns:
- the libraryVisualsScenes.
getLibraryAnimations
public final LibraryAnimations getLibraryAnimations()
- Returns:
- the libraryAnimations.
getBasePath
public final java.net.URL getBasePath()
- Returns:
- the basePath.
setModel
public void setModel(ColladaProtoypeModel model)
getModel
public final ColladaProtoypeModel getModel()