public class PjCurvature extends PjProject
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 |
---|
PjCurvature() |
Modifier and Type | Method and Description |
---|---|
void |
endPicking() |
PvDisplayIf |
getSphereDisplay() |
void |
init()
Initialize and reset project, stops the running animation if any.
|
void |
pickInitial(PvPickEvent p)
Pick an arbitrary point on a geometry, point may lie inside an element.
|
boolean |
setTime(PsTimeEvent ev)
Empty method, must be overwritten by subclasses to update dynamic object.
|
void |
start()
Method is invoked during loading of a project in JavaView.
|
void |
stop()
Stop all animations and auto-rotation in display.
|
boolean |
update(java.lang.Object o)
Update all inspector panels, send update to all registered update listeners
and finally update parent.
|
addDisplay, addGeometry, addGeometry, dispose, dragDisplay, dragInitial, dragVertex, fitDisplays, getAnimation, getDisplay, getDisplays, getGeometry, getGeometry, getNumGeometries, getParameter, getViewer, hasAnimation, hasDisplay, isEnabledAutoFit, markVertices, pickDisplay, pickVertex, removeDisplay, removeGeometries, removeGeometry, selectDisplay, selectGeometry, setAnimation, setBackColor, setBorderType, setDisplay, setEnabledAutoFit, setGeometry, setParameter, setViewer, unmarkVertices
addInspector, addUpdateListener, assureInspector, clearTag, clone, clone, clone, copy, getFather, getInfoPanel, getInspector, getName, getNumObjects, getSymbol, hasInspector, hasTag, hasUpdateListener, instanceOf, instanceOf, newInspector, newInspector, removeInspector, removeInspector, removeUpdateListener, setName, setParent, setSymbol, setTag, toString, updatePanels
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName
getName
public void init()
PjProject
public PvDisplayIf getSphereDisplay()
public void start()
PjProject
If a project has an animation object, then the animation panel is shown
when the project's this start() method is invoked during loading
of the project. Use setAnimation(PsAnimation)
to register an animation.
If auto fit is enabled then scenery is scaled to fit in each display.
start
in class PjProject
PvViewerIf.start()
,
PjProject.isEnabledAutoFit()
public void stop()
PjProject
stop
in class PjProject
PvViewerIf.stop()
public boolean setTime(PsTimeEvent ev)
PjProject
setTime
in interface PsTimeListenerIf
setTime
in class PjProject
public void pickInitial(PvPickEvent p)
PjProject
pickInitial
in interface PvPickListenerIf
pickInitial
in class PjProject
p
- Pick event issued by the displayPvPickListenerIf
public void endPicking()
public boolean update(java.lang.Object o)
PsObject
Central 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 interface PsUpdateIf
update
in class PsObject
o
- carries a lot of informationPsObject.setParent(PsUpdateIf)
,
PsObject.getFather()
,
PsObject.addUpdateListener(PsUpdateIf)
"