⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 krig.net.txt

📁 Kriging 插值程序
💻 TXT
字号:
//// time: Thu Jul 20 12:56:08 1995//// version: 2.0.2 (format), 2.1.0 (DX)//// MODULE main// workspace: width = 1000, height = 1000// layout: snap = 0, width = 50, height = 50, align = UL//macro main() -> () {    //     // node Import[1]: x = 66, y = 29, inputs = 6, label = Import    // input[1]: defaulting = 0, visible = 1, type = 32, value = "data1.dx"    // input[3]: defaulting = 0, visible = 1, type = 32, value = "dx"    //main_Import_1_out_1 =     Import(        main_Import_1_in_1,        main_Import_1_in_2,        main_Import_1_in_3,        main_Import_1_in_4,        main_Import_1_in_5,        main_Import_1_in_6    ) [instance: 1, cache: 1];    //     // node Kriging[2]: x = 195, y = 129, inputs = 7, label = Kriging    // input[3]: defaulting = 0, visible = 1, type = 8, value = [15 15]    // input[4]: defaulting = 0, visible = 1, type = 32, value = "1"    // input[5]: defaulting = 0, visible = 1, type = 5, value = NULL    // input[6]: defaulting = 0, visible = 1, type = 5, value = 2.0    // input[7]: defaulting = 0, visible = 1, type = 5, value = NULL    //main_Kriging_2_out_1,main_Kriging_2_out_2 =     Kriging(        main_Import_1_out_1,        main_Kriging_2_in_2,        main_Kriging_2_in_3,        main_Kriging_2_in_4,        main_Kriging_2_in_5,        main_Kriging_2_in_6,        main_Kriging_2_in_7    ) [instance: 2, cache: 1];    //     // node AutoGlyph[1]: x = 502, y = 81, inputs = 7, label = AutoGlyph    //main_AutoGlyph_1_out_1 =     AutoGlyph(        main_Import_1_out_1,        main_AutoGlyph_1_in_2,        main_AutoGlyph_1_in_3,        main_AutoGlyph_1_in_4,        main_AutoGlyph_1_in_5,        main_AutoGlyph_1_in_6,        main_AutoGlyph_1_in_7    ) [instance: 1, cache: 1];    //     // node Mark[2]: x = 112, y = 179, inputs = 2, label = Mark    // input[2]: defaulting = 0, visible = 1, type = 32, value = "data"    //main_Mark_2_out_1 =     Mark(        main_Kriging_2_out_1,        main_Mark_2_in_2    ) [instance: 2, cache: 1];    //     // node Mark[1]: x = 43, y = 175, inputs = 2, label = Mark    // input[2]: defaulting = 0, visible = 1, type = 32, value = "positions"    //main_Mark_1_out_1 =     Mark(        main_Kriging_2_out_1,        main_Mark_1_in_2    ) [instance: 1, cache: 1];    //     // node Color[2]: x = 532, y = 184, inputs = 5, label = Color    // input[2]: defaulting = 0, visible = 1, type = 32, value = "white"    //main_Color_2_out_1 =     Color(        main_AutoGlyph_1_out_1,        main_Color_2_in_2,        main_Color_2_in_3,        main_Color_2_in_4,        main_Color_2_in_5    ) [instance: 2, cache: 1];    //     // node Compute[1]: x = 71, y = 252, inputs = 3, label = Compute    // input[1]: defaulting = 0, visible = 0, type = 32, value = "[$0.x, $0.y, $1]"    //    // expression: value = [a.x, a.y, b]    // name[2]: value = a    // name[3]: value = bmain_Compute_1_out_1 =     Compute(        main_Compute_1_in_1,        main_Mark_1_out_1,        main_Mark_2_out_1    ) [instance: 1, cache: 1];    //     // node Unmark[1]: x = 78, y = 342, inputs = 2, label = Unmark    // input[2]: defaulting = 0, visible = 1, type = 32, value = "positions"    //main_Unmark_1_out_1 =     Unmark(        main_Compute_1_out_1,        main_Unmark_1_in_2    ) [instance: 1, cache: 1];    //     // node Replace[2]: x = 247, y = 310, inputs = 4, label = Replace    //main_Replace_2_out_1 =     Replace(        main_Kriging_2_out_2,        main_Unmark_1_out_1,        main_Replace_2_in_3,        main_Replace_2_in_4    ) [instance: 2, cache: 1];    //     // node Colormap[1]: x = 423, y = 338, inputs = 10, label = Colormap    // input[1]: defaulting = 0, visible = 0, type = 16777221, value = { 1.53569 3.26670 }    // input[2]: defaulting = 0, visible = 0, type = 16777224, value = {[0.600000, 1.00000, 1.00000], [0.00000, 1.00000, 1.00000]}    // input[3]: defaulting = 0, visible = 0, type = 16777221, value = { 1.53569 3.26670 }    // input[4]: defaulting = 0, visible = 0, type = 16777221, value = { 1.0 1.0 }    // input[5]: defaulting = 0, visible = 0, type = 32, value = "Colormap_1"    // input[7]: defaulting = 1, visible = 0, type = 5, value = 1.53569    // input[8]: defaulting = 1, visible = 0, type = 5, value = 3.266699    // input[9]: defaulting = 1, visible = 0, type = 1, value = 20    //    // Colormap: pathname = krig_1.cmmain_Colormap_1_out_1[cache: 2],main_Colormap_1_out_2[cache: 2] =     Colormap(        main_Colormap_1_in_1,        main_Colormap_1_in_2,        main_Colormap_1_in_3,        main_Colormap_1_in_4,        main_Colormap_1_in_5,        main_Replace_2_out_1,        main_Colormap_1_in_7,        main_Colormap_1_in_8,        main_Colormap_1_in_9,        main_Colormap_1_in_10    ) [instance: 1, cache: 1];    //     // node Color[1]: x = 236, y = 396, inputs = 5, label = Color    // input[3]: defaulting = 0, visible = 1, type = 5, value = 0.8    //main_Color_1_out_1 =     Color(        main_Replace_2_out_1,        main_Colormap_1_out_1,        main_Color_1_in_3,        main_Color_1_in_4,        main_Color_1_in_5    ) [instance: 1, cache: 1];    //     // node Normals[1]: x = 341, y = 459, inputs = 2, label = Normals    //main_Normals_1_out_1 =     Normals(        main_Color_1_out_1,        main_Normals_1_in_2    ) [instance: 1, cache: 1];    //     // node Collect[1]: x = 305, y = 537, inputs = 2, label = Collect    //main_Collect_1_out_1 =     Collect(        main_Normals_1_out_1,        main_Color_2_out_1    ) [instance: 1, cache: 1];    //     // node Image[1]: x = 242, y = 599, inputs = 35, label = Image    // input[1]: defaulting = 0, visible = 0, type = 1, value = 2    // input[4]: defaulting = 0, visible = 0, type = 8, value = [126.986 82.8917 11.569]    // input[5]: defaulting = 0, visible = 0, type = 8, value = [158.248 -61.9989 107.061]    // input[6]: defaulting = 0, visible = 0, type = 5, value = 94.4908    // input[7]: defaulting = 0, visible = 0, type = 1, value = 529    // input[8]: defaulting = 0, visible = 0, type = 5, value = 0.678    // input[9]: defaulting = 0, visible = 0, type = 8, value = [-0.135934 0.524576 0.840442]    // input[11]: defaulting = 0, visible = 0, type = 3, value = 2    // input[12]: defaulting = 0, visible = 0, type = 16777248, value = {"X","Y","Z"}    // input[13]: defaulting = 0, visible = 0, type = 1, value = 15    // input[14]: defaulting = 0, visible = 0, type = 16777224, value = NULL    // input[15]: defaulting = 0, visible = 0, type = 3, value = 0    // input[16]: defaulting = 0, visible = 0, type = 3, value = 1    // input[17]: defaulting = 0, visible = 0, type = 8, value = NULL    // input[19]: defaulting = 0, visible = 0, type = 32, value = "image"    // input[21]: defaulting = 0, visible = 0, type = 32, value = "eps grey orient=portrait page=8.5x11.0 dpi=300"    // input[22]: defaulting = 0, visible = 0, type = 1, value = 0    // input[23]: defaulting = 1, visible = 0, type = 5, value = 30.0001    // input[24]: defaulting = 0, visible = 0, type = 1, value = 1    // input[31]: defaulting = 0, visible = 0, type = 3, value = 0    // input[32]: defaulting = 0, visible = 0, type = 16777224, value = NULL    // input[33]: defaulting = 0, visible = 0, type = 16777248, value = NULL    // input[34]: defaulting = 0, visible = 0, type = 5, value = 1.000000    //    // depth: value = 8main_Image_1_out_1,main_Image_1_out_2 =     Image(        main_Image_1_in_1,        main_Collect_1_out_1,        main_Image_1_in_3,        main_Image_1_in_4,        main_Image_1_in_5,        main_Image_1_in_6,        main_Image_1_in_7,        main_Image_1_in_8,        main_Image_1_in_9,        main_Image_1_in_10,        main_Image_1_in_11,        main_Image_1_in_12,        main_Image_1_in_13,        main_Image_1_in_14,        main_Image_1_in_15,        main_Image_1_in_16,        main_Image_1_in_17,        main_Image_1_in_18,        main_Image_1_in_19,        main_Image_1_in_20,        main_Image_1_in_21,        main_Image_1_in_22,        main_Image_1_in_23,        main_Image_1_in_24,        main_Image_1_in_25,        main_Image_1_in_26,        main_Image_1_in_27,        main_Image_1_in_28,        main_Image_1_in_29,        main_Image_1_in_30,        main_Image_1_in_31,        main_Image_1_in_32,        main_Image_1_in_33,        main_Image_1_in_34,        main_Image_1_in_35    ) [instance: 1, cache: 1];// network: end of macro body}main_Import_1_in_1 = "data1.dx";main_Import_1_in_2 = NULL;main_Import_1_in_3 = "dx";main_Import_1_in_4 = NULL;main_Import_1_in_5 = NULL;main_Import_1_in_6 = NULL;main_Import_1_out_1 = NULL;main_Kriging_2_in_2 = NULL;main_Kriging_2_in_3 = [15 15];main_Kriging_2_in_4 = "1";main_Kriging_2_in_5 = NULL;main_Kriging_2_in_6 = 2.0;main_Kriging_2_in_7 = NULL;main_Kriging_2_out_1 = NULL;main_Kriging_2_out_2 = NULL;main_AutoGlyph_1_in_2 = NULL;main_AutoGlyph_1_in_3 = NULL;main_AutoGlyph_1_in_4 = NULL;main_AutoGlyph_1_in_5 = NULL;main_AutoGlyph_1_in_6 = NULL;main_AutoGlyph_1_in_7 = NULL;main_AutoGlyph_1_out_1 = NULL;main_Mark_2_in_2 = "data";main_Mark_2_out_1 = NULL;main_Mark_1_in_2 = "positions";main_Mark_1_out_1 = NULL;main_Color_2_in_2 = "white";main_Color_2_in_3 = NULL;main_Color_2_in_4 = NULL;main_Color_2_in_5 = NULL;main_Color_2_out_1 = NULL;main_Compute_1_in_1 = "[$0.x, $0.y, $1]";main_Compute_1_out_1 = NULL;main_Unmark_1_in_2 = "positions";main_Unmark_1_out_1 = NULL;main_Replace_2_in_3 = NULL;main_Replace_2_in_4 = NULL;main_Replace_2_out_1 = NULL;main_Colormap_1_in_1 = { 1.53569 3.26670 };main_Colormap_1_in_2 = {[0.600000, 1.00000, 1.00000], [0.00000, 1.00000, 1.00000]};main_Colormap_1_in_3 = { 1.53569 3.26670 };main_Colormap_1_in_4 = { 1.0 1.0 };main_Colormap_1_in_5 = "Colormap_1";main_Colormap_1_in_7 = NULL;main_Colormap_1_in_8 = NULL;main_Colormap_1_in_9 = NULL;main_Colormap_1_in_10 = NULL;main_Colormap_1_out_1 = NULL;main_Color_1_in_3 = 0.8;main_Color_1_in_4 = NULL;main_Color_1_in_5 = NULL;main_Color_1_out_1 = NULL;main_Normals_1_in_2 = NULL;main_Normals_1_out_1 = NULL;main_Collect_1_out_1 = NULL;macro Image(        useVector,        object,        where,        to,        from,        width,        resolution,        aspect,        up,        options,        AAenable = 1,        AAlabels,        AAticks,        AAcorners,        AAframe,        AAadjust,        AAcursor,        RECenable = 1,        RECfile,        throttle,        RECformat,        perspective,        viewAngle,        buttonState = 1,        buttonUpApprox = "none",        buttonDownApprox = "none",        buttonUpDensity = 1,        buttonDownDensity = 1,        renderMode = 1,        backgroundColor,        AAgrid,        AAcolors,        AAannotation,        AAlabelscale,        AAfont) -> (        object,        camera){    autoCamera =        AutoCamera(            object,            "front",            object,            resolution,            aspect,            [0,1,0],            perspective,            viewAngle,            backgroundColor) [instance: 1];    realCamera =        Camera(            to,            from,            width,            resolution,            aspect,            up,            perspective,            viewAngle,            backgroundColor) [instance: 1];    camera = Switch(useVector, autoCamera, realCamera)[instance:1];    AAobject =        AutoAxes(            object,            camera,            AAlabels,            AAticks,            AAcorners,            AAframe,            AAadjust,            AAcursor,            AAgrid,            AAcolors,            AAannotation,            AAlabelscale,            AAfont) [instance: 1];    object = Switch(AAenable, object, AAobject)[instance:2];    SWapproximation_options =        Switch(            buttonState,            buttonUpApprox,            buttonDownApprox) [instance: 3];    SWdensity_options =        Switch(            buttonState,            buttonUpDensity,            buttonDownDensity) [instance: 4];    HWapproximation_options =        Format(            "%s,%s",            buttonDownApprox,            buttonUpApprox) [instance: 1];    HWdensity_options =        Format(            "%d,%d",            buttonDownDensity,            buttonUpDensity) [instance: 1];    approximation_options = Switch(renderMode,        SWapproximation_options, HWapproximation_options)[instance: 5];    density_options = Switch(renderMode,        SWdensity_options, HWdensity_options)[instance: 6];    renderModeString = Switch(renderMode,        "software", "hardware")[instance: 7];    annoted_object =        Options(            object,            "send boxes",            0,            "rendering approximation",            approximation_options,            "render every",            density_options,            "rendering mode",            renderModeString) [instance: 1];    NoRECobject, RECobject = Route(RECenable, annoted_object);    Display(        NoRECobject,        camera,        where,        throttle) [instance: 1];    image =        Render(            RECobject,            camera) [instance: 1];    Display(        image,        NULL,        where,        throttle) [instance: 2];    WriteImage(        image,        RECfile,        RECformat) [instance: 1];}main_Image_1_in_1 = 2;main_Image_1_in_4 = [126.986 82.8917 11.569];main_Image_1_in_5 = [158.248 -61.9989 107.061];main_Image_1_in_6 = 94.4908;main_Image_1_in_7 = 529;main_Image_1_in_8 = 0.678;main_Image_1_in_9 = [-0.135934 0.524576 0.840442];main_Image_1_in_10 = NULL;main_Image_1_in_11 = 2;main_Image_1_in_12 = {"X","Y","Z"};main_Image_1_in_13 = 15;main_Image_1_in_14 = NULL;main_Image_1_in_15 = 0;main_Image_1_in_16 = 1;main_Image_1_in_17 = NULL;main_Image_1_in_19 = "image";main_Image_1_in_20 = NULL;main_Image_1_in_21 = "eps grey orient=portrait page=8.5x11.0 dpi=300";main_Image_1_in_22 = 0;main_Image_1_in_23 = NULL;main_Image_1_in_24 = 1;main_Image_1_in_25 = NULL;main_Image_1_in_26 = NULL;main_Image_1_in_27 = NULL;main_Image_1_in_28 = NULL;main_Image_1_in_29 = NULL;main_Image_1_in_30 = NULL;main_Image_1_in_31 = 0;main_Image_1_in_32 = NULL;main_Image_1_in_33 = NULL;main_Image_1_in_34 = 1.000000;main_Image_1_in_35 = NULL;Executive("product version 2 1 0");$sync;main();

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -