# Avizo Project 202210
# Avizo3D
# Generated by Avizo3D 2022.1
remove -all
remove "grayScale.am" "labels.am" "eV_00125.binslic" "eV_00125.thresholded" "eV_00125.filtered" "eV_2.filtered" "Result" "Result.thresholded" "Result2" "Result2.labels" "Result2.ambientOcclusion" "Result2.thresholded" "Result(2)" "Ortho Slice" "Recipe Player" "Interactive Thresholding" "Non-Local Means Filter" "Unsharp Masking" "Arithmetic" "Interactive Thresholding 2" "Arithmetic 2" "Filter by Measure" "Compute Ambient Occlusion" "Interactive Thresholding 3" "Arithmetic(2)" "Volume Rendering Settings" "Voxelized Rendering"

# Create viewers
viewer setVertical 0

viewer 0 setTransparencyType 6
viewer 0 setAutoRedraw 0
viewer 0 show
mainWindow show

_units setUnitsManagementMode 0

set hideNewModules 1
[ load ${AMIRA_ROOT}/data/colormaps/grayScale.am ] setLabel "grayScale.am"
"grayScale.am" setIconPosition 0 0
"grayScale.am" setNoRemoveAll 1
"grayScale.am" setVar "CustomHelp" {HxColormap256}
"grayScale.am" fire
"grayScale.am" setMinMax 0 255
"grayScale.am" flags setValue 1
"grayScale.am" shift setMinMax -1 1
"grayScale.am" shift setButtons 0
"grayScale.am" shift setEditButton 1
"grayScale.am" shift setIncrement 0.133333
"grayScale.am" shift setValue 0
"grayScale.am" shift setSubMinMax -1 1
"grayScale.am" scale setMinMax 0 1
"grayScale.am" scale setButtons 0
"grayScale.am" scale setEditButton 1
"grayScale.am" scale setIncrement 0.1
"grayScale.am" scale setValue 1
"grayScale.am" scale setSubMinMax 0 1
"grayScale.am" fire
"grayScale.am" setViewerMask 65535

set hideNewModules 1
[ load ${AMIRA_ROOT}/data/colormaps/labels.am ] setLabel "labels.am"
"labels.am" setIconPosition 0 0
"labels.am" setNoRemoveAll 1
"labels.am" setVar "CustomHelp" {HxColormap256}
"labels.am" fire
"labels.am" setMinMax 1 8
"labels.am" flags setValue 1
"labels.am" shift setMinMax -1 1
"labels.am" shift setButtons 0
"labels.am" shift setEditButton 1
"labels.am" shift setIncrement 0.133333
"labels.am" shift setValue 0
"labels.am" shift setSubMinMax -1 1
"labels.am" scale setMinMax 0 1
"labels.am" scale setButtons 0
"labels.am" scale setEditButton 1
"labels.am" scale setIncrement 0.1
"labels.am" scale setValue 1
"labels.am" scale setSubMinMax 0 1
"labels.am" fire
"labels.am" setViewerMask 65535

set hideNewModules 0
[ load ${SCRIPTDIR}/data/eV_00125.binslic ] setLabel "eV_00125.binslic"
"eV_00125.binslic" setIconPosition 20 6
"eV_00125.binslic" setVar "CustomXML" {eV_00125.binslic_config.xml}
"eV_00125.binslic" sharedColormap disconnect
"eV_00125.binslic" sharedColormap setDefaultColor 0.8 0.8 0.8
"eV_00125.binslic" sharedColormap setDefaultAlpha 0.500000
"eV_00125.binslic" sharedColormap activateLocalRange 1
"eV_00125.binslic" sharedColormap setLocalMinMax 0.000000 1.000000
"eV_00125.binslic" sharedColormap enableAlpha 1
"eV_00125.binslic" sharedColormap enableAlphaToggle 1
"eV_00125.binslic" sharedColormap setAutoAdjustRangeMode 1
"eV_00125.binslic" fire
"eV_00125.binslic" setViewerMask 0

set hideNewModules 0
create HxOrthoSlice "Ortho Slice"
"Ortho Slice" setIconPosition 576 4
"Ortho Slice" setVar "CustomHelp" {HxOrthoSlice}
"Ortho Slice" setVar "CustomXML" {HxOrthoSlice_config.xml}
"Ortho Slice" data connect "eV_00125.binslic"
"Ortho Slice" fire
"Ortho Slice" sliceOrientation setValue 2
"Ortho Slice" fire
"Ortho Slice" origin  setBoundingBox -3.40282e+038 3.40282e+038 -3.40282e+038 3.40282e+038 -3.40282e+038 3.40282e+038
"Ortho Slice" origin  setImmediateMode 0
"Ortho Slice" origin  setOrtho 0
"Ortho Slice" origin  showDragger 0
"Ortho Slice" origin  showPoints 0
"Ortho Slice" origin  setPointScale 1
"Ortho Slice" origin  showOptionButton 1
"Ortho Slice" origin  setNumPoints 1 1 1
"Ortho Slice" origin  setCoord 0 255 222.5 114.5
"Ortho Slice" normal  setBoundingBox -3.40282e+038 3.40282e+038 -3.40282e+038 3.40282e+038 -3.40282e+038 3.40282e+038
"Ortho Slice" normal  setImmediateMode 0
"Ortho Slice" normal  setOrtho 0
"Ortho Slice" normal  showDragger 0
"Ortho Slice" normal  showPoints 0
"Ortho Slice" normal  setPointScale 1
"Ortho Slice" normal  showOptionButton 1
"Ortho Slice" normal  setNumPoints 1 1 1
"Ortho Slice" normal  setCoord 0 1 0 0
"Ortho Slice" options setValue 0 1
"Ortho Slice" options setToggleVisible 0 1
"Ortho Slice" options setValue 1 0
"Ortho Slice" options setToggleVisible 1 1
"Ortho Slice" options setValue 2 0
"Ortho Slice" options setToggleVisible 2 1
"Ortho Slice" mappingType setIndex 0 0
"Ortho Slice" contrastLimit setMinMax 0 -16777216 16777216
"Ortho Slice" contrastLimit setValue 0 7
"Ortho Slice" colormap connect "grayScale.am"
"Ortho Slice" colormap setDefaultColor 1 0.8 0.5
"Ortho Slice" colormap setDefaultAlpha 1.000000
"Ortho Slice" colormap activateLocalRange 1
"Ortho Slice" colormap setLocalMinMax 0.000000 255.000000
"Ortho Slice" colormap enableAlpha 1
"Ortho Slice" colormap enableAlphaToggle 1
"Ortho Slice" colormap setAutoAdjustRangeMode 1
"Ortho Slice" colormap setColorbarMinMax 0 255
"Ortho Slice" sliceNumber setMinMax 0 138
"Ortho Slice" sliceNumber setButtons 1
"Ortho Slice" sliceNumber setEditButton 1
"Ortho Slice" sliceNumber setIncrement 1
"Ortho Slice" sliceNumber setValue 83
"Ortho Slice" sliceNumber setSubMinMax 0 138
"Ortho Slice" transparency setValue 0
"Ortho Slice" alpha setMinMax 0 -16777216 16777216
"Ortho Slice" alpha setValue 0 0
"Ortho Slice" alpha setMinMax 1 -16777216 16777216
"Ortho Slice" alpha setValue 1 255
"Ortho Slice" frameSettings setState {item 0 1 item 2 1 color 3 1 0.5 0 }
"Ortho Slice" embossingOnOff setValue 0
"Ortho Slice" depth setMinMax -60 60
"Ortho Slice" depth setButtons 0
"Ortho Slice" depth setEditButton 1
"Ortho Slice" depth setIncrement 8
"Ortho Slice" depth setValue 2
"Ortho Slice" depth setSubMinMax -60 60
"Ortho Slice" fire

"Ortho Slice" fire
"Ortho Slice" setViewerMask 0
"Ortho Slice" select
"Ortho Slice" setShadowStyle 3
"Ortho Slice" setPickable 1

set hideNewModules 0
create HxRecipeModule "Recipe Player"
"Recipe Player" setIconPosition 575 40
"Recipe Player" setVar "CustomHelp" {HxRecipeModule}
"Recipe Player" setVar "CustomXML" {HxRecipeModule_config.xml}
"Recipe Player" recipe setState "${AMIRA_LOCAL}/share/recipes/IHEP_coin\ battery_NanoCT_DL_20191018.hxrecipe"
"Recipe Player" fire
"Recipe Player" input1 connect "eV_00125.binslic"
"Recipe Player" applyTransformToResult 1
"Recipe Player" fire
"Recipe Player" setViewerMask 0
"Recipe Player" setPickable 1

"Recipe Player" recipeOptions setValue 1 1
"Recipe Player" fire


