package org.helioviewer.gl3d.plugin.pfss.settings;

import org.helioviewer.gl3d.scenegraph.math.GL3DVec3f;

/**
 * Important settings
 *
 * @author Stefan Meier (stefan.meier@fhnw.ch)
 * */
public class PfssSettings {

    /**
     * Needed for the JHV plugin initialization
     */
    public final static String PLUGIN_LOCATION = "PfssPlugin";

    /**
     * Maximal preload of cache data.
     */
    public final static int PRELOAD = 0;

    /**
     * Maximal preload of cache data.
     */
    public final static int CACHE_SIZE = 125;

    /**
     * Stepsize for the Loading data
     */
    public final static int LOD_STEPS = 1;

    /**
     * URL of the dataserver
     */
    public final static String INFOFILE_URL = "http://soleil.i4ds.ch/sol-win/";

    /**
     * Color of the line (from sunradius to outside)
     */
    public final static GL3DVec3f SUN_OUT_LINE_COLOR = new GL3DVec3f(0f, 1f, 0f);

    /**
     * Color of the line (from outside to sunradius)
     */
    public final static GL3DVec3f OUT_SUN_LINE_COLOR = new GL3DVec3f(1f, 0f, 1f);

    /**
     * Color of the line (from sunradius to sunradius)
     */
    public final static GL3DVec3f SUN_SUN_LINE_COLOR = new GL3DVec3f(1f, 1f, 1f);

    /**
     * Alpha-value of lines
     */
    public final static float LINE_ALPHA = 1.0f;

    /**
     * Cos of angle for LOD in degree or radian, if you would use degree
     * Math.toRadian(DEGREEVALUE))
     */
    public final static double ANGLE_OF_LOD = Math.cos(Math.toRadians(5.0));

    /**
     * Linewidth for the OpenGL visualization
     */
    public final static float LINE_WIDTH = 0.6f;

    public final static int POINTS_PER_LINE = 40;

    public static String baseUrl = "http://swhv.oma.be/magtest/pfss/";

    public static int qualityReduction = 8;

    public static boolean fixedColor = false;
}

@@ -1316,210 +1316,8 @@
 f;%0A%0A
-    /**%0A     * Cos of angle for LOD in degree or radian, if you would use degree%0A     * Math.toRadian(DEGREEVALUE))%0A     */%0A    public final static double ANGLE_OF_LOD = Math.cos(Math.toRadians(5.0));%0A%0A
     

Remove unused setting