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

Class PjTransform

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


    public class PjTransform
    extends PjProject
    Demo project to use ambient transformations in ambient space forms. Project loads the cube in 4D space with 4-dimensional coordinates. Sliders are used to rotate the cube in 4D by adjusting the ambient transformation matrix of the geometry.
    See Also:
    Serialized Form
    Author:
    Konrad Polthier
    Version:
    09.06.06, 2.00 created (kp) Based on former PjTransform, now uses modelMatrix instead of changing vertex coordinates.
    21.10.00, 1.10 revised (kp) Move loading of geometry into start() method from init().
    25.12.99, 1.00 created (kp)
    • Constructor Detail

      • PjTransform

        public PjTransform()
    • 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()
      • rotateXW

        public void rotateXW(double angleXW)
      • rotateYW

        public void rotateYW(double angleYW)
      • rotateZW

        public void rotateZW(double angleZW)
"JavaView? v5.03.003"

"

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

Ads help maintain this website.