Beispiel #1
0
        public override OrderedDictionary DefaultParam()
        {
            OrderedDictionary     dict           = new OrderedDictionary();
            ParameterGroup        pg1            = new ParameterGroup();
            List <ParameterGroup> outParamGroups = new List <ParameterGroup>();

            outParamGroups.Add(pg1);

            dict["Size"] = pg1;
            pg1.Add(new Parameter(42f, 42f, 80f, 0.01f));
            pg1.Add(new Parameter(18f, 3f, 100f, 0.01f));
            pg1.Add(new Parameter(12f, 12f, 40f, 0.01f));

            return(dict);
        }
Beispiel #2
0
        public override OrderedDictionary DefaultParam()
        {
            OrderedDictionary     dict           = new OrderedDictionary();
            ParameterGroup        pg1            = new ParameterGroup();
            ParameterGroup        pg2            = new ParameterGroup();
            List <ParameterGroup> outParamGroups = new List <ParameterGroup>();

            outParamGroups.Add(pg1);
            outParamGroups.Add(pg2);

            dict["DivisionSize"] = pg1;
            pg1.Add(new Parameter(3f, 1, 12, 1));
            pg1.Add(new Parameter(4f, 1, 12, 1));

            return(dict);
        }
Beispiel #3
0
        public override OrderedDictionary DefaultParam()
        {
            OrderedDictionary     dict           = new OrderedDictionary();
            ParameterGroup        pg1            = new ParameterGroup();
            ParameterGroup        pg2            = new ParameterGroup();
            List <ParameterGroup> outParamGroups = new List <ParameterGroup>();

            outParamGroups.Add(pg1);
            outParamGroups.Add(pg2);

            dict["Scale"] = pg1;
            pg1.Add(new Parameter(1f, 0.2f, 10f, 0.01f));
            pg1.Add(new Parameter(1f, 0.2f, 10f, 0.01f));
            pg1.Add(new Parameter(1f, 0.2f, 10f, 0.01f));

            return(dict);
        }
Beispiel #4
0
        public override OrderedDictionary DefaultParam()
        {
            OrderedDictionary dict = new OrderedDictionary();
            ParameterGroup    pg1  = new ParameterGroup();

            pg1.Add(new Parameter(1, 1, 3, 1));
            dict.Add("Count", pg1);
            return(dict);
        }
Beispiel #5
0
        public override OrderedDictionary DefaultParam()
        {
            OrderedDictionary     dict           = new OrderedDictionary();
            ParameterGroup        pg1            = new ParameterGroup();
            ParameterGroup        pg2            = new ParameterGroup();
            List <ParameterGroup> outParamGroups = new List <ParameterGroup>();

            outParamGroups.Add(pg1);
            outParamGroups.Add(pg2);

            dict["Position"] = pg1;
            pg1.Add(new Parameter(0.3f));
            pg1.Add(new Parameter(0.2f));
            pg1.Add(new Parameter(0.5f));
            dict["Axis"] = pg2;
            pg2.Add(new Parameter(0, 0, 2, 1));

            return(dict);
        }
Beispiel #6
0
        public override OrderedDictionary DefaultParam()
        {
            OrderedDictionary dict = new OrderedDictionary();
            ParameterGroup    pg1  = new ParameterGroup();
            ParameterGroup    pg2  = new ParameterGroup();

            dict.Add("dim width", pg1);
            dict.Add("dim height", pg2);
            pg1.Add(new Parameter(5, 1, 30, 0.1f));
            pg2.Add(new Parameter(3, 2, 10, 0.1f));
            return(dict);
        }
Beispiel #7
0
        public override OrderedDictionary DefaultParam()
        {
            OrderedDictionary dict = new OrderedDictionary();
            ParameterGroup    pg1  = new ParameterGroup();
            ParameterGroup    pg2  = new ParameterGroup();

            dict.Add("Area", pg1);
            dict.Add("EdgeCount", pg2);
            pg1.Add(new Parameter(800, 0, 6, 1));
            pg2.Add(new Parameter(-1, -1, 6, 1));
            return(dict);
        }
Beispiel #8
0
        public override OrderedDictionary DefaultParam()
        {
            OrderedDictionary dict = new OrderedDictionary();
            ParameterGroup    pg1  = new ParameterGroup();
            ParameterGroup    pg2  = new ParameterGroup();

            dict.Add("Axis", pg1);
            pg1.Add(new Parameter(0, 0, 2, 1));
            dict.Add("Position", pg2);
            pg2.Add(new Parameter(0.4f));

            return(dict);
        }
Beispiel #9
0
        public override OrderedDictionary DefaultParam()
        {
            OrderedDictionary dict = new OrderedDictionary();
            ParameterGroup    pg1  = new ParameterGroup();
            ParameterGroup    pg2  = new ParameterGroup();

            dict.Add("Width", pg1);
            pg1.Add(new Parameter(6, 3, 12, 1));
            dict.Add("Height", pg2);
            pg2.Add(new Parameter(3, 3, 12, 0.5f));

            return(dict);
        }
Beispiel #10
0
        public override OrderedDictionary DefaultParam()
        {
            OrderedDictionary     dict           = new OrderedDictionary();
            ParameterGroup        pg1            = new ParameterGroup();
            ParameterGroup        pg2            = new ParameterGroup();
            List <ParameterGroup> outParamGroups = new List <ParameterGroup>();

            outParamGroups.Add(pg1);

            dict["FTFHeight"] = pg1;
            pg1.Add(new Parameter(10, 5, 100, 1));

            return(dict);
        }
Beispiel #11
0
        public override OrderedDictionary DefaultParam()
        {
            OrderedDictionary dict = new OrderedDictionary();
            ParameterGroup    pg1  = new ParameterGroup();
            ParameterGroup    pg2  = new ParameterGroup();

            for (int i = 0; i < 3; i++)
            {
                pg1.Add(new Parameter(10, 0, 100, 3f));
                pg2.Add(new Parameter(0, 0, 90, 1));
            }
            dict.Add("Size", pg1);
            dict.Add("Rotation", pg2);

            return(dict);
        }