Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | /** * Defines the names of the strategy callbacks used for performing enhanced * strategy operations. */ enum StrategyCallbacks { /** * startStrategy is called at the start of a strategy, typically on mouse down * Note this is separate from preview and the endings for preview, which could * be called alternatively, but this may be nested within a preview. */ OnInteractionStart = 'onInteractionStart', /** * finishStrategy is called at the end of a strategy being applied, usually on * mouse up. */ OnInteractionEnd = 'onInteractionEnd', /** * The preview can be used for tools to show what would happen on accepting * before the change is actually done. For example, a spline tool might * show a preview state, and allow that to be accepted or rejected. */ Preview = 'preview', RejectPreview = 'rejectPreview', AcceptPreview = 'acceptPreview', /** * Fills the given region */ Fill = 'fill', /** Interpolate the labelmaps */ Interpolate = 'interpolate', /** * The default strategy function, often synonymous with fill */ StrategyFunction = 'strategyFunction', /** * For threshold functions, this creates the threshold test. Mostly an internal * detail, but might be useful to share between strategies. */ CreateIsInThreshold = 'createIsInThreshold', /** * Some strategy functions need to initialize some data before being runnable. * This is mostly an internal detail, just useful to have an enum here for this. */ Initialize = 'initialize', // Internal Details INTERNAL_setValue = 'setValue', /** * Adds a preview interpolation from the given data. This allows external * methods to set/update the preview and then have it shown/accepted in the * normal fashion. */ AddPreview = 'addPreview', /** inner circle size */ ComputeInnerCircleRadius = 'computeInnerCircleRadius', /** Compute statistics on this instance */ GetStatistics = 'getStatistics', /** Handle stack viewport sphere brush overrides */ EnsureImageVolumeFor3DManipulation = 'ensureImageVolumeFor3DManipulation', /** Handle stack image reference for 3D manipulation */ EnsureSegmentationVolumeFor3DManipulation = 'ensureSegmentationVolumeFor3DManipulation', } export default StrategyCallbacks; |