public interface ModelImporter extends Importer
Modifier and Type | Method and Description |
---|---|
java.util.Map<javafx.scene.image.Image,FilePath> |
getImageFilePaths()
Gets the map which contains the FilePath objects for all imported texture images.
|
java.util.Map<java.lang.String,javafx.scene.paint.PhongMaterial> |
getNamedMaterials()
Gets the map which contains all named and used PhongMaterial objects
from the imported file.
|
java.lang.String |
getResourceBasePath()
Gets the path where files associated with the imported 3D model file are located.
|
java.net.URL |
getResourceBaseUrl()
Gets the URL where files associated with the imported 3D model file are located.
|
void |
setResourceBasePath(java.lang.String path)
Sets the path where files associated with the imported 3D model file are located.
|
void |
setResourceBaseUrl(java.net.URL url)
Sets the URL where files associated with the imported 3D model file are located.
|
clear, close, getCreaseAngle, getImport, onFileImported, read, read, read, setCreaseAngle
java.lang.String getResourceBasePath()
null
.java.net.URL getResourceBaseUrl()
null
.void setResourceBasePath(java.lang.String path)
null
.path
- location of associated filesvoid setResourceBaseUrl(java.net.URL url)
null
.url
- location of associated filesjava.util.Map<javafx.scene.image.Image,FilePath> getImageFilePaths()
null
if no image is importedFilePath
java.util.Map<java.lang.String,javafx.scene.paint.PhongMaterial> getNamedMaterials()
null
if no material is named and usedCopyright (C) 2013-2014 InteractiveMesh e.K.