Enums

class ipyniivue.constants.DragMode(*values)[source]

Bases: Enum

An enumeration of drag modes for NiiVue instances.

Members

CONTRASTint

Contrast adjustment mode (value 1).

MEASUREMENTint

Measurement mode for taking measurements (value 2).

PANint

Pan mode for moving around the image (value 3).

CALLBACK_ONLY = 5
CONTRAST = 1
MEASUREMENT = 2
NONE = 0
PAN = 3
ROI_SELECTION = 6
SLIDER_3D = 4
class ipyniivue.constants.MultiplanarType(*values)[source]

Bases: Enum

An enumeration of multiplanar types for NiiVue instances.

Members

AUTOint

Automatic multiplanar type (value 0).

COLUMNint

Column multiplanar type (value 1).

GRIDint

Grid multiplanar type (value 2).

ROWint

Row multiplanar type (value 3).

AUTO = 0
COLUMN = 1
GRID = 2
ROW = 3
class ipyniivue.constants.SliceType(*values)[source]

Bases: Enum

An enumeration of slice types for NiiVue instances.

Members

AXIALint

Axial slice type (value 0).

CORONALint

Coronal slice type (value 1).

SAGITTALint

Sagittal slice type (value 2).

MULTIPLANARint

Multiplanar view type (value 3).

RENDERint

Render view type (value 4).

AXIAL = 0
CORONAL = 1
MULTIPLANAR = 3
RENDER = 4
SAGITTAL = 2
class ipyniivue.constants.ShowRender(*values)[source]

Bases: Enum

An enumeration for specifying when to show rendering in NiiVue instances.

Members

NEVERint

Never show rendering (value 0).

ALWAYSint

Always show rendering (value 1).

AUTOint

Automatically determine whether to show rendering (value 2).

ALWAYS = 1
AUTO = 2
NEVER = 0