WeierstrassMinimalSurface
vmm3d.surface.parametric

Class WeierstrassMinimalSurface

    • Constructor Detail

      • WeierstrassMinimalSurface

        public WeierstrassMinimalSurface()
    • Method Detail

      • surfaceNormal

        public Vector3D surfaceNormal(double u,                     double v)
        The surface normal is called often while rendering the surface. For Weierstrass surfaces the normal is known well before the surface points are known. The normal should never be computed numerically. Therefore the following overrides the numerical differentiation.
        Overrides:
        surfaceNormal in class SurfaceParametric
      • surfacePoint

        public Vector3D surfacePoint(double u,                    double v)
        This function lets a minimal surface that is defined by Weierstrass Data behave as if it were given by an explicit parametrization.
        Specified by:
        surfacePoint in class SurfaceParametric
      • helperToMinimal

        public ComplexVector3D helperToMinimal(ComplexVector3D hp)
        The integrated values that are collected in ComplexVector3D[][] helperArray are here converted to points of the holomorphic null curve in C^3 whose real and imaginary parts are minimal surfaces in R^3.
      • createHelperArray

        public void createHelperArray()
        The helperArray is filled with auxiliary data from which the surface points can be computed quickly in public Vector3D surfacePoint(double u, double v). The routine can either start with the i-line j=0 first and use these values to start the integration along the j-curves -- or it can do the j-curve i=0 first and compute the i-curves from there. One tries to have no singular or numerically difficult points on the first curve.
      • computeHalfPeriod

        public void computeHalfPeriod()
      • getAdditionalAnimationsForView

        public ActionList getAdditionalAnimationsForView(View view)
        Description copied from class: Exhibit
        This method returns a list of ActionItem that will be added to the Animation menu of the 3dxm applicaiton. The values in the list should ordinarily be commands (i.e. AbstractActionVMM) that run animations (although there is no way to enforce this restriction). These animations commands are in addition to the standard "Morph" and "Cyclic Morph" commands. Note that these commands are added to those returned by View#getAdditionalAnimations().

        In this top-level Exhibit class, the return value is a an empty list (but not null). In general, when overriding this method, subclasses should call "super.getAdditionalAnimationsForView()" to obtain a list of actions from the superclass. It can then add additional actions or remove or disable actions that are in the list from the superclass.

        Overrides:
        getAdditionalAnimationsForView in class Exhibit
        Parameters:
        view - The view in which the animations will be run.
      • getNumberOfPieces

        public int getNumberOfPieces()
      • setNumberOfPieces

        public void setNumberOfPieces(int numberOfPieces)
      • parameterChanged

        public void parameterChanged(Parameter param,                    Object oldValue,                    Object newValue)
        Description copied from class: Exhibit
        This method will be called automatically when a parameter that has been added to this Exhibit is changed. It should not ordinarily be called directly. Note that in fact, this method simply calls forceRedraw. This method is defined in the <@link Parameterizable} interface.
        Specified by:
        parameterChanged in interface Parameterizable
        Overrides:
        parameterChanged in class Exhibit
        Parameters:
        param - The Parmeter whose value has been set.
        oldValue - The previous value of the parameter.
        newValue - The new, current value of the parameter. This is not necessarily guaranteed to be different from the old value (although it is for parameters definedin the VMM core).
        See Also:
        Exhibit.forceRedraw()
      • getDefaultView

        public View getDefaultView()
        Description copied from class: Surface
        Returns a default view of this exhibit, a View of type SurfaceView. (Note: If a Surface is displayed in a plain View3D, it will always appear as a wireframe.)
        Overrides:
        getDefaultView in class Surface

SCaVis 2.2 © jWork.ORG