📄 dolfin.net
字号:
main_AutoGlyph_1_in_6 = NULL;main_AutoGlyph_1_in_7 = NULL;main_AutoGlyph_1_out_1 = NULL;main_AutoColor_3_in_2 = NULL;main_AutoColor_3_in_3 = NULL;main_AutoColor_3_in_4 = NULL;main_AutoColor_3_in_5 = NULL;main_AutoColor_3_in_6 = NULL;main_AutoColor_3_in_7 = NULL;main_AutoColor_3_in_8 = NULL;main_AutoColor_3_in_9 = NULL;main_AutoColor_3_in_10 = NULL;main_AutoColor_3_out_1 = NULL;main_Receiver_24_out_1 = NULL;main_Probe_11_out_1 = NULL;main_Vector_4_in_1 = "Vector_4";main_Vector_4_in_2 = NULL;main_Vector_4_in_3 = [ 0 1 0 ];main_Vector_4_in_4 = NULL;main_Vector_4_in_5 = NULL;main_Vector_4_in_6 = NULL;main_Vector_4_in_7 = NULL;main_Vector_4_in_8 = NULL;main_Vector_4_in_9 = NULL;main_Vector_4_in_10 = NULL;main_Vector_4_in_11 = NULL;main_Vector_4_out_1 = [ 0 1 0 ];main_MapToPlane_3_out_1 = NULL;main_DivCurl_1_in_2 = NULL;main_DivCurl_1_out_1 = NULL;main_Compute_3_in_1 = "mag($0)";main_Compute_3_in_3 = NULL;main_Compute_3_out_1 = NULL;main_AutoColor_4_in_2 = NULL;main_AutoColor_4_in_3 = NULL;main_AutoColor_4_in_4 = NULL;main_AutoColor_4_in_5 = NULL;main_AutoColor_4_in_6 = NULL;main_AutoColor_4_in_7 = NULL;main_AutoColor_4_in_8 = NULL;main_AutoColor_4_in_9 = NULL;main_AutoColor_4_in_10 = NULL;main_AutoColor_4_out_1 = NULL;main_AutoColor_5_in_2 = NULL;main_AutoColor_5_in_3 = NULL;main_AutoColor_5_in_4 = NULL;main_AutoColor_5_in_5 = NULL;main_AutoColor_5_in_6 = NULL;main_AutoColor_5_in_7 = NULL;main_AutoColor_5_in_8 = NULL;main_AutoColor_5_in_9 = NULL;main_AutoColor_5_in_10 = NULL;main_AutoColor_6_in_2 = NULL;main_AutoColor_6_in_3 = NULL;main_AutoColor_6_in_4 = NULL;main_AutoColor_6_in_5 = NULL;main_AutoColor_6_in_6 = NULL;main_AutoColor_6_in_7 = NULL;main_AutoColor_6_in_8 = NULL;main_AutoColor_6_in_9 = NULL;main_AutoColor_6_in_10 = NULL;main_Receiver_1_out_1 = NULL;main_Inquire_6_in_2 = "is vector + 1";main_Inquire_6_in_3 = NULL;main_Inquire_6_out_1 = NULL;main_Compute_1_in_1 = "mag($0)";main_Compute_1_out_1 = NULL;main_Switch_10_out_1 = NULL;main_Receiver_8_out_1 = NULL;main_Reset_2_in_1 = "main_Reset_2_out_1";main_Reset_2_in_2 = 0;main_Reset_2_in_3 = 0;main_Reset_2_in_4 = NULL;main_Reset_2_in_5 = NULL;main_Reset_2_in_6 = NULL;main_Reset_2_out_1 = 0;main_Scalar_2_in_1 = "Scalar_2";main_Scalar_2_in_3 = 0.005 ;main_Scalar_2_in_5 = NULL;main_Scalar_2_in_6 = NULL;main_Scalar_2_in_7 = NULL;main_Scalar_2_in_8 = NULL;main_Scalar_2_in_9 = NULL;main_Scalar_2_in_10 = NULL;main_Scalar_2_in_11 = NULL;main_Scalar_2_out_1 = 0.005 ;main_Isosurface_2_in_3 = NULL;main_Isosurface_2_in_4 = NULL;main_Isosurface_2_in_5 = NULL;main_Isosurface_2_in_6 = NULL;main_Isosurface_2_out_1 = NULL;main_Color_2_in_2 = NULL;main_Color_2_in_3 = .3;main_Color_2_in_4 = NULL;main_Color_2_in_5 = NULL;main_Color_2_out_1 = NULL;main_ColorBar_3_in_2 = NULL;main_ColorBar_3_in_3 = NULL;main_ColorBar_3_in_4 = NULL;main_ColorBar_3_in_5 = NULL;main_ColorBar_3_in_6 = NULL;main_ColorBar_3_in_7 = NULL;main_ColorBar_3_in_8 = NULL;main_ColorBar_3_in_9 = NULL;main_ColorBar_3_in_10 = NULL;main_ColorBar_3_in_11 = NULL;main_ColorBar_3_in_12 = NULL;main_ColorBar_3_in_13 = NULL;main_ColorBar_3_in_14 = NULL;main_ColorBar_3_in_15 = NULL;main_ColorBar_3_in_16 = NULL;main_ColorBar_3_out_1 = NULL;main_Reset_1_in_1 = "main_Reset_1_out_1";main_Reset_1_in_2 = 0;main_Reset_1_in_3 = 0;main_Reset_1_in_4 = NULL;main_Reset_1_in_5 = NULL;main_Reset_1_in_6 = NULL;main_Reset_1_out_1 = 0;macro Image( id, object, where, useVector, to, from, width, resolution, aspect, up, viewAngle, perspective, options, buttonState = 1, buttonUpApprox = "none", buttonDownApprox = "none", buttonUpDensity = 1, buttonDownDensity = 1, renderMode = 0, defaultCamera, reset, backgroundColor, throttle, RECenable = 0, RECfile, RECformat, RECresolution, RECaspect, AAenable = 0, AAlabels, AAticks, AAcorners, AAframe, AAadjust, AAcursor, AAgrid, AAcolors, AAannotation, AAlabelscale, AAfont, interactionMode, title, AAxTickLocs, AAyTickLocs, AAzTickLocs, AAxTickLabels, AAyTickLabels, AAzTickLabels, webOptions) -> ( object, camera, where){ ImageMessage( id, backgroundColor, throttle, RECenable, RECfile, RECformat, RECresolution, RECaspect, AAenable, AAlabels, AAticks, AAcorners, AAframe, AAadjust, AAcursor, AAgrid, AAcolors, AAannotation, AAlabelscale, AAfont, AAxTickLocs, AAyTickLocs, AAzTickLocs, AAxTickLabels, AAyTickLabels, AAzTickLabels, interactionMode, title, renderMode, buttonUpApprox, buttonDownApprox, buttonUpDensity, buttonDownDensity) [instance: 1, cache: 1]; autoCamera = AutoCamera( object, "front", object, resolution, aspect, [0,1,0], perspective, viewAngle, backgroundColor) [instance: 1, cache: 1]; realCamera = Camera( to, from, width, resolution, aspect, up, perspective, viewAngle, backgroundColor) [instance: 1, cache: 1]; coloredDefaultCamera = UpdateCamera(defaultCamera, background=backgroundColor) [instance: 1, cache: 1]; nullDefaultCamera = Inquire(defaultCamera, "is null + 1") [instance: 1, cache: 1]; resetCamera = Switch( nullDefaultCamera, coloredDefaultCamera, autoCamera) [instance: 1, cache: 1]; resetNull = Inquire( reset, "is null + 1") [instance: 2, cache: 1]; reset = Switch( resetNull, reset, 0) [instance: 2, cache: 1]; whichCamera = Compute( "($0 != 0 || $1 == 0) ? 1 : 2", reset, useVector) [instance: 1, cache: 1]; camera = Switch( whichCamera, resetCamera, realCamera) [instance: 3, cache: 1]; AAobject = AutoAxes( object, camera, AAlabels, AAticks, AAcorners, AAframe, AAadjust, AAcursor, AAgrid, AAcolors, AAannotation, AAlabelscale, AAfont, AAxTickLocs, AAyTickLocs, AAzTickLocs, AAxTickLabels, AAyTickLabels, AAzTickLabels) [instance: 1, cache: 1]; switchAAenable = Compute("$0+1", AAenable) [instance: 2, cache: 1]; object = Switch( switchAAenable, object, AAobject) [instance:4, cache: 1]; SWapproximation_options = Switch( buttonState, buttonUpApprox, buttonDownApprox) [instance: 5, cache: 1]; SWdensity_options = Switch( buttonState, buttonUpDensity, buttonDownDensity) [instance: 6, cache: 1]; HWapproximation_options = Format( "%s,%s", buttonDownApprox, buttonUpApprox) [instance: 1, cache: 1]; HWdensity_options = Format( "%d,%d", buttonDownDensity, buttonUpDensity) [instance: 2, cache: 1]; switchRenderMode = Compute( "$0+1", renderMode) [instance: 3, cache: 1]; approximation_options = Switch( switchRenderMode, SWapproximation_options, HWapproximation_options) [instance: 7, cache: 1]; density_options = Switch( switchRenderMode, SWdensity_options, HWdensity_options) [instance: 8, cache: 1]; renderModeString = Switch( switchRenderMode, "software", "hardware")[instance: 9, cache: 1]; object_tag = Inquire( object, "object tag")[instance: 3, cache: 1]; annoted_object = Options( object, "send boxes", 0, "cache", 1, "object tag", object_tag, "ddcamera", whichCamera, "rendering approximation", approximation_options, "render every", density_options, "button state", buttonState, "rendering mode", renderModeString) [instance: 1, cache: 1]; RECresNull = Inquire( RECresolution, "is null + 1") [instance: 4, cache: 1]; ImageResolution = Inquire( camera, "camera resolution") [instance: 5, cache: 1]; RECresolution = Switch( RECresNull, RECresolution, ImageResolution) [instance: 10, cache: 1]; RECaspectNull = Inquire( RECaspect, "is null + 1") [instance: 6, cache: 1]; ImageAspect = Inquire( camera, "camera aspect") [instance: 7, cache: 1]; RECaspect = Switch( RECaspectNull, RECaspect, ImageAspect) [instance: 11, cache: 1]; switchRECenable = Compute( "$0 == 0 ? 1 : (($2 == $3) && ($4 == $5)) ? ($1 == 1 ? 2 : 3) : 4", RECenable, switchRenderMode, RECresolution, ImageResolution, RECaspect, ImageAspect) [instance: 4, cache: 1]; NoRECobject, RECNoRerenderObject, RECNoRerHW, RECRerenderObject = Route(switchRECenable, annoted_object); Display( NoRECobject, camera, where, throttle) [instance: 1, cache:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -