|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object simbad.sim.BaseObject simbad.sim.Device
A abstract device, base class for sensorDevice and ActuatorDevice. The class manages an update rate which will be used by the simulator.
Method Summary | |
void |
attach()
Re-add object to the scenegraph. |
javax.swing.JPanel |
createInspectorPanel()
Creates the panel associated to the device. |
void |
detach()
Removes object from the scenegraph. |
boolean |
getCanBeTraversed()
Gets the canBeTraversed Flag. |
java.lang.String |
getName()
|
void |
getRotationTransform(javax.media.j3d.Transform3D t)
Obtain rotation transform. |
void |
getTranslationTransform(javax.media.j3d.Transform3D t)
Obtain translation transform. |
double |
getUpdatePerSecond()
Returns the number of updates per second requested for this sensor. |
void |
rotateY(double angle)
Rotates (relative to current rotation) the object about Y axis. |
void |
setCanBeTraversed(boolean canbetraversed)
Sets the canBeTraversed Flag. |
void |
setColor(javax.vecmath.Color3f color)
Change the color while the simulation is running. |
void |
setUpdateOnEachFrame(boolean on)
Sets if update happens on each frame . |
void |
setUpdatePerSecond(double ups)
Sets the number of update per seconds for this sensor. |
void |
translateTo(javax.vecmath.Vector3d t)
Translates (relative to current pos) the object to given position. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.lang.String getName()
public javax.swing.JPanel createInspectorPanel()
public void setUpdatePerSecond(double ups)
public void setUpdateOnEachFrame(boolean on)
public double getUpdatePerSecond()
public void translateTo(javax.vecmath.Vector3d t)
public void rotateY(double angle)
public void getTranslationTransform(javax.media.j3d.Transform3D t)
public void getRotationTransform(javax.media.j3d.Transform3D t)
public void detach()
public void attach()
public void setCanBeTraversed(boolean canbetraversed)
public boolean getCanBeTraversed()
public void setColor(javax.vecmath.Color3f color)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |