Scan State
SS_01
: Current Scan Status & Variable Values
- Version:
1.0.0
- Interface:
scan_state
- Action:
ss_01
Payload Definition
Type: CurrentScanState
{
"Version": "String",
"CurrentView": "ENUM: ScanView",
"Display": {
"Version": "String",
"WindowLower": "Float",
"WindowUpper": "Float",
"ThresholdLower": "Float",
"ThresholdUpper": "Float",
"Brightness": "Float",
"Contrast": "Float",
"Opacity": "Float"
},
"Slice": {
"Version": "String",
"TransverseLower": "Float",
"TransverseUpper": "Float",
"SagittalLower": "Float",
"SagittalUpper": "Float",
"CoronalLower": "Float",
"CoronalUpper": "Float"
},
"InteractionSettings": {
"Version": "String",
"PanSensivitity": "Float",
"ZoomSensitivity": "Float",
"RotateSensitivity": "Float",
"CameraRotateSensitivity": "Float",
"KeyboardEnabled": "Boolean",
"MouseEnabled": "Boolean",
"InteractionMode": "ENUM: ViewInteractiveMode"
},
"Orientations": {
"Version": "String",
"Transverse": {
"Version": "String",
"VerticalFlip": "Boolean",
"HorizontalFlip": "Boolean",
"Rotation": "Float",
"Visibility": "Boolean",
"Slice": "Float"
},
"Sagittal": {
"Version": "String",
"VerticalFlip": "Boolean",
"HorizontalFlip": "Boolean",
"Rotation": "Float",
"Visibility": "Boolean",
"Slice": "Float"
},
"Coronal": {
"Version": "String",
"VerticalFlip": "Boolean",
"HorizontalFlip": "Boolean",
"Rotation": "Float",
"Visibility": "Boolean",
"Slice": "Float"
},
"Volume": {
"Version": "String",
"Visibility": "Boolean",
"Inverted": {
"Version": "String",
"InvertedSagittal": "Boolean",
"InvertedCoronal": "Boolean",
"InvertedTransverse": "Boolean"
}
}
},
"Layout": {
"Version": "String",
"SwitchOnViewChange": "Boolean",
"PositionData": [
{
"Version": "String",
"ActiveView": "Boolean",
"DefaultView": "ENUM: ScanView",
"Anchor": "ENUM: AnchorPoint",
"Offset": {
"Version": "String",
"X": "Float",
"Y": "Float"
},
"AspectRatio": "Float",
"MaxSize": {
"Version": "String",
"X": "Float",
"Y": "Float"
},
"Priority": "Int32"
}
]
},
"Colour": {
"Version": "String",
"Name": "String",
"ColourGradient": [
{
"Version": "String",
"R": "Float",
"G": "Float",
"B": "Float",
"Time": "Float"
}
],
"AlphaGradient": [
{
"Version": "String",
"Alpha": "Float",
"Time": "Float"
}
]
},
"NavigationCube": {
"Version": "String",
"Transform": {
"Version": "String",
"AnchorPoint": "ENUM: AnchorPoint",
"Position": {
"Version": "String",
"X": "Float",
"Y": "Float"
},
"Size": {
"Version": "String",
"X": "Float",
"Y": "Float"
}
},
"Visibility": {
"Version": "String",
"Value": "Boolean"
},
"Interactivity": {
"Version": "String",
"Value": "Boolean"
},
"Colour": {
"Version": "String",
"R": "Float",
"G": "Float",
"B": "Float",
"A": "Float"
},
"HighlightColour": {
"Version": "String",
"R": "Float",
"G": "Float",
"B": "Float",
"A": "Float"
},
"NavCubeGraphicType": "ENUM: GraphicType"
},
"ScanMovement": {
"Version": "String"
}
}
Example definition
Type: CurrentScanState
{
"Version": "1.0.0",
"CurrentView": 0,
"Display": {
"Version": "0.0.1",
"WindowLower": 0,
"WindowUpper": 0,
"ThresholdLower": 0,
"ThresholdUpper": 0,
"Brightness": 0,
"Contrast": 0,
"Opacity": 0
},
"Slice": {
"Version": "1.0.0",
"TransverseLower": 0,
"TransverseUpper": 0,
"SagittalLower": 0,
"SagittalUpper": 0,
"CoronalLower": 0,
"CoronalUpper": 0
},
"InteractionSettings": {
"Version": "1.0.0",
"PanSensivitity": 0,
"ZoomSensitivity": 0,
"RotateSensitivity": 0,
"CameraRotateSensitivity": 0,
"KeyboardEnabled": false,
"MouseEnabled": false,
"InteractionMode": 0
},
"Orientations": {
"Version": "1.0.0",
"Transverse": {
"Version": "1.0.0",
"VerticalFlip": false,
"HorizontalFlip": false,
"Rotation": 0,
"Visibility": true,
"Slice": 0
},
"Sagittal": {
"Version": "1.0.0",
"VerticalFlip": false,
"HorizontalFlip": false,
"Rotation": 0,
"Visibility": true,
"Slice": 0
},
"Coronal": {
"Version": "1.0.0",
"VerticalFlip": false,
"HorizontalFlip": false,
"Rotation": 0,
"Visibility": true,
"Slice": 0
},
"Volume": {
"Version": "1.1.0",
"Visibility": true,
"Inverted": {
"Version": "1.1.0",
"InvertedSagittal": true,
"InvertedCoronal": true,
"InvertedTransverse": true
}
}
},
"Layout": {
"Version": "0.0.1",
"SwitchOnViewChange": false,
"PositionData": [
{
"Version": null,
"ActiveView": false,
"DefaultView": 0,
"Anchor": 0,
"Offset": {
"Version": "1.0.0",
"X": 0,
"Y": 0
},
"AspectRatio": 0,
"MaxSize": {
"Version": "1.0.0",
"X": 0,
"Y": 0
},
"Priority": 0
}
]
},
"Colour": {
"Version": "0.0.1",
"Name": "Some Colour Preset",
"ColourGradient": [
{
"Version": "1.0.0",
"R": 255,
"G": 255,
"B": 255,
"Time": 2
}
],
"AlphaGradient": [
{
"Version": "1.0.0",
"Alpha": 1,
"Time": 2
}
]
},
"NavigationCube": {
"Version": "1.2.1",
"Transform": {
"Version": "1.0.0",
"AnchorPoint": 0,
"Position": {
"Version": "1.0.0",
"X": 0,
"Y": 0
},
"Size": {
"Version": "1.0.0",
"X": 0,
"Y": 0
}
},
"Visibility": {
"Version": "0.0.1",
"Value": true
},
"Interactivity": {
"Version": "0.0.1",
"Value": true
},
"Colour": {
"Version": "1.1.0",
"R": 0,
"G": 0,
"B": 0,
"A": 0
},
"HighlightColour": {
"Version": "1.1.0",
"R": 0,
"G": 0,
"B": 0,
"A": 0
},
"NavCubeGraphicType": 0
},
"ScanMovement": {
"Volume": {
"Version": "1.1.0",
"VolumeRotation": {
"Version": "1.1.0",
"X": 0,
"Y": 0,
"Z": 0
},
"CameraRotation": {
"Version": "1.1.0",
"X": 0,
"Y": 0,
"Z": 0
},
"Pan": {
"Version": "1.0.0",
"X": 0,
"Y": 0
},
"Zoom": 1
},
"Transverse": {
"Version": "1.1.0",
"Pan": {
"Version": "1.0.0",
"X": 0,
"Y": 0
},
"Zoom": 1
},
"Sagittal": {
"Version": "1.1.0",
"Pan": {
"Version": "1.0.0",
"X": 0,
"Y": 0
},
"Zoom": 1
},
"Coronal": {
"Version": "1.1.0",
"Pan": {
"Version": "1.0.0",
"X": 0,
"Y": 0
},
"Zoom": 1
},
"Version": "1.0.0"
}
}
Response Codes
Code | Description |
---|
SS_02
: Current Data Overlay & Variable Values
- Version:
1.0.0
- Interface:
scan_state
- Action:
ss_02
Payload Definition
Type: CurrentDataOverlayState
{
"Version": "String",
"DataOverlay": {
"LongLength": "Int64",
"IsFixedSize": "Boolean",
"IsReadOnly": "Boolean",
"IsSynchronized": "Boolean",
"SyncRoot": {},
"Length": "Int32",
"Rank": "Int32"
}
}
Example definition
Type: CurrentDataOverlayState
"CurrentDataOverlayState"
Response Codes
Code | Description |
---|
SS_03
: Current MCAD State & Variable Values
- Version:
1.0.0
- Interface:
scan_state
- Action:
ss_03
Payload Definition
Type: CurrentMcadState
{
"Version": "String",
"Models": {
"LongLength": "Int64",
"IsFixedSize": "Boolean",
"IsReadOnly": "Boolean",
"IsSynchronized": "Boolean",
"SyncRoot": {},
"Length": "Int32",
"Rank": "Int32"
}
}
Example definition
Type: CurrentMcadState
"CurrentMcadState"
Response Codes
Code | Description |
---|