org.xith3d.loaders.models.impl.dae
Class DaeLoader

java.lang.Object
  extended by org.xith3d.loaders.models.ModelLoader
      extended by org.xith3d.loaders.models.impl.dae.DaeLoader

public class DaeLoader
extends ModelLoader

A loader to create Xith3D geometry from a COLLADA (.dae) files.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.xith3d.loaders.models.ModelLoader
ModelLoader.SourceModelType, ModelLoader.SpecialItemsHandlerImpl
 
Field Summary
 
Fields inherited from class org.xith3d.loaders.models.ModelLoader
ALWAYS_CONVERT_Z_UP_TO_Y_UP, CONVERT_Z_UP_TO_Y_UP_IF_EXPECTED, DEFAULT_FLAGS, LOAD_CAMERAS, LOAD_FOG_NODES, LOAD_LIGHT_NODES, LOAD_SOUND_NODES, LOAD_SUB_MODELS, SCALE
 
Constructor Summary
DaeLoader()
          Constructs a ModelLoader with default flags.
DaeLoader(int flags)
          Constructs a ModelLoader with the specified flags word.
 
Method Summary
protected  DaeModel loadModel(java.net.URL url, java.lang.String filenameBase, ModelLoader.SourceModelType modelType, java.net.URL baseURL, java.lang.String skin, float scale, int flags, org.jagatoo.loaders.models._util.AppearanceFactory appFactory, org.jagatoo.loaders.models._util.GeometryFactory geomFactory, org.jagatoo.loaders.models._util.NodeFactory nodeFactory, org.jagatoo.loaders.models._util.AnimationFactory animFactory, org.jagatoo.loaders.models._util.SpecialItemsHandler siHandler, Model model)
          
 
Methods inherited from class org.xith3d.loaders.models.ModelLoader
extractModelType, extractModelType, extractModelType, getFlag, getFlags, getInstance, loadModel, loadModel, loadModel, loadModel, loadModel, loadModel, loadModel, loadModel, loadModel, loadModel, loadModel, loadModel, loadModel, setFlag, setFlags
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DaeLoader

public DaeLoader(int flags)
Constructs a ModelLoader with the specified flags word.

Parameters:
flags -

DaeLoader

public DaeLoader()
Constructs a ModelLoader with default flags.

Method Detail

loadModel

protected DaeModel loadModel(java.net.URL url,
                             java.lang.String filenameBase,
                             ModelLoader.SourceModelType modelType,
                             java.net.URL baseURL,
                             java.lang.String skin,
                             float scale,
                             int flags,
                             org.jagatoo.loaders.models._util.AppearanceFactory appFactory,
                             org.jagatoo.loaders.models._util.GeometryFactory geomFactory,
                             org.jagatoo.loaders.models._util.NodeFactory nodeFactory,
                             org.jagatoo.loaders.models._util.AnimationFactory animFactory,
                             org.jagatoo.loaders.models._util.SpecialItemsHandler siHandler,
                             Model model)
                      throws java.io.IOException,
                             org.jagatoo.util.errorhandling.IncorrectFormatException,
                             org.jagatoo.util.errorhandling.ParsingException

Overrides:
loadModel in class ModelLoader
Throws:
java.io.IOException
org.jagatoo.util.errorhandling.IncorrectFormatException
org.jagatoo.util.errorhandling.ParsingException