|
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.surface.PgDomainDescr
vgp.surface.common.PgSurfaceDescr
vgp.surface.common.PgSurface_CatenoidHelicoid
Parametrized surface given by method, or interactively, by function expressions.
If the functions of a surface are specified in PgSurfaceDescr#calc_f
method and, later, interactively edited, then the interactive expressions are further used.
This is important for evaluation of higher order differentials since they are only
approximated using finite differences in the later case.
| 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 | |
PgSurface_CatenoidHelicoid()
|
|
| Method Summary | |
boolean |
calc_f(PdVector fun,
double u,
double v)
Internal function called by eval(..) to compute function value. |
PsAnimation |
getAnimation()
Get the animation object of the project which handles the projects animations. |
boolean |
hasAnimation()
Check whether this project is registered as listener of an animation object. |
void |
init()
Initialize and reset data structure and all instance variables. |
boolean |
isUPeriodic()
Determine if surface is periodic in u-direction. |
void |
setAnimation(PsAnimation anAnimation)
Assign the animation object where this listener is registered. |
boolean |
setTime(PsTimeEvent timeEvent)
Animation updates the dynamic object through this method whenever time has changed. |
boolean |
update(java.lang.Object event)
Catch events from function strings. |
| Methods inherited from class vgp.surface.common.PgSurfaceDescr |
addParameter, christoffel, clone, copy, ddf_dUdU, ddf_dUdV, ddf_dVdV, df_dU, df_dV, df, dN_dU, dN_dV, dN, eval, firstFundamental, getAmbientProjection, getAmbientSpace, getDimOfSurface, getFunction, getListOfScenes, getListOfSurfaces, getParameter, getParameters, isVPeriodic, normal, secondFundamental, setAmbientProjection, setAmbientSpace, setDimOfSurface, setFunction, useFunctionExpression, useFunctionExpression, weingarten |
| Methods inherited from class jvx.surface.PgDomainDescr |
eval, getNumULines, getNumVLines, getUMax, getUMin, getVMax, getVMin, isShowingULine, isShowingVLine, setDiscr, setDiscrBounds, setMaxSize, setNumULines, setNumVLines, setSize, setUMax, setUMin, setVMax, setVMin, showULine, showVLine, toString |
| Methods inherited from class jv.object.PsObject |
addInspector, addUpdateListener, assureInspector, clearTag, clone, clone, getFather, getInfoPanel, getInspector, getName, getNumObjects, getSymbol, hasInspector, hasTag, hasUpdateListener, instanceOf, instanceOf, newInspector, newInspector, removeInspector, removeInspector, removeUpdateListener, setName, setParent, setSymbol, setTag, 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 PgSurface_CatenoidHelicoid()
| Method Detail |
public boolean isUPeriodic()
PgSurfaceDescr
isUPeriodic in class PgSurfaceDescrpublic void init()
PgDomainDescr
init in class PgSurfaceDescrpublic boolean update(java.lang.Object event)
PgSurfaceDescr
update in interface PsUpdateIfupdate in class PgSurfaceDescr
public boolean calc_f(PdVector fun,
double u,
double v)
PgSurfaceDescr
If function set flag m_bUseFunctionExpression==false then we use this indicator that
function has not been overridden and use the string functions.
This function must be overwritten by subclasses to compute surfaces, for example, if a subclass wants to perform the function calculation itself.
calc_f in class PgSurfaceDescrfun - vector where to place the function values.
true if function has been overridden and evaluated successfully.PgSurfaceDescr.eval(PdVector, double, double)public boolean setTime(PsTimeEvent timeEvent)
PsTimeListenerIf
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()
|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||