com.eteks.sweethome3d.j3d
Class DAELoader
java.lang.Object
com.sun.j3d.loaders.LoaderBase
com.eteks.sweethome3d.j3d.DAELoader
- All Implemented Interfaces:
- Loader
public class DAELoader
- extends LoaderBase
- implements Loader
A loader for DAE Collada 1.4.1 format as specified by
http://www.khronos.org/files/collada_spec_1_4.pdf.
All texture coordinates are considered to belong to the same set (for example UVSET0).
Note: this class is compatible with Java 3D 1.3.
- Author:
- Emmanuel Puybaret, apptaro (bug fixes)
Method Summary |
Scene |
load(Reader reader)
Returns the scene described in the given DAE file stream. |
Scene |
load(String file)
Returns the scene described in the given DAE file. |
Scene |
load(URL url)
Returns the scene described in the given DAE file url. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DAELoader
public DAELoader()
load
public Scene load(String file)
throws FileNotFoundException,
IncorrectFormatException,
ParsingErrorException
- Returns the scene described in the given DAE file.
- Specified by:
load
in interface Loader
- Throws:
FileNotFoundException
IncorrectFormatException
ParsingErrorException
load
public Scene load(URL url)
throws FileNotFoundException,
IncorrectFormatException,
ParsingErrorException
- Returns the scene described in the given DAE file url.
- Specified by:
load
in interface Loader
- Throws:
FileNotFoundException
IncorrectFormatException
ParsingErrorException
load
public Scene load(Reader reader)
throws FileNotFoundException,
IncorrectFormatException,
ParsingErrorException
- Returns the scene described in the given DAE file stream.
- Specified by:
load
in interface Loader
- Throws:
FileNotFoundException
IncorrectFormatException
ParsingErrorException