|
JavaView® v2.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--jv.object.PsObject
|
+--jvx.geom.PwUnfold
Workshop for unfolding of geometries. Unfolding is animatable.
Optionally splices are generated, this can be used to create a
paper model of the geometry.
Workshop is still in an experimental status.
| Fields inherited from class jv.object.PsObject |
HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_MATERIAL_PANEL, HAS_TEXTURE_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_SELECTED, IS_USED, NUM_TAGS |
| Constructor Summary | |
PwUnfold()
Constructor. |
|
| Method Summary | |
void |
generateSplice()
Methode add splices to the unfolded geometry. |
PsAnimation |
getAnimation()
Get the animation object where this listener is registered. |
PgElementSet |
getGeometry()
Get current geometry. |
boolean |
hasAnimation()
Check whether this object is registered as listener of an animation object. |
void |
removeSplice()
Removes the splices generated be generateSplice. |
void |
setAnimation(PsAnimation anim)
Assign the animation object where this listener is registered. |
void |
setGeometry(PgElementSet geom)
Set geometry to be worked on. |
boolean |
setTime(PsTimeEvent timeEvent)
Animation updates the dynamic object through this method whenever time has changed. |
void |
unfold()
Method unfolds the geometry. |
boolean |
update(java.lang.Object event)
Update all inspector panels, send update to all registered update listeners and finally update parent. |
| Methods inherited from class jv.object.PsObject |
addInspector, addUpdateListener, assureInspector, clearTag, clone, clone, clone, copy, getFather, getInfoPanel, getInspector, getName, getNumObjects, hasInspector, hasTag, hasUpdateListener, init, instanceOf, instanceOf, removeInspector, removeUpdateListener, setName, setParent, setTag, toString, updatePanels |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jv.anim.PsTimeListenerIf |
getName |
| Constructor Detail |
public PwUnfold()
| Method Detail |
public void setGeometry(PgElementSet geom)
geom - must be a triangulation.public PgElementSet getGeometry()
public void generateSplice()
public void removeSplice()
public boolean update(java.lang.Object event)
PsObjectCentral update method of this object. Must be overwritten if this class receives unknown events, say, from new children. Any subclass must class invoke super.update(event) on all events it does handle itself.
update in class PsObjectjv.object.PsObjectPsObject.setParent(PsUpdateIf),
PsObject.getFather(),
PsObject.addUpdateListener(PsUpdateIf)public void unfold()
public PsAnimation getAnimation()
PsTimeListenerIfsetAnimation(PsAnimation).getAnimation in interface PsTimeListenerIfjv.anim.PsTimeListenerIfPsTimeListenerIf.hasAnimation(),
PsTimeListenerIf.setAnimation(PsAnimation)public boolean hasAnimation()
PsTimeListenerIfhasAnimation in interface PsTimeListenerIfjv.anim.PsTimeListenerIfPsTimeListenerIf.getAnimation(),
PsTimeListenerIf.setAnimation(PsAnimation)public void setAnimation(PsAnimation anim)
PsTimeListenerIfOnly one animation object may be assigned to this listener. Subsequent assignments will replace the previous assignment.
setAnimation in interface PsTimeListenerIfjv.anim.PsTimeListenerIfPsTimeListenerIf.getAnimation(),
PsTimeListenerIf.hasAnimation()public boolean setTime(PsTimeEvent timeEvent)
PsTimeListenerIfsetTime in interface PsTimeListenerIf
|
JavaView® v2.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||