set hideNewModules 0
create HxArithmetic "Arithmetic(2)"
"Arithmetic(2)" setVar "CustomHelp" {HxArithmetic}
"Arithmetic(2)" setVar "CustomXML" {HxArithmetic_config.xml}
"Arithmetic(2)" inputA connect "Result2.thresholded"
"Arithmetic(2)" inputB connect "Result2.labels"
"Arithmetic(2)" fire
"Arithmetic(2)" resultChannels setIndex 0 0
"Arithmetic(2)" nValues setMinMax 0 -16777216 16777216
"Arithmetic(2)" nValues setValue 0 1
"Arithmetic(2)" expr0 setState {A+3*B}
"Arithmetic(2)" resultType setValue 0
"Arithmetic(2)" resultLocation setValue 0
"Arithmetic(2)" resolution setMinMax 0 1 100000
"Arithmetic(2)" resolution setValue 0 64
"Arithmetic(2)" resolution setMinMax 1 1 100000
"Arithmetic(2)" resolution setValue 1 64
"Arithmetic(2)" resolution setMinMax 2 1 100000
"Arithmetic(2)" resolution setValue 2 64
"Arithmetic(2)" minBox setMinMax 0 -3.40282346638529e+038 3.40282346638529e+038
"Arithmetic(2)" minBox setValue 0 -1
"Arithmetic(2)" minBox setMinMax 1 -3.40282346638529e+038 3.40282346638529e+038
"Arithmetic(2)" minBox setValue 1 -1
"Arithmetic(2)" minBox setMinMax 2 -3.40282346638529e+038 3.40282346638529e+038
"Arithmetic(2)" minBox setValue 2 -1
"Arithmetic(2)" maxBox setMinMax 0 -3.40282346638529e+038 3.40282346638529e+038
"Arithmetic(2)" maxBox setValue 0 1
"Arithmetic(2)" maxBox setMinMax 1 -3.40282346638529e+038 3.40282346638529e+038
"Arithmetic(2)" maxBox setValue 1 1
"Arithmetic(2)" maxBox setMinMax 2 -3.40282346638529e+038 3.40282346638529e+038
"Arithmetic(2)" maxBox setValue 2 1
"Arithmetic(2)" options setValue 0 0
"Arithmetic(2)" options setToggleVisible 0 1
"Arithmetic(2)" applyTransformToResult 1
"Arithmetic(2)" fire
"Arithmetic(2)" setViewerMask 16383,0
"Arithmetic(2)" setPickable 1

set hideNewModules 0
[ {Arithmetic(2)} create result ] setLabel "Result(2)"
"Result(2)" setVar "CustomXML" {Result(2)_config.xml}
"Result(2)" master connect "Arithmetic(2)" "result" 0
"Result(2)" sharedColormap connect "labels.am"
"Result(2)" sharedColormap setDefaultColor 0.8 0.8 0.8
"Result(2)" sharedColormap setDefaultAlpha 0.500000
"Result(2)" sharedColormap activateLocalRange 1
"Result(2)" sharedColormap setLocalMinMax 1.000000 8.000000
"Result(2)" sharedColormap enableAlpha 1
"Result(2)" sharedColormap enableAlphaToggle 1
"Result(2)" sharedColormap setAutoAdjustRangeMode 1
"Result(2)" sharedColormap setColorbarMinMax 1 8
"Result(2)" fire
"Result(2)" primary setIndex 0 0
"Result(2)" fire
"Result(2)" setViewerMask 16383

set hideNewModules 0
create HxVolumeRenderingSettings "Volume Rendering Settings"
"Volume Rendering Settings" setViewerMask 0
"Volume Rendering Settings" setVar "CustomHelp" {HxVolumeRenderingSettings}
"Volume Rendering Settings" setVar "CustomXML" {HxVolumeRenderingSettings_config.xml}
set hideNewModules 0

