|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjv.object.PsObject
jvx.project.PjWorkshop
jvx.geom.PwExplode
Class to blast PgElementSets.
| Field Summary | |
PsAnimation |
m_anim
|
| Fields inherited from class jv.object.PsObject |
HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_LABEL_PANEL, HAS_MATERIAL_PANEL, HAS_TEXTURE_PANEL, HAS_VECTOR_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_FOCUSSED, IS_PICKED, IS_SELECTED, IS_USED, NUM_TAGS |
| Constructor Summary | |
PwExplode()
Constructor. |
|
| Method Summary | |
void |
cancel()
Cancel operation of this workshop by resetting the assigned geometry, and finally close this workshop. |
void |
close()
Stop animation and close the workshop. |
PsAnimation |
getAnimation()
Get the explosion animation. |
double |
getGravity()
Get the constant of gravity. |
java.lang.String |
getName()
Return name of this PsTimeListenerIf. |
double |
getRotationSpeed()
Get the speed of rotation for parts of the exploded geometry. |
double |
getSpeed()
Get the speed of parts of the geometry relative to the center of explosion. |
boolean |
hasAnimation()
Affirm, that there is an animation. |
void |
reset()
Initialization. |
void |
runOnce(boolean flag)
Flag to loop the explosion or to run just once. |
void |
setAnimation(PsAnimation anAnimation)
Assign an animation to be used for the explosion. |
void |
setGravity(double gravity)
Define the constant of gravity. |
void |
setRotationSpeed(double rotationSpeed)
Define a speed of rotation for parts of the exploded geometry. |
void |
setSpeed(double speed)
Define the speed of parts of the geometry relative to the center of explosion. |
boolean |
setTime(double time)
Compute the explosion of the geometry for a given time. |
boolean |
setTime(PsTimeEvent timeEvent)
Update the geometry for every new time step. |
| Methods inherited from class jvx.project.PjWorkshop |
getDisplay, getDisplays, getGeometry, getSavedGeometry, getViewer, init, isModal, ok, removeGeometry, setDisplay, setDisplays, setGeometry, setModal, setViewer, update |
| Methods inherited from class jv.object.PsObject |
addInspector, addUpdateListener, assureInspector, clearTag, clone, clone, clone, copy, getFather, getInfoPanel, getInspector, getNumObjects, getSymbol, hasInspector, hasTag, hasUpdateListener, instanceOf, instanceOf, newInspector, newInspector, removeInspector, removeInspector, removeUpdateListener, setName, setParent, setSymbol, setTag, toString, updatePanels |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jv.object.PsUpdateIf |
getFather, setParent |
| Field Detail |
public PsAnimation m_anim
| Constructor Detail |
public PwExplode()
| Method Detail |
public void reset()
reset in class PjWorkshoppublic boolean hasAnimation()
hasAnimation in interface PsTimeListenerIfPsTimeListenerIf.getAnimation(),
PsTimeListenerIf.setAnimation(PsAnimation)public void setAnimation(PsAnimation anAnimation)
setAnimation in interface PsTimeListenerIfPsTimeListenerIf.getAnimation(),
PsTimeListenerIf.hasAnimation()public PsAnimation getAnimation()
getAnimation in interface PsTimeListenerIfPsTimeListenerIf.hasAnimation(),
PsTimeListenerIf.setAnimation(PsAnimation)public void setSpeed(double speed)
public double getSpeed()
public void setGravity(double gravity)
public double getGravity()
public void setRotationSpeed(double rotationSpeed)
public double getRotationSpeed()
public void runOnce(boolean flag)
public java.lang.String getName()
getName in interface PsTimeListenerIfgetName in class PsObjectpublic boolean setTime(PsTimeEvent timeEvent)
setTime in interface PsTimeListenerIfpublic boolean setTime(double time)
public void cancel()
cancel in class PjWorkshoppublic void close()
close in class PjWorkshop
|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||