|
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.geom.PnExplodePolytope
Class to explode polytopes, that are given by a list of PgPointSet. All PgPointSets get translated by a vector defined by it's center minus a given center. This Vector gets scaled by a double value dependet to the time's double value.
| Field Summary |
| 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 | |
PnExplodePolytope(PgPointSet[] aGeomList,
PdVector center)
Constructor. |
|
| Method Summary | |
PsAnimation |
getAnimation()
Get the animation object of the project which handles the projects animations. |
PdVector |
getCenter()
Get the center of explosion. |
static void |
getDialog(PgPointSet aGeom)
Get a new PnExplode_Dialog to steer a new animation of exploding polytopes. |
static PsDialog |
getDialog(PgPointSet[] aPointSetList,
PdVector center)
Create a new instance of PnExplodePolytope and return the dialog panel. |
java.lang.String |
getName()
Return name of this PsDynamicIf. |
boolean |
hasAnimation()
Check whether this project is registered as listener of an animation object. |
void |
setAnimation(PsAnimation anAnimation)
Assign the animation object where this listener is registered. |
void |
setCenter(PdVector aVector)
Appoint the center of explosion. |
boolean |
setTime(PsTimeEvent te)
Update PgPointSets for a new time value. |
boolean |
update(java.lang.Object event)
Update, when dialog gets disposed. |
| Methods inherited from class jv.object.PsObject |
addInspector, addUpdateListener, assureInspector, clearTag, clone, clone, clone, copy, getFather, getInfoPanel, getInspector, getNumObjects, getSymbol, hasInspector, hasTag, hasUpdateListener, init, 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 |
| Constructor Detail |
public PnExplodePolytope(PgPointSet[] aGeomList,
PdVector center)
| Method Detail |
public java.lang.String getName()
getName in interface PsTimeListenerIfgetName in class PsObjectpublic void setCenter(PdVector aVector)
public PdVector getCenter()
public static PsDialog getDialog(PgPointSet[] aPointSetList,
PdVector center)
public boolean update(java.lang.Object event)
update in interface PsUpdateIfupdate in class PsObjectPsObject.setParent(PsUpdateIf),
PsObject.getFather(),
PsObject.addUpdateListener(PsUpdateIf)public boolean setTime(PsTimeEvent te)
setTime in interface PsTimeListenerIfpublic PsAnimation getAnimation()
setAnimation(PsAnimation).
getAnimation in interface PsTimeListenerIfhasAnimation(),
setAnimation(PsAnimation)public boolean hasAnimation()
hasAnimation in interface PsTimeListenerIfgetAnimation(),
setAnimation(PsAnimation)public void setAnimation(PsAnimation anAnimation)
Only one animation object may be assigned to this listener. Subsequent assignments will replace the previous assignment.
setAnimation in interface PsTimeListenerIfgetAnimation(),
hasAnimation()public static void getDialog(PgPointSet aGeom)
|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||