JavaView® v2.12

vgp.surface.common
Class PgSurface_CatenoidHelicoid

java.lang.Object
  |
  +--jv.object.PsObject
        |
        +--jvx.surface.PgDomainDescr
              |
              +--vgp.surface.common.PgSurfaceDescr
                    |
                    +--vgp.surface.common.PgSurface_CatenoidHelicoid
All Implemented Interfaces:
java.lang.Cloneable, PsTimeListenerIf, PsUpdateIf, java.io.Serializable

public class PgSurface_CatenoidHelicoid
extends PgSurfaceDescr
implements PsTimeListenerIf

Parametrized surface given by method, or interactively, by function expressions. If the functions of a surface are specified in 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.

Version:
00.00.99, 1.00 revised (sk)
00.00.99, 1.00 created (sk)
Author:
Samy Khadem
See Also:
Serialized Form

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
PgSurface_CatenoidHelicoid()
           
 
Method Summary
 boolean calc_f(PdVector fun, double u, double v)
           
 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()
           
 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, 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
 
Methods inherited from class jv.object.PsObject
addInspector, addUpdateListener, assureInspector, clearTag, clone, clone, clone, copy, getFather, getInfoPanel, getInspector, getName, getNumObjects, hasInspector, hasTag, hasUpdateListener, 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

PgSurface_CatenoidHelicoid

public PgSurface_CatenoidHelicoid()
Method Detail

isUPeriodic

public boolean isUPeriodic()
Overrides:
isUPeriodic in class PgSurfaceDescr

init

public void init()
Description copied from class: PgDomainDescr
Initialize and reset data structure and all instance variables.
Overrides:
init in class PgSurfaceDescr

update

public boolean update(java.lang.Object event)
Description copied from class: PgSurfaceDescr
Catch events from function strings. Update the class whenever a child has changed. Method is usually invoked from the children.
Overrides:
update in class PgSurfaceDescr
Following copied from class: jv.object.PsObject
See Also:
PsObject.setParent(PsUpdateIf), PsObject.getFather(), PsObject.addUpdateListener(PsUpdateIf)

calc_f

public boolean calc_f(PdVector fun,
                      double u,
                      double v)

setTime

public boolean setTime(PsTimeEvent timeEvent)
Description copied from interface: PsTimeListenerIf
Animation updates the dynamic object through this method whenever time has changed.
Specified by:
setTime in interface PsTimeListenerIf

getAnimation

public PsAnimation getAnimation()
Get the animation object of the project which handles the projects animations. This listener may only have a single animation object which is assigned by the animation object when this listener is registered using setAnimation(PsAnimation).
Specified by:
getAnimation in interface PsTimeListenerIf
See Also:
hasAnimation(), setAnimation(PsAnimation)

hasAnimation

public boolean hasAnimation()
Check whether this project is registered as listener of an animation object.
Specified by:
hasAnimation in interface PsTimeListenerIf
See Also:
getAnimation(), setAnimation(PsAnimation)

setAnimation

public void setAnimation(PsAnimation anAnimation)
Assign the animation object where this listener is registered. This method is invoked by the animation object during registration of this listener, and usually is not required to be called by a user. If this listener has an assigned animation object, then its animation panel may be shown to change the current time of this listener.

If this project has an animation object assigned in its constructor or init() method, then the animation panel is shown when the project's start() method is invoked during loading of the project.

Only one animation object may be assigned to this listener. Subsequent assignments will replace the previous assignment.

Specified by:
setAnimation in interface PsTimeListenerIf
See Also:
getAnimation(), hasAnimation()

JavaView® v2.12

The software JavaView® is copyright protected. All Rights Reserved.