# Avizo Project 202210
# Avizo3D
# Generated by Avizo3D 2022.1
remove -all
remove "physics.icol" "grayScaleInverted.am" "spring_loaded_cam.am" "Iterate Recipe" "Recipe Player"

# Create viewers
viewer setVertical 0

viewer 0 setTransparencyType 5
viewer 0 setAutoRedraw 0
viewer 0 show
mainWindow show

_units setUnitsManagementMode 1
_units setDisplayCoordinatesUnit mm
_units setWorkingCoordinatesUnit mm

set hideNewModules 1
[ load ${AMIRA_ROOT}/data/colormaps/physics.icol ] setLabel "physics.icol"
"physics.icol" setIconPosition 20 45
"physics.icol" setNoRemoveAll 1
"physics.icol" fire
"physics.icol" setMinMax 0 1
"physics.icol" flags setValue 1
"physics.icol" shift setMinMax -1 1
"physics.icol" shift setButtons 0
"physics.icol" shift setEditButton 1
"physics.icol" shift setIncrement 0.133333
"physics.icol" shift setValue 0
"physics.icol" shift setSubMinMax -1 1
"physics.icol" scale setMinMax 0 1
"physics.icol" scale setButtons 0
"physics.icol" scale setEditButton 1
"physics.icol" scale setIncrement 0.1
"physics.icol" scale setValue 1
"physics.icol" scale setSubMinMax 0 1
"physics.icol" fire
"physics.icol" setViewerMask 16383

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

set hideNewModules 0
[ load -unit mm ${SCRIPTDIR}/IterateRecipe_example-files/spring_loaded_cam.am ] setLabel "spring_loaded_cam.am"
"spring_loaded_cam.am" setIconPosition 20 20
"spring_loaded_cam.am" sharedColormap disconnect
"spring_loaded_cam.am" sharedColormap setDefaultColor 0.8 0.8 0.8
"spring_loaded_cam.am" sharedColormap setDefaultAlpha 0.500000
"spring_loaded_cam.am" sharedColormap activateLocalRange 1
"spring_loaded_cam.am" sharedColormap setLocalMinMax 0.000000 1.000000
"spring_loaded_cam.am" sharedColormap enableAlpha 1
"spring_loaded_cam.am" sharedColormap enableAlphaToggle 1
"spring_loaded_cam.am" sharedColormap setAutoAdjustRangeMode 1
"spring_loaded_cam.am" fire
"spring_loaded_cam.am" setViewerMask 16383

set hideNewModules 0
[create "Iterate Recipe"] setLabel "Iterate Recipe"
"Iterate Recipe" setIconPosition 260 45
"Iterate Recipe" setVar "CustomHelp" {IterateRecipe}
"Iterate Recipe" setVar "CustomXML" {IterateRecipe_config.xml}
"Iterate Recipe" recipe setState "${SCRIPTDIR}/IterateRecipe_example-files/IterateRecipe-example_porosity-analysis.hxrecipe"
"Iterate Recipe" fire
"Iterate Recipe" input1 connect "spring_loaded_cam.am"
"Iterate Recipe" fire
"Iterate Recipe" modulename setIndex 0 6
"Iterate Recipe" fire
"Iterate Recipe" portname setIndex 0 0
"Iterate Recipe" fire
"Iterate Recipe" valuestring setState {text 0 "Volume3d_>_$" }
"Iterate Recipe" fire
"Iterate Recipe" list_definition setValue 0
"Iterate Recipe" valuelist setState {text 0 "1000_2000_3000_5000" }
"Iterate Recipe" loop setState {text 0 "0" text 1 "1" text 2 "1" }
"Iterate Recipe" applyTransformToResult 1
"Iterate Recipe" fire
"Iterate Recipe" setViewerMask 16383
"Iterate Recipe" select
"Iterate Recipe" setPickable 1

set hideNewModules 0

viewer 0 setCameraOrientation 1 0 0 3.14159
viewer 0 setCameraPosition 222 207.5 -474.526
viewer 0 setCameraFocalDistance 668.151
viewer 0 setCameraNearDistance 667.483
viewer 0 setCameraFarDistance 668.819
viewer 0 setCameraType perspective
viewer 0 setCameraHeightAngle 44.9023
viewer 0 setAutoRedraw 1
viewer 0 redraw

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 {Iterate Recipe}
