Documentation of 'vgp.tutor.vectorField.PjVectorField' Java class
PjVectorField ("JavaView Reference Manual")
"JavaView? v5.03.003"
vgp.tutor.vectorField

Class PjVectorField

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


    public class PjVectorField
    extends PjProject
    Tutorial project on gradient and co-gradient vector fields. Sample vector field is gradient or co-gradient of a potential on a square grid. User may interactively modify potential by marking or unmarking vertices.
    See Also:
    PgVectorField, Serialized Form
    Author:
    Konrad Polthier
    Version:
    11.11.02, 2.01 revised (ep) Corrected update handling.
    19.10.01, 2.00 created (ep) Major revision.
    18.09.99, 1.00 created (kp)
    • Field Detail

      • GRADIENT

        public static final int GRADIENT
        Vectorfield is gradient of potential.
        See Also:
        Constant Field Values
      • ROTATION

        public static final int ROTATION
        Vectorfield is J*gradient of potential.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PjVectorField

        public PjVectorField()
    • Method Detail

      • init

        public void init()
        Description copied from class: PjProject
        Initialize and reset project, stops the running animation if any. Does not reset any registered display nor geometry. They must be reset individually in each subclass.
        Overrides:
        init in class PjProject
      • start

        public void start()
        Description copied from class: PjProject
        Method is invoked during loading of a project in JavaView.

        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.

        Overrides:
        start in class PjProject
        See Also:
        PvViewerIf.start(), PjProject.isEnabledAutoFit()
      • computeVectorfield

        public void computeVectorfield()
"JavaView? v5.03.003"

"

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

Ads help maintain this website.