From 66e3b9f85724c9b9683b07cba8f68a6b817df00e Mon Sep 17 00:00:00 2001 From: dannyrb Date: Mon, 3 Jun 2019 12:43:36 -0400 Subject: [PATCH] Commands list for cornerstone extension --- .../ohif-cornerstone-extension/README.md | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/extensions/ohif-cornerstone-extension/README.md b/extensions/ohif-cornerstone-extension/README.md index 82af692dd..98f92b8a0 100644 --- a/extensions/ohif-cornerstone-extension/README.md +++ b/extensions/ohif-cornerstone-extension/README.md @@ -1 +1,31 @@ # @ohif/extension-cornerstone + +## Commands + +This extensions includes the following `Commands` and `Command Definitions`. These can be registered with `@ohif/core`'s `CommandManager`. After registering the commands, they can be bound to `hotkeys` using the `HotkeysManager` and listed in the `UserPreferences` modal. + +You can read more about [`Commands`](), [`Hotkeys`](), and the [`UserPreferences` Modal]() in their respective locations in the OHIF Viewer's documentation. + +| Command Name | Description | Store Contexts | +| ---------------------------- | ----------- | -------------- | +| `rotateViewportCW` | | viewports | +| `rotateViewportCCW` | | viewports | +| `invertViewport` | | viewports | +| `flipViewportVertical` | | viewports | +| `flipViewportHorizontal` | | viewports | +| `scaleUpViewport` | | viewports | +| `scaleDownViewport` | | viewports | +| `fitViewportToWindow` | | viewports | +| `resetViewport` | | viewports | +| clearAnnotations | TODO | | +| next/previous Image | TODO | | +| first/last Image | TODO | | +| `nextViewportDisplaySet` | | none | +| `previousViewportDisplaySet` | | none | + + + + +