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

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

public class Model
extends java.lang.Object
implements java.io.Serializable

Author:
paulby
See Also:
Serialized Form

Constructor Summary
protected Model()
           
  Model(java.net.URL originalFile)
           
 
Method Summary
 java.net.URL[] getAllOriginalModels()
          Get the urls of all the model files, [0] is the primary file
 com.jme.math.Vector3f getOrientation()
           
 java.net.URL getOriginalURL()
           
 com.jme.math.Vector3f getScale()
           
 com.jme.math.Vector3f getTranslation()
           
 java.lang.String getWonderlandName()
           
 void setOrientation(com.jme.math.Vector3f orientation)
           
 void setScale(com.jme.math.Vector3f scale)
           
 void setTranslation(com.jme.math.Vector3f translation)
           
 void setWonderlandName(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Model

protected Model()

Model

public Model(java.net.URL originalFile)
Method Detail

getAllOriginalModels

public java.net.URL[] getAllOriginalModels()
Get the urls of all the model files, [0] is the primary file

Returns:

getOriginalURL

public java.net.URL getOriginalURL()
Returns:
the originalFile

getTranslation

public com.jme.math.Vector3f getTranslation()

setTranslation

public void setTranslation(com.jme.math.Vector3f translation)

getOrientation

public com.jme.math.Vector3f getOrientation()

setOrientation

public void setOrientation(com.jme.math.Vector3f orientation)

setScale

public void setScale(com.jme.math.Vector3f scale)

getScale

public com.jme.math.Vector3f getScale()

getWonderlandName

public java.lang.String getWonderlandName()

setWonderlandName

public void setWonderlandName(java.lang.String name)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Open Wonderland - http://openwonderland.org