Skip to content
Chris Hafey edited this page Apr 7, 2014 · 2 revisions

How to implement a custom tool:

  1. Register for the CornerstoneImageRendered event so you can draw your tool. Read more about Drawing geometry with tools and Drawing text with tools
  2. Figure out which events your tool needs to listen for (e.g. left mouse click)
  3. Store image specific tool data or stack scoped tool data using getElementData API
Clone this wiki locally