Documentation of 'jvx.geom.PwEvolve' Java class
PwEvolve ("JavaView Reference Manual")
"JavaView? v5.03.003"
jvx.geom

Class PwEvolve

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, PsTimeListenerIf, PsUpdateIf, PjWorkshopIf


    public class PwEvolve
    extends PjWorkshop
    implements PsTimeListenerIf
    Evolve geometries in direction of a given vector field. For example, the vector field may be the vertex normal or a user defined vector field.

    Not implemented yet: mean and Gauss curvature vectors.

    See Also:
    Serialized Form
    Author:
    Konrad Polthier
    Version:
    11.08.14, 3.10 revised (kp) Repeat parameter of animation set to one-way.
    10.12.06, 3.00 revised (kp) Renamed to PwEvolve from PjEvolve.
    30.03.03, 2.10 revised (kp) Optional update of normals implemented.
    28.12.01, 2.00 revised (kp) Full revision when incorporating the new workshop handling.
    16.12.00, 1.10 revised (kp) Missing dependencies implemented.
    22.09.00, 1.00 created (kp)
    • Constructor Detail

      • PwEvolve

        public PwEvolve()
        Constructor
    • Method Detail

      • init

        public void init()
        Initialization
        Overrides:
        init in class PjWorkshop
      • reset

        public void reset()
        Reset workshop and geometry to original state.
        Overrides:
        reset in class PjWorkshop
      • setGeometry

        public void setGeometry(PgPointSet geom)
        Assign geometry on which this workshop operates.
      • close

        public void close()
        Close this workshop, and here, stop and remove any animation.
        Overrides:
        close in class PjWorkshop
      • isEnabledFlip

        public boolean isEnabledFlip()
        Check if direction of flow is flip against direction of vector field.
        Since:
        JavaView 2.60.001
        Version:
        11.03.03, 1.00 created (kp)
      • setEnabledFlip

        public void setEnabledFlip(boolean flag)
        Set if direction of flow is flip against direction of vector field.
        Since:
        JavaView 2.60.001
        Version:
        11.03.03, 1.00 created (kp)
      • isEnabledUpdateNormals

        public boolean isEnabledUpdateNormals()
        Check if update of normal vectors after each timestep is enabled.
        Since:
        JavaView 2.66.001
        Version:
        30.03.03, 1.00 created (kp)
      • setEnabledUpdateNormals

        public void setEnabledUpdateNormals(boolean flag)
        Enable update of normal vectors after each timestep.
        Since:
        JavaView 2.66.001
        Version:
        30.03.03, 1.00 created (kp)
      • getOffsetFactor

        public double getOffsetFactor()
        Get evolution distance. The evolution distance is equal to offsetFactor*vector.
      • setOffsetFactor

        public void setOffsetFactor(double offsetFactor)
        Set evolution distance. The evolution distance is equal to offsetFactor*vector.
      • compute

        public void compute()
        Evolve geometry in direction of the currently active evolution type. The evolution distance is equal to offsetFactor*vector.
      • start

        public void start()
        Create a new animation and start it.
        Version:
        11.08.14, 1.10 revised (kp) Repeat set to one-way.
      • stop

        public void stop()
        Stop the animation.
      • 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.
"

Ads help maintain this website.