org.jdesktop.wonderland.client.jme.artimport
Class ImportedModel

java.lang.Object
  extended by org.jdesktop.wonderland.client.jme.artimport.Model
      extended by org.jdesktop.wonderland.client.jme.artimport.ImportedModel
All Implemented Interfaces:
java.io.Serializable

public class ImportedModel
extends Model

Author:
paulby
See Also:
Serialized Form

Constructor Summary
ImportedModel(java.net.URL originalFile, java.util.Map<java.net.URL,java.lang.String> textureFileMapping)
           
 
Method Summary
 java.lang.String getDeployedModelURL()
          The URL of the dep file
 java.lang.String getDeploymentBaseURL()
           
 org.jdesktop.mtgame.Entity getEntity()
           
 ImportSettings getImportSettings()
           
 com.jme.scene.Node getModelBG()
           
 ModelLoader getModelLoader()
           
 com.jme.scene.Node getRootBG()
          Get the root node for this scene, this will be a parent (or grand parent) of modelBG
 java.util.Map<java.net.URL,java.lang.String> getTextureFiles()
           
 void setDeployedModelURL(java.lang.String string)
          The URL of the dep file
 void setDeploymentBaseURL(java.lang.String deploymentBaseURL)
           
 void setEntity(org.jdesktop.mtgame.Entity entity)
           
 void setImportSettings(ImportSettings importSettings)
           
 void setModelBG(com.jme.scene.Node loadedRoot)
           
 void setModelLoader(ModelLoader modelLoader)
           
 
Methods inherited from class org.jdesktop.wonderland.client.jme.artimport.Model
getAllOriginalModels, getOrientation, getOriginalURL, getScale, getTranslation, getWonderlandName, setOrientation, setScale, setTranslation, setWonderlandName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImportedModel

public ImportedModel(java.net.URL originalFile,
                     java.util.Map<java.net.URL,java.lang.String> textureFileMapping)
Method Detail

getTextureFiles

public java.util.Map<java.net.URL,java.lang.String> getTextureFiles()
Returns:
the textureFiles

getImportSettings

public ImportSettings getImportSettings()
Returns:
the importSettings

setImportSettings

public void setImportSettings(ImportSettings importSettings)
Parameters:
importSettings - the importSettings to set

getModelLoader

public ModelLoader getModelLoader()
Returns:
the modelLoader

setModelLoader

public void setModelLoader(ModelLoader modelLoader)
Parameters:
modelLoader - the modelLoader to set

getModelBG

public com.jme.scene.Node getModelBG()
Returns:
the loadedRoot

getRootBG

public com.jme.scene.Node getRootBG()
Get the root node for this scene, this will be a parent (or grand parent) of modelBG

Returns:

setModelBG

public void setModelBG(com.jme.scene.Node loadedRoot)
Parameters:
loadedRoot - the loadedRoot to set

getEntity

public org.jdesktop.mtgame.Entity getEntity()
Returns:
the entity

setEntity

public void setEntity(org.jdesktop.mtgame.Entity entity)
Parameters:
entity - the entity to set

getDeploymentBaseURL

public java.lang.String getDeploymentBaseURL()
Returns:
the deploymentBaseURL

setDeploymentBaseURL

public void setDeploymentBaseURL(java.lang.String deploymentBaseURL)
Parameters:
deploymentBaseURL - the deploymentBaseURL to set

setDeployedModelURL

public void setDeployedModelURL(java.lang.String string)
The URL of the dep file

Parameters:
string -

getDeployedModelURL

public java.lang.String getDeployedModelURL()
The URL of the dep file



Open Wonderland - http://openwonderland.org