Caption From Port
Use this module to fill the text field of a Caption module with the value of a port of another module.
This is an experimental module from the Xtra Library: https://xtras.amira-avizo.com
Use this module to fill the text field of a Caption module
with the value of a port of another module.
You can use it, for instance, for dynamically displaying the slice-number of an OrthoSlice in the viewer window, for displaying the normal vector components of a Slice, for showing the rotation angle of a Camera Orbit (in an animation), or, when processing time-series, to show the time-step being processed.
Installation
Copy the .scro and .rc files to the share/script-objects sub-directory of either your directory containing local resources (set using the environment variables AMIRA_LOCAL or AVIZO_LOCAL) or of your Amira/Avizo installation directory. Restart Amira/Avizo.
Usage
Instantiate
Right-click on a Caption module, select Create Object and choose Xtra->Annotate->CaptionFromPort.
Settings
- Caption module: Select the Caption module, whose text field you want to connect to the value of a port from another module.
- Module to get ports from: Choose the module with the port you want to use.
- Port: Select the port, whose value you want to use in the Caption.
If the port's value is changed, e.g. the slice-number of an OrthoSlice, the Caption is automatically updated.