ants.move.builder
Class Item
java.lang.Object
|
+--ants.move.builder.Item
- All Implemented Interfaces:
- java.io.Serializable
- public class Item
- extends java.lang.Object
- implements java.io.Serializable
Class that stores all information of a thing or a model in the 3D environment
- Author:
- Oriol Montalà (omontala@tinet.org), Carles Pairot (cpairot@tinet.org)
- See Also:
- Serialized Form
Constructor Summary |
Item()
Constructor |
Item(java.lang.String n,
float[] t,
float[] s,
float[] r)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Item
public Item()
- Constructor
- Parameters:
params
- None- Throws:
exceptions
- No exceptions thrown
Item
public Item(java.lang.String n,
float[] t,
float[] s,
float[] r)
setType
public void setType(java.lang.String t)
getToolId
public java.lang.String getToolId()
setToolId
public void setToolId(java.lang.String tId)
getType
public java.lang.String getType()
setRotation
public void setRotation(float[] r)
getRotation
public float[] getRotation()
setScale
public void setScale(float[] s)
getScale
public float[] getScale()
setName
public void setName(java.lang.String n)
getName
public java.lang.String getName()
getTranslation
public float[] getTranslation()
setTranslation
public void setTranslation(float[] t)
addProperty
public void addProperty(java.lang.String key,
java.lang.String value)
getProperty
public java.lang.String getProperty(java.lang.String key)
getProperties
public java.util.Hashtable getProperties()
Developers: Oriol Montala, Carles Pairot, Francesc Pinas2000 - 2002
Departament d'Enginyeria Informatica i Matematiques
Escola Tecnica Superior d'Enginyeria
Universitat Rovira i Virgili