Class ModelLoaderUtils
- java.lang.Object
-
- repast.simphony.visualization.editedStyle.ModelLoaderUtils
-
public class ModelLoaderUtils extends Object
Utils class for finding a org.jogamp.java3d.loaders.Loader based on the file type.- Author:
- Eric Tatara
-
-
Constructor Summary
Constructors Constructor Description ModelLoaderUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.jogamp.java3d.loaders.Loader
getLoaderForFile(String filename)
static org.jogamp.java3d.loaders.Scene
loadSceneFromModel(File file)
Load the scene from a provided model file name.
-
-
-
Method Detail
-
getLoaderForFile
public static org.jogamp.java3d.loaders.Loader getLoaderForFile(String filename)
-
loadSceneFromModel
public static org.jogamp.java3d.loaders.Scene loadSceneFromModel(File file)
Load the scene from a provided model file name.- Parameters:
filename
- the mode file name- Returns:
- the scene
-
-