"Volume Rendering Settings" data connect "Result(2)"
"Volume Rendering Settings" fire
"Volume Rendering Settings" rendering setValue 0
"Volume Rendering Settings" fire
"Volume Rendering Settings" interpolationAdvanced setValue 0
"Volume Rendering Settings" composition setValue 0
"Volume Rendering Settings" moveLowResolutionScale setMinMax 1 10
"Volume Rendering Settings" moveLowResolutionScale setButtons 1
"Volume Rendering Settings" moveLowResolutionScale setEditButton 1
"Volume Rendering Settings" moveLowResolutionScale setIncrement 1
"Volume Rendering Settings" moveLowResolutionScale setValue 2
"Volume Rendering Settings" moveLowResolutionScale setSubMinMax 1 10
"Volume Rendering Settings" samplingQuality setMinMax 0 2
"Volume Rendering Settings" samplingQuality setButtons 0
"Volume Rendering Settings" samplingQuality setEditButton 1
"Volume Rendering Settings" samplingQuality setIncrement 0.133333
"Volume Rendering Settings" samplingQuality setValue 1
"Volume Rendering Settings" samplingQuality setSubMinMax 0 2
"Volume Rendering Settings" opacityThreshold setMinMax 0 1
"Volume Rendering Settings" opacityThreshold setButtons 0
"Volume Rendering Settings" opacityThreshold setEditButton 1
"Volume Rendering Settings" opacityThreshold setIncrement 0.05
"Volume Rendering Settings" opacityThreshold setValue 0
"Volume Rendering Settings" opacityThreshold setSubMinMax 0 1
"Volume Rendering Settings" optimizations setValue 0 0
"Volume Rendering Settings" optimizations setToggleVisible 0 1
"Volume Rendering Settings" optimizations setValue 1 1
"Volume Rendering Settings" optimizations setToggleVisible 1 1
"Volume Rendering Settings" optimizations setValue 2 0
"Volume Rendering Settings" optimizations setToggleVisible 2 1
"Volume Rendering Settings" quality setValue 3
"Volume Rendering Settings" fire
"Volume Rendering Settings" artifactsReduction setValue 0 0
"Volume Rendering Settings" artifactsReduction setToggleVisible 0 1
"Volume Rendering Settings" artifactsReduction setValue 1 0
"Volume Rendering Settings" artifactsReduction setToggleVisible 1 1
"Volume Rendering Settings" lighting setState {item 0 1 item 1 1 }
"Volume Rendering Settings" gradient setState {item 0 1 item 2 9.99999974737875e-05 }
"Volume Rendering Settings" effects setValue 0 0
"Volume Rendering Settings" effects setToggleVisible 0 1
"Volume Rendering Settings" effects setValue 1 0
"Volume Rendering Settings" effects setToggleVisible 1 1
"Volume Rendering Settings" effects setValue 2 0
"Volume Rendering Settings" effects setToggleVisible 2 1
"Volume Rendering Settings" effects setValue 3 1
"Volume Rendering Settings" effects setToggleVisible 3 1
"Volume Rendering Settings" edgeEnhancement setMinMax 0 -3.40282346638529e+038 3.40282346638529e+038
"Volume Rendering Settings" edgeEnhancement setValue 0 9.99999974737875e-005
"Volume Rendering Settings" edge2D setState {item 1 0.100000001490116 item 3 0.100000001490116 item 5 1 }
"Volume Rendering Settings" boundaryOpacity setMinMax 0 -3.40282346638529e+038 3.40282346638529e+038
"Volume Rendering Settings" boundaryOpacity setValue 0 2.5
"Volume Rendering Settings" boundaryOpacity setMinMax 1 -3.40282346638529e+038 3.40282346638529e+038
"Volume Rendering Settings" boundaryOpacity setValue 1 2.5
"Volume Rendering Settings" material setIndex 0 4
"Volume Rendering Settings" lightingStyle setIndex 0 1
"Volume Rendering Settings" toneMapping setIndex 0 0
"Volume Rendering Settings" depthOfField setValue 0
"Volume Rendering Settings" blurFactor setMinMax 0.00999999977648258 1
"Volume Rendering Settings" blurFactor setButtons 0
"Volume Rendering Settings" blurFactor setEditButton 1
"Volume Rendering Settings" blurFactor setIncrement 0.066
"Volume Rendering Settings" blurFactor setValue 0.01
"Volume Rendering Settings" blurFactor setSubMinMax 0.00999999977648258 1
"Volume Rendering Settings" specularColor setMinMax 0 1
"Volume Rendering Settings" specularColor setButtons 0
"Volume Rendering Settings" specularColor setEditButton 1
"Volume Rendering Settings" specularColor setIncrement 0.1
"Volume Rendering Settings" specularColor setValue 0.4
"Volume Rendering Settings" specularColor setSubMinMax 0 1
"Volume Rendering Settings" shininess setMinMax 0 1
"Volume Rendering Settings" shininess setButtons 0
"Volume Rendering Settings" shininess setEditButton 1
"Volume Rendering Settings" shininess setIncrement 0.1
"Volume Rendering Settings" shininess setValue 0.4
"Volume Rendering Settings" shininess setSubMinMax 0 1
"Volume Rendering Settings" fire
"Volume Rendering Settings" setViewerMask 16383
"Volume Rendering Settings" setPickable 1

