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

Class PjLSystem

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


    public class PjLSystem
    extends PjProject
    Generate a tree with a context-free L-system.
    See Also:
    Serialized Form
    Author:
    Konrad Polthier
    Version:
    06.02.03, 2.50 revised (kp) Optimize memory allocation in makePolygonSet.
    30.10.01, 2.00 revised (kp) Converted into a project.
    16.02.00, 1.00 created (kp)
    • Constructor Detail

      • PjLSystem

        public PjLSystem()
    • 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()
      • recompute

        public void recompute()
        Recompute the polygon based on the current L-System. The polygon is updated in the display.
"JavaView? v5.03.003"

"

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

Ads help maintain this website.