# Avizo Project 201940
# AvizoForIndustrialInspection
# Generated by AvizoForIndustrialInspection 2019.4-beta-1
remove -all
remove "temperature.icol" "grayScale.am" "chocolate-bar.am" "Ortho Slice" "Bounding Box" "Caption" "CaptionFromPort"

# Create viewers
viewer setVertical 0

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

_units setUnitsManagementMode 1
_units setDisplayCoordinatesUnit mm
_units setWorkingCoordinatesUnit mm

set hideNewModules 1
[ load ${SCRIPTDIR}/caption_from_port-files/temperature.icol.am ] setLabel "temperature.icol.am"
"temperature.icol.am" setIconPosition 0 0
"temperature.icol.am" setNoRemoveAll 1
"temperature.icol.am" fire
"temperature.icol.am" setMinMax 38 44
"temperature.icol.am" flags setValue 1
"temperature.icol.am" shift setMinMax -1 1
"temperature.icol.am" shift setButtons 0
"temperature.icol.am" shift setEditButton 1
"temperature.icol.am" shift setIncrement 0.133333
"temperature.icol.am" shift setValue 0
"temperature.icol.am" shift setSubMinMax -1 1
"temperature.icol.am" scale setMinMax 0 1
"temperature.icol.am" scale setButtons 0
"temperature.icol.am" scale setEditButton 1
"temperature.icol.am" scale setIncrement 0.1
"temperature.icol.am" scale setValue 1
"temperature.icol.am" scale setSubMinMax 0 1
"temperature.icol.am" fire
"temperature.icol.am" setViewerMask 16383

set hideNewModules 1
[ load ${SCRIPTDIR}/caption_from_port-files/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 16383

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

set hideNewModules 0
create HxOrthoSlice "Ortho Slice"
"Ortho Slice" setIconPosition 385 44
"Ortho Slice" setVar "CustomHelp" {HxOrthoSlice}
"Ortho Slice" data connect "chocolate-bar.am"
"Ortho Slice" fire
"Ortho Slice" sliceOrientation setValue 0
"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 14.04 10.44 16.8
"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 0 0 1
"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 1910.000000
"Ortho Slice" colormap enableAlpha 1
"Ortho Slice" colormap enableAlphaToggle 1
"Ortho Slice" colormap setAutoAdjustRangeMode 1
"Ortho Slice" sliceNumber setMinMax 0 294
"Ortho Slice" sliceNumber setButtons 1
"Ortho Slice" sliceNumber setEditButton 1
"Ortho Slice" sliceNumber setIncrement 1
"Ortho Slice" sliceNumber setValue 140
"Ortho Slice" sliceNumber setSubMinMax 0 294
"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 16383
"Ortho Slice" setShadowStyle 3
"Ortho Slice" setPickable 1

set hideNewModules 0
create HxBoundingBox "Bounding Box"
"Bounding Box" setIconPosition 376 4
"Bounding Box" setVar "CustomHelp" {HxBoundingBox}
"Bounding Box" data connect "chocolate-bar.am"
"Bounding Box" fire
"Bounding Box" options setState {item 0 0 color 1 1 0.5 0 item 3 0 }
"Bounding Box" lineWidth setMinMax 1 10
"Bounding Box" lineWidth setButtons 1
"Bounding Box" lineWidth setEditButton 1
"Bounding Box" lineWidth setIncrement 1
"Bounding Box" lineWidth setValue 1
"Bounding Box" lineWidth setSubMinMax 1 10
"Bounding Box" font setState {name: "Arial Unicode MS" size: 12 buttonText: Select bold: 0 italic: 0 color: 0.8 0.8 0.8}
"Bounding Box" fire
"Bounding Box" setViewerMask 16383
"Bounding Box" setPickable 1

set hideNewModules 0
create HxAnnotation "Caption"
"Caption" setIconPosition 393 79
"Caption" setVar "CustomHelp" {HxAnnotation}
"Caption" fire
"Caption" background setState {item 0 1 color 1 0.5 0.5 0.5 }
"Caption" posType setValue 0
"Caption" originPos setIndex 0 1
"Caption" position2 setMinMax 0 0 2000
"Caption" position2 setValue 0 20
"Caption" position2 setMinMax 1 0 2000
"Caption" position2 setValue 1 20
"Caption" ndcPosition2 setMinMax 0 0 1
"Caption" ndcPosition2 setValue 0 0.0399999991059303
"Caption" ndcPosition2 setMinMax 1 0 1
"Caption" ndcPosition2 setValue 1 0.0399999991059303
"Caption" horizontal setValue 0
"Caption" vertical setValue 0
"Caption" text setState {140}
"Caption" font setState {name: "MS Shell Dlg 2" size: 18 buttonText: Select bold: 1 italic: 0 color: 1 1 1}
"Caption" fire
"Caption" setViewerMask 16383
"Caption" setPickable 1

set hideNewModules 0
create "CaptionFromPort"
"CaptionFromPort" data addType "HxAnnotation"
"CaptionFromPort" script setValue ${SCRIPTDIR}/caption_from_port-files/CaptionFromPort.scro
"CaptionFromPort" setIconPosition 186 61
"CaptionFromPort" setVar "CustomHelp" {CaptionFromPort}
"CaptionFromPort" setVar "portList" {}
"CaptionFromPort" fire
"CaptionFromPort" data connect "Caption"
"CaptionFromPort" module connect "Ortho Slice"
"CaptionFromPort" fire
"CaptionFromPort" portSelection setIndex 0 21
"CaptionFromPort" applyTransformToResult 1
"CaptionFromPort" fire
"CaptionFromPort" setViewerMask 16383
"CaptionFromPort" select
"CaptionFromPort" setPickable 1

set hideNewModules 0

viewer 0 setCameraOrientation 0.998224 -0.0543571 0.0243628 4.2965
viewer 0 setCameraPosition 19.062 65.0071 -6.50149
viewer 0 setCameraFocalDistance 59.8799
viewer 0 setCameraNearDistance 42.0347
viewer 0 setCameraFarDistance 77.7607
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 CaptionFromPort