set hideNewModules 0
create HxVoxelizedRender "Voxelized Rendering"
"Voxelized Rendering" setVar "CustomHelp" {HxVoxelizedRender}
"Voxelized Rendering" setVar "CustomXML" {HxVoxelizedRender_config.xml}
"Voxelized Rendering" data connect "Result(2)"
"Voxelized Rendering" volumeRenderingSettings connect "Volume Rendering Settings"
"Voxelized Rendering" fire
"Voxelized Rendering" colormap connect "labels.am"
"Voxelized Rendering" colormap setDefaultColor 1 1 1
"Voxelized Rendering" colormap setDefaultAlpha 0.500000
"Voxelized Rendering" colormap activateLocalRange 1
"Voxelized Rendering" colormap setLocalMinMax 1.000000 8.000000
"Voxelized Rendering" colormap enableAlpha 1
"Voxelized Rendering" colormap enableAlphaToggle 1
"Voxelized Rendering" colormap setAutoAdjustRangeMode 1
"Voxelized Rendering" colormap setColorbarMinMax 1 8
"Voxelized Rendering" fire
"Voxelized Rendering" colormapLookup setValue 2
"Voxelized Rendering" gamma setMinMax 0.100000001490116 8
"Voxelized Rendering" gamma setButtons 0
"Voxelized Rendering" gamma setEditButton 1
"Voxelized Rendering" gamma setIncrement 0.526667
"Voxelized Rendering" gamma setValue 3
"Voxelized Rendering" gamma setSubMinMax 0.100000001490116 8
"Voxelized Rendering" alphaScale setMinMax 0 1
"Voxelized Rendering" alphaScale setButtons 0
"Voxelized Rendering" alphaScale setEditButton 1
"Voxelized Rendering" alphaScale setIncrement 0.1
"Voxelized Rendering" alphaScale setValue 1
"Voxelized Rendering" alphaScale setSubMinMax 0 1
"Voxelized Rendering" channelSelector setState {2 }
"Voxelized Rendering" outline setValue 0 0
"Voxelized Rendering" outline setToggleVisible 0 1
"Voxelized Rendering" fire
"Voxelized Rendering" setViewerMask 16383
"Voxelized Rendering" setPickable 1

set hideNewModules 0

"Interactive Thresholding_volRenderingSettings" clipGeom "Ortho Slice" "0"
"Interactive Thresholding 2_volRenderingSettings" clipGeom "Ortho Slice" "0"
"Interactive Thresholding 3_volRenderingSettings" clipGeom "Ortho Slice" "65535"
"Volume Rendering Settings" clipGeom "Ortho Slice" "16383"
viewer 0 setCameraOrientation 0.5008 -0.289794 0.815609 2.94435
viewer 0 setCameraPosition 385.895 80.9829 197.959
viewer 0 setCameraFocalDistance 217.248
viewer 0 setCameraNearDistance 95.8794
viewer 0 setCameraFarDistance 338.859
viewer 0 setCameraType perspective
viewer 0 setCameraHeightAngle 44.9023
viewer 0 setAutoRedraw 1
viewer 0 redraw

"Ortho Slice" colormap interconnect "PermanentColormapEditor" colormap
"Interactive Thresholding" sliceNumber interconnect "Interactive Thresholding_HxOrthoSlice" sliceNumber
"Interactive Thresholding 2" sliceNumber interconnect "Interactive Thresholding 2_HxOrthoSlice" sliceNumber
"Interactive Thresholding 3" sliceNumber interconnect "Interactive Thresholding 3_HxOrthoSlice" sliceNumber
correlationPanel closeTabs
correlationPanel setTabName 0 "Correlation 1"
correlationPanel 0 setLogScalingOnAxis 0 0
correlationPanel 0 setLogScalingOnAxis 1 0

histogramPanel closeTabs
histogramPanel setTabName 0 "Histogram 1"
histogramPanel 0 setLogScalingOnAxis 0 0
histogramPanel 0 setLogScalingOnAxis 1 1

theObjectPool setSelectionOrder {Ortho Slice}
