Bidirectional Tool

How to set up the Bidirectional tool:

// Init cornerstone tools
cornerstoneTools.init();

// Enable any elements, and display images
// ...

// Add our tool, and set it's mode
const BidirectionalTool = cornerstoneTools.BidirectionalTool;

cornerstoneTools.addTool(BidirectionalTool)
cornerstoneTools.setToolActive('Bidirectional', { mouseButtonMask: 1 })