org.xith3d.loaders.models.impl.cal3d
Class Cal3dLoader

java.lang.Object
  extended by org.xith3d.loaders.models.ModelLoader
      extended by org.xith3d.loaders.models.impl.cal3d.Cal3dLoader

public class Cal3dLoader
extends ModelLoader


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
Cal3dLoader()
          Constructs a ModelLoader with default flags.
Cal3dLoader(int flags)
          Constructs a ModelLoader with the specified flags word.
 
Method Summary
protected  Model 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

Cal3dLoader

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

Parameters:
flags -

Cal3dLoader

public Cal3dLoader()
Constructs a ModelLoader with default flags.

Method Detail

loadModel

protected Model 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