Documentation of 'vgp.discrete.harmonic.PgSurfacePair' Java class
PgSurfacePair ("JavaView Reference Manual")
"JavaView? v5.03.003"
vgp.discrete.harmonic

Class PgSurfacePair

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, PsTimeListenerIf, PsUpdateIf, PgGeometryIf
    Direct Known Subclasses:
    PgHarmonicMap


    public class PgSurfacePair
    extends PgGeometry
    implements PsTimeListenerIf
    Maps between surfaces are given by specifying a domain and an image surface. Additionally, image surface may have a conjugate surface and a continuous, animatable 1-parameter family between surface and its conjugate.
    See Also:
    Serialized Form
    Author:
    Konrad Polthier
    Version:
    21.12.00, 2.50 revised (kp) Working on full non-conforming mesh.
    21.07.99, 2.00 revised (kp) Instance Energy of subclass removed.
    00.00.98, 1.00 created (kp)
    • Constructor Detail

      • PgSurfacePair

        public PgSurfacePair(int domainDim,
                             int imageDim)
    • Method Detail

      • init

        public void init()
        Description copied from class: PgGeometry
        Initializes and resets geometry.
        Overrides:
        init in class PgGeometry
      • update

        public boolean update(java.lang.Object event)
        Description copied from class: PgGeometry
        Update method of geometry updates registered panels, update listeners, and invokes a repaint in the registered displays.

        Usage:

        1. 1. event == this : geometry has changed, all panels will be updated.
        2. 2. event == null : geometry has changed, no need to update a panel.
        3. 3. event == a panel : geometry has changed, all panels except 'panel' will be updated.
        4. 4. event == else : unhandled event, error.
        Panels are not updated if they have not been created yet, or if they are not visible.

        Any update is forwarded to the parent of the geometry with the geometry as event.

        Any update is forwarded to each registered display with the geometry as event which leads to a repaint of the display.

        Specified by:
        update in interface PsUpdateIf
        Overrides:
        update in class PgGeometry
        Parameters:
        event - carries a lot of information
        Returns:
        true if event has been handled, otherwise false
        See Also:
        PsObject.setParent(PsUpdateIf), PsObject.getFather(), PsObject.addUpdateListener(PsUpdateIf)
      • setActiveSurface

        public void setActiveSurface(int type)
      • computeAssociate

        public boolean computeAssociate(double t)
        Compute associate family by interpolating between surface and dual. Use info panel to start animation sequence.
      • setSurface

        public void setSurface(PgElementSet geom,
                               int type)
      • conjugate

        public boolean conjugate()
      • conjugateToFull

        public boolean conjugateToFull()
      • 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.

        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? v5.03.003"

"

The software JavaView? is copyright protected. All Rights Reserved.
"

You see the box below because you did not login.