| Member name | Value | Description |
---|
| mcsrtcfNoFlags | 0 | No flags |
| mcsrtcfPushResultMcRegionsOntoUndoStack | 1 | Action flag: Thecurrent state of the results McRegions (see mcsrtcfSetResultMcRegions) and
other tool state information is pushed onto the backspace key Undo stack and
the Redo stack is cleared. You would use this action flag before making some
change (e.g., removing all features) to the results McRegions that you wanted
to be undoable in the same way that changes made with the tool are undoable. |
| mcsrtcfDoUndo | 2 | Action flag: Onelevel of Undo is performed, if possible. This is equivalent to pressing
the Backspace key. The mcsrtcfCanUndo CommandFlags bit will be set
if an undo is possible. |
| mcsrtcfDoRedo | 3 | Action flag: Onelevel of Redo is performed, if possible. This is equivalent to pressing
the Shift-backspace key. The mcsrtcfCanRedo CommandFlags bit will be set
if a redo is possible. |
| mcsrtcfCaptureUndoState | 4 | Action flag: Thecurrent state of the tool is captured for the next push onto the undo stack. |
| mcsrtcfSetResultMcRegions | 16 | Action flag: CommandData iscast to an McRegions instance and used as the McRegions into which the
results will be appended as a new sub-region feature. If this McRegions is
not set, then by default it is the Aoi of the ancestor image of the
McGraphOverlay on which the McSeedRegionTool has been invoked (via a call to
McGraphOverlay.SelectTool). Once the CommandData is accessed, it is
cleared. |
| mcsrtcfGetResultMcRegions | 32 | Action flag: Get, intoCommandData, the McRegions instance that is used as the McRegions into which
the results will be appended as a new sub-region feature. Unless the
mcsrtcfSetResultMcRegions action flag has been used to change it, this
McRegions instance will be the Aoi of the ancestor image of the
McGraphOverlay on which the McSeedRegionTool has been invoked (via a call to
McGraphOverlay.SelectTool). Once the CommandData is gotten to retrieve the
result, it is cleared. |
| mcsrtcfSetMinimumSize | 48 | Action flag: The integralvalue in CommandData is used to establish the minimum size, in square
pixels, for retaining created regions. By default the minimum size value is
zero, so no size test is applied. If the shift key is pressed so that the
seeded region is subtracted from existing regions, then the test is applied
only to regions that were touched by the subtracting, seeded region. Once
the CommandData is accessed, it is cleared. |
| mcsrtcfGetMinimumSize | 64 | Action flag: CommandData isfilled with the minimum size, in square pixels, for retaining created regions
(see mcsrtcfSetMinimumSize). Once the CommandData is gotten to retrieve the
result, it is cleared. |
| mcsrtcfGetWorkingMcRegions | 256 | Action flag: Get, intoCommandData, the unnamed temporary McRegions instance that is used to get
the seeded region (via a call to McRegions.Threshold.Execute with the
SeedPoint argument set). The working McRegions operator will be a child of
the the ancestor image of the McGraphOverlay on which the McSeedRegionTool
has been invoked (via a call to McGraphOverlay.SelectTool). Once the
CommandData is gotten to retrieve the result, it is cleared. |
| mcsrtcfRepeatLastClick | 257 | Action flag: Repeat the lastclick operation with current WorkingRegions properties. In particular,
the current WorkingRegions.Threshold.IntensityRange settings will usually
be different that when the click was done. |
| mcsrtcfGetLastClickLocation | 258 | Action flag: On exit CommandDatais set to the image location of the last click as length-2 array of Single. If
no such click has been done, then the returned X,Y value will be -1,-1. The
value is cleared once it is accessed. |
| mcsrtcfSimulateClick | 259 | Action flag: On entry,CommandData may be empty or set to an X,Y value giving the image location of the
simulated click. If CommandData is empty, then the last click location is used
and in any case on exit CommandData will be cleared to Empty and the last click
location will be set to that used for the simulated click. |
| mcsrtcfSetUndoStack | 260 | Action flag: On entry CommandDatashould be set to an instance McUndoStack or empty. If given an instance of
McUndoStack, then irrespective of the state of the mcsrtcfUseImageUndoStack
flag, this McUndoStack instance will be used when pushing undo/redo states. |
| mcsrtcfFlushUndoStack | 261 | Action flag: The currently usedundo stack is flushed, emptying it of all undo/redo states associated with this
tool.. |
| mcsrtcfCanRepeat | 2048 | Read-Only static flag: Ifset, the mcsrtcfRepeatLastClick action flag is available. This bit cannot be
set by assignment, but assigning a clear state to this bit will prevent
mcsrtcfRepeatLastClick action until the next click is made. |
| mcsrtcfKeepOneRegionOnly | 4096 | Static flag: If set, anyexisting features in the Results McRegions that intersect the seeded region
are replaced by the new, seeded, region. If the shift key is pressed, so
that the seeded region is subtracted from existing regions, and multiple
regions result from the subtraction, then only the largest remaining of
these regions is kept. |
| mcsrtcfForceMergeMode | 8192 | Static flag: If set, the toolis kept in merge mode, whether the Ctrl key is pressed or not. Pressing
Shift-click still subtracts the seeded region. |
| mcsrtcfForceSubtractMode | 16384 | Static flag: If set, the toolis kept in subtract mode, whether the Shift key is pressed or not. Pressing
Ctrl-click still merges the seeded region. |
| mcsrtcfUseImageUndoStack | 32768 | Static flag: If set,undo/redo information is placed on the UndoStack of the McImage ancestor of the
results McRegions (see mcsrtcfSetResultMcRegions), and is left there when the
tool is shut down. If clear (the default), undo/redo information is kept on an
internal UndoStack. Changing the state of this flag will clear any undo stack
that has been set by the mcsrtcfSetUndoStack action flag. |
| mcsrtcfMergeMode | 1048576 | Read-Only static flag: Ifset, the tool is in merge mode, either because the Ctrl key is pressed or
the mcsrtcfForceMergeMode flag is set. This bit cannot be set by
assignment. |
| mcsrtcfSubtracMode | 2097152 | Read-Only static flag: Ifset, the tool is in subtract mode, either because the Shift key is pressed
or the mcsrtcfForceSubtractMode flag is set. This bit cannot be set by
assignment. |
| mcsrtcfCanUndo | 4194304 | Read-Only static flag: Ifset, a backspace Undo operation is available. This bit cannot be set by
assignment. |
| mcsrtcfCanRedo | 8388608 | Read-Only static flag: Ifset, a Shift-backspace Redo operation is available. This bit cannot be set
by assignment. |
| mcsrtcfModeStateFlagsMask | 3145728 | |
| mcsrtcfReadOnlyFlagsMask | 15728640 | Read-only static flags are masked by this. |