예제 #1
0
        public SinFilter()
        {
            a = new NumericFilterParam("a");
            k = new NumericFilterParam("k");
            h = new NumericFilterParam("h");
            b = new NumericFilterParam("b");

            a.Value = 1.0;
            k.Value = 0.0;
            h.Value = 1.0;
            b.Value = 0.0;

            a.min = -10.0;
            a.max = 10.0;
            a.inc = 0.01;

            k.min = -10.0;
            k.max = 10.0;
            k.inc = 1.0;

            h.min = -4.0;
            h.max = 4.0;
            h.inc = 0.50;

            b.min = -10.0;
            b.max = 10.0;
            b.inc = 1.0;
        }
예제 #2
0
 public ScalingFilter()
 {
     m       = new NumericFilterParam("m");
     m.Value = 1.0;
 }