Class OrbitViewEyePointAnimator

  • All Implemented Interfaces:
    Animator

    public class OrbitViewEyePointAnimator
    extends java.lang.Object
    implements Animator
    • Field Detail

      • globe

        protected Globe globe
      • eyePoint

        protected Vec4 eyePoint
      • smoothing

        protected double smoothing
      • hasNext

        protected boolean hasNext
    • Constructor Detail

      • OrbitViewEyePointAnimator

        public OrbitViewEyePointAnimator​(Globe globe,
                                         BasicOrbitView view,
                                         Vec4 eyePoint,
                                         double smoothing)
    • Method Detail

      • setEyePoint

        public void setEyePoint​(Vec4 eyePoint)
      • start

        public void start()
        Description copied from interface: Animator
        Starts the Animator. The implemenation should return true from hasNext
        Specified by:
        start in interface Animator
      • stop

        public void stop()
        Description copied from interface: Animator
        Stops the Animator. The implmenentation should return false from hasNext
        Specified by:
        stop in interface Animator
      • hasNext

        public boolean hasNext()
        Description copied from interface: Animator
        Returns true if the Animator has more elements.
        Specified by:
        hasNext in interface Animator
        Returns:
        true if the Animator has more elements.
      • set

        public void set​(double interpolant)
        Description copied from interface: Animator
        Set the value of the attached property to the value associated with this interpolant value.
        Specified by:
        set in interface Animator
        Parameters:
        interpolant - A value between 0 and 1.
      • next

        public void next()
        Description copied from interface: Animator
        Iterates to the next value. The implementation is expected to apply that next value to the property it is attached to.
        Specified by:
        next in interface Animator