public class PnExplodePolytope extends PsObject implements PsTimeListenerIf
HAS_BOUNDARY_PANEL, 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 and Description |
|---|
PnExplodePolytope(PgPointSet[] aGeomList,
PdVector center)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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, updatePanelspublic PnExplodePolytope(PgPointSet[] aGeomList, PdVector center)
public java.lang.String getName()
getName in interface PsTimeListenerIfgetName in interface PsUpdateIfgetName 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 PsObjectevent - carries a lot of informationPsObject.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)
"