Skip to content

Instantly share code, notes, and snippets.

@tlancon
Created May 2, 2018 12:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tlancon/6e92a3344d50760525867f7f2c6e66cf to your computer and use it in GitHub Desktop.
Save tlancon/6e92a3344d50760525867f7f2c6e66cf to your computer and use it in GitHub Desktop.
Auto-adjusts the colormap for Avizo/Amira Ortho Slice modules
# 1. Copy/paste this into Avizo/Amira console
# 2. Select one or more Ortho Slices to auto-adjust and press F3
# Note: Can change 'onKeyFX' to the desired keybinding
proc onKeyF3 {} {
foreach slice [all -selected HxOrthoSlice] {
$slice colormap adjustRange; $slice fire
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment