mitk.OverwriteStyle#

class mitk.OverwriteStyle#

Bases: pybind11_object

Whether a mutation should respect the per-label locked flag.

When a label is locked, edits at its pixels are normally prevented; this enum lets callers force the operation through.

Members:

REGARD_LOCKS : Skip pixels of labels marked as locked.

IGNORE_LOCKS : Edit all pixels regardless of label lock state.

__init__(self: mitk.OverwriteStyle, value: SupportsInt) None#

Methods

__init__(self, value)

Attributes

IGNORE_LOCKS = <OverwriteStyle.IGNORE_LOCKS: 1>#
REGARD_LOCKS = <OverwriteStyle.REGARD_LOCKS: 0>#
__eq__(self: object, other: object, /) bool#
__ne__(self: object, other: object, /) bool#
OverwriteStyle.name -> str
property value#