Add a Tool to the Viewer

To add a tool to the Viewer there are a few steps:

  1. Add the tool itself to the repository.

    If you're using something from Cornerstone Tools you can skip this step.

    Some examples of custom tools can be found in the lesion tracker:

  2. Add the toolbar button itself to the array of tools in the Toolbar:

  3. A: Add it to the toolManager (if it's a tool, such as length / angle):

    --- OR ---

    B: Add it to the functionList if it's a command (e.g. toggle CINE play, or Invert the current viewport):

results matching ""

    No results matching ""