View2DExtensions
-
MacroModule
genre |
View2D |
author |
MeVis Medical Solutions AG |
package |
MeVisLab/Standard |
definition |
viewers.def |
see also |
SoView2D , SoView2DAnnotation , SoView2DAutoCenter , SoView2DBorder , SoView2DVoxelValue , SoView2DSlicePan , SoView2DSliceZoom , SoView2DSlicer , SoMouseGrabber |
keywords |
standard , navigation , zoom , shift , pan , autocenter , lut , lookup , annotation |
Purpose
The module View2DExtensions
encapsulates a set of viewer extensions that are commonly used in conjunction with a 2D viewer.
This includes extensions for navigation (browsing through slices, zoom and pan), level/window adjustment and drawing annotations. The various settings of each of these modules can be accessed through the View2DExtensions
panel, and the most important of them are duplicated as module parameter fields. There are some additional parameter, e.g., to enable/disable each of the internal extension modules separately.
Details
The module supports the following functions:
Mouse |
Function |
Middle Mouse, Wheel |
Browse through the slices. |
CTRL-Middle Mouse |
Zoom in/out. |
SHIFT-Middle Mouse |
Move visible rectangle (pan). |
CTRL-SHIFT-Middle |
Mouse Zoom to current mouse position (Auto Center). |
Windows
Default Panel
Output Fields
outNode
-
name:
outNode
, type:
SoNode
, deprecated name:
self
Parameter Fields
Visible Fields
Enable (slicerOn)
-
name:
slicerOn
, type:
Bool
, default:
TRUE
If checked, the interactive slicing is enabled.
Enable (zoomOn)
-
name:
zoomOn
, type:
Bool
, default:
TRUE
If checked, the interactive zooming is enabled.
Enable (panOn)
-
name:
panOn
, type:
Bool
, default:
TRUE
If checked, the interactive panning is enabled.
Enable (autoCenterOn)
-
name:
autoCenterOn
, type:
Bool
, default:
TRUE
If checked, the interactive setting of a center is enabled.
Coordinate System
-
name:
annoCoords
, type:
Enum
, default:
Voxel
Defines the coordinate system in which the current mouse position is displayed in.
Values:
Title |
Name |
Voxel |
Voxel |
World |
World |
CT Values
-
name:
annoCTValue
, type:
Enum
, default:
ToHounsfield
Defines the unit of the voxel values under the mouse cursor.
Values:
Title |
Name |
Deprecated Name |
As Is |
AsIs |
As Is |
To Hounsfield |
ToHounsfield |
To Hounsfield |
Display value with high precision
-
name:
valueHighPrecision
, type:
Bool
, default:
TRUE
If checked, voxel values under the mouse cursor are being displayed with a high precision. This includes the display of all components of non-scalar values and, if enabled, the display of all color channel values.
Enable (annotationOn)
-
name:
annotationOn
, type:
Bool
, default:
TRUE
If checked, the rendering of annotations is enabled.
Enable (annoMouseOn)
-
name:
annoMouseOn
, type:
Bool
, default:
TRUE
If checked, the annotations show the voxel value under the mouse cursor.
Enable (borderOn)
-
name:
borderOn
, type:
Bool
, default:
FALSE
If checked, a border is rendered around the viewer.
Use Managed Interaction
-
name:
useManagedInteraction
, type:
Bool
, default:
FALSE
Use Managed Interaction
for the mouse interaction. This is useful if the rest of the interaction in the scene also uses Managed Interaction, since otherwise there might overlapping interactions.
Hidden Fields
position
-
name:
position
, type:
Vector3
, default:
-3.9842700958252 -7.72900009155273 32.6810989379883
positionMode
-
name:
positionMode
, type:
Enum
, default:
Off
Values:
Title |
Name |
Off |
Off |
Navigate |
Navigate |
On |
On |
lutAlphaSync
-
name:
lutAlphaSync
, type:
Bool
, default:
TRUE
If checked, the setting of the alpha value and the gray value width/center of the LUT is synchronized.
lutGrayCenter
-
name:
lutGrayCenter
, type:
Double
, default:
0.5
, deprecated name:
lutGreyCenter
lutGrayWidth
-
name:
lutGrayWidth
, type:
Double
, default:
0.5
, deprecated name:
lutGreyWidth
lutAlphaCenter
-
name:
lutAlphaCenter
, type:
Double
, default:
0.5
lutAlphaWidth
-
name:
lutAlphaWidth
, type:
Double
, default:
0.5
lutSetDefault
-
name:
lutSetDefault
, type:
Trigger
lutRangeMin
-
name:
lutRangeMin
, type:
Double
, persistent:
no
lutRangeMax
-
name:
lutRangeMax
, type:
Double
, persistent:
no
lutIsRelative
-
name:
lutIsRelative
, type:
Bool
, default:
TRUE
lutSetDefaultOnce
-
name:
lutSetDefaultOnce
, type:
Bool
, default:
FALSE
lutColorFactor
-
name:
lutColorFactor
, type:
Color
, default:
1 1 1
lutAlphaFactor
-
name:
lutAlphaFactor
, type:
Double
, default:
1
, minimum:
0
, maximum:
1
annotFontSize
-
name:
annotFontSize
, type:
Enum
, default:
ANNO_SIZE_AUTO
Values:
Title |
Name |
Deprecated Name |
Auto |
ANNO_SIZE_AUTO |
AUTO_SIZE_ANNOTATION |
Small |
ANNO_SIZE_SMALL |
SMALL_ANNOTATION |
Medium |
ANNO_SIZE_MEDIUM |
MEDIUM_ANNOTATION |
Large |
ANNO_SIZE_LARGE |
LARGE_ANNOTATION |
User |
ANNO_SIZE_USER |
|
annotShowOrientation
-
name:
annotShowOrientation
, type:
Enum
, default:
ANNO_ORIENTATION_SIZE_WEIGHTED
Values:
Title |
Name |
Deprecated Name |
Off |
ANNO_ORIENTATION_OFF |
FALSE |
Size Fixed |
ANNO_ORIENTATION_SIZE_FIXED |
|
Size Weighted |
ANNO_ORIENTATION_SIZE_WEIGHTED |
TRUE |
annotVerticalRuler
-
name:
annotVerticalRuler
, type:
Bool
, default:
TRUE
annotHorizontalRuler
-
name:
annotHorizontalRuler
, type:
Bool
, default:
FALSE
annotationCol
-
name:
annotationCol
, type:
Color
, default:
0.899999976158142 0.899999976158142 0.899999976158142
annotationMode
-
name:
annotationMode
, type:
Enum
, default:
ANNO_MODE_AUTO
Values:
Title |
Name |
Deprecated Name |
User |
ANNO_MODE_USER |
USER_ANNOTATION |
CT |
ANNO_MODE_CT |
CT_ANNOTATION |
MR |
ANNO_MODE_MR |
MR_ANNOTATION |
Auto |
ANNO_MODE_AUTO |
AUTO_SELECT_ANNOTATION |
annotShowAnnot
-
name:
annotShowAnnot
, type:
Enum
, default:
ANNO_SHOW_DETAILED
Values:
Title |
Name |
Deprecated Name |
Hide |
ANNO_SHOW_HIDE |
HIDE_ANNOTATION |
Short |
ANNO_SHOW_SHORT |
SHORT_ANNOTATION |
Detailed |
ANNO_SHOW_DETAILED |
DETAILED_ANNOTATION |
annotUserTopLeft
-
name:
annotUserTopLeft
, type:
String
, default:
$(PatientsName), $(PatientID) $(PatientsSex), $(PatientsBirthDate), ($(input00)): $(input01)
annotUserTopRight
-
name:
annotUserTopRight
, type:
String
, default:
$(InstitutionName), $(ManufacturersModelName), $(Modality)
annotUserBottomLeft
-
name:
annotUserBottomLeft
, type:
String
, default:
slice: $(slice), Timepoint: $(timepoint), $(sizex),$(sizey),$(sizez),$(sizec),$(sizet),$(sizeu), $(voxelx),$(voxely),$(voxelz), $(SeriesDescription)
annotUserBottomRight
-
name:
annotUserBottomRight
, type:
String
, default:
User Mode, Scan: $(AcquisitionDate), LUT C/W: $(numInput03) / $(numInput04)
annotUserBottomCenter
-
name:
annotUserBottomCenter
, type:
String
annotShortTopLeft
-
name:
annotShortTopLeft
, type:
String
, default:
$(PatientsName), ($(input00)):, $(input01) GV
annotShortTopRight
-
name:
annotShortTopRight
, type:
String
, default:
$(Modality)
annotShortBottomLeft
-
name:
annotShortBottomLeft
, type:
String
, default:
Slice: $(slice)
annotShortBottomRight
-
name:
annotShortBottomRight
, type:
String
, default:
LUT C/W: $(numInput03) / $(numInput04)
annotShortBottomCenter
-
name:
annotShortBottomCenter
, type:
String
annotMRTopLeft
-
name:
annotMRTopLeft
, type:
String
, default:
$(PatientsName), $(PatientsBirthDate) $(PatientsSex), $(PatientID), ($(input00)):, $(input01) GV
annotMRTopRight
-
name:
annotMRTopRight
, type:
String
, default:
$(InstitutionName), $(ManufacturersModelName), $(Modality)
annotMRBottomLeft
-
name:
annotMRBottomLeft
, type:
String
, default:
Slice: $(slice), Timepoint: $(timepoint), $(sizex),$(sizey),$(sizez),$(sizec),$(sizet), $(voxelx),$(voxely),$(voxelz), $(SeriesDescription), $(ImageComments)
annotMRBottomRight
-
name:
annotMRBottomRight
, type:
String
, default:
MR Mode, Scan: $(AcquisitionDate), LUT C/W: $(numInput03) / $(numInput04)
annotMRBottomCenter
-
name:
annotMRBottomCenter
, type:
String
annotCTTopLeft
-
name:
annotCTTopLeft
, type:
String
, default:
$(PatientsName), $(PatientsBirthDate) $(PatientsSex), $(PatientID), ($(input00)): , $(numInput02) $(input09)
annotCTTopRight
-
name:
annotCTTopRight
, type:
String
, default:
$(InstitutionName), $(ManufacturersModelName), $(Modality)
annotCTBottomLeft
-
name:
annotCTBottomLeft
, type:
String
, default:
Slice: $(slice), Timepoint: $(timepoint), $(sizex),$(sizey),$(sizez),$(sizec),$(sizet), $(voxelx),$(voxely),$(voxelz), $(SeriesDescription), $(ImageComments)
annotCTBottomRight
-
name:
annotCTBottomRight
, type:
String
, default:
CT Mode, Scan: $(AcquisitionDate), LUT C/W: $(numInput07) / $(numInput08)
annotCTBottomCenter
-
name:
annotCTBottomCenter
, type:
String
maxPrecision
-
name:
maxPrecision
, type:
Integer
, default:
4
showColorChannelValues
-
name:
showColorChannelValues
, type:
Bool
, default:
FALSE
colorChannelSeparator
-
name:
colorChannelSeparator
, type:
String
, default:
/
annoReadPixFloorPos
-
name:
annoReadPixFloorPos
, type:
Vector3
, persistent:
no
annoReadPixVoxelPos
-
name:
annoReadPixVoxelPos
, type:
Vector3
, persistent:
no
annoReadPixWorldPos
-
name:
annoReadPixWorldPos
, type:
Vector3
, persistent:
no
borderColor
-
name:
borderColor
, type:
Color
, default:
0.899999976158142 0.899999976158142 0.899999976158142
borderWidth
-
name:
borderWidth
, type:
Float
, default:
1
, minimum:
0
borderEvaluateFocus
-
name:
borderEvaluateFocus
, type:
Bool
, default:
FALSE
borderFocusColor
-
name:
borderFocusColor
, type:
Color
, default:
1 1 1
borderFocusWidth
-
name:
borderFocusWidth
, type:
Float
, default:
2
, minimum:
0
mouseGrabberMode
-
name:
mouseGrabberMode
, type:
Bool
, default:
FALSE
lutOn
-
name:
lutOn
, type:
Bool
, default:
TRUE
If checked, the use of a LUT is enabled.
lutMouseOn
-
name:
lutMouseOn
, type:
Bool
, default:
TRUE
If checked, the interactive setting of the LUT width and center is enabled.
lutMouseShift
-
name:
lutMouseShift
, type:
Enum
, default:
RELEASED
Values:
Title |
Name |
Pressed |
PRESSED |
Released |
RELEASED |
Ignored |
IGNORED |
lutMouseCtrl
-
name:
lutMouseCtrl
, type:
Enum
, default:
RELEASED
Values:
Title |
Name |
Pressed |
PRESSED |
Released |
RELEASED |
Ignored |
IGNORED |
lutMouseAlt
-
name:
lutMouseAlt
, type:
Enum
, default:
RELEASED
Values:
Title |
Name |
Pressed |
PRESSED |
Released |
RELEASED |
Ignored |
IGNORED |
positionMouseShift
-
name:
positionMouseShift
, type:
Enum
, default:
PRESSED
Values:
Title |
Name |
Pressed |
PRESSED |
Released |
RELEASED |
Ignored |
IGNORED |
positionMouseCtrl
-
name:
positionMouseCtrl
, type:
Enum
, default:
RELEASED
Values:
Title |
Name |
Pressed |
PRESSED |
Released |
RELEASED |
Ignored |
IGNORED |
positionMouseAlt
-
name:
positionMouseAlt
, type:
Enum
, default:
IGNORED
Values:
Title |
Name |
Pressed |
PRESSED |
Released |
RELEASED |
Ignored |
IGNORED |
positionColor
-
name:
positionColor
, type:
Color
, default:
0.886206984519958 0.875320017337799 0.560474991798401
positionDrawingOn
-
name:
positionDrawingOn
, type:
Bool
, default:
FALSE
slicerMouseShift
-
name:
slicerMouseShift
, type:
Enum
, default:
RELEASED
Values:
Title |
Name |
Pressed |
PRESSED |
Released |
RELEASED |
Ignored |
IGNORED |
slicerMouseCtrl
-
name:
slicerMouseCtrl
, type:
Enum
, default:
RELEASED
Values:
Title |
Name |
Pressed |
PRESSED |
Released |
RELEASED |
Ignored |
IGNORED |
slicerMouseAlt
-
name:
slicerMouseAlt
, type:
Enum
, default:
RELEASED
Values:
Title |
Name |
Pressed |
PRESSED |
Released |
RELEASED |
Ignored |
IGNORED |
zoomMouseShift
-
name:
zoomMouseShift
, type:
Enum
, default:
RELEASED
Values:
Title |
Name |
Pressed |
PRESSED |
Released |
RELEASED |
Ignored |
IGNORED |
zoomMouseCtrl
-
name:
zoomMouseCtrl
, type:
Enum
, default:
PRESSED
Values:
Title |
Name |
Pressed |
PRESSED |
Released |
RELEASED |
Ignored |
IGNORED |
zoomMouseAlt
-
name:
zoomMouseAlt
, type:
Enum
, default:
IGNORED
Values:
Title |
Name |
Pressed |
PRESSED |
Released |
RELEASED |
Ignored |
IGNORED |
panMouseShift
-
name:
panMouseShift
, type:
Enum
, default:
PRESSED
Values:
Title |
Name |
Pressed |
PRESSED |
Released |
RELEASED |
Ignored |
IGNORED |
panMouseCtrl
-
name:
panMouseCtrl
, type:
Enum
, default:
RELEASED
Values:
Title |
Name |
Pressed |
PRESSED |
Released |
RELEASED |
Ignored |
IGNORED |
panMouseAlt
-
name:
panMouseAlt
, type:
Enum
, default:
IGNORED
Values:
Title |
Name |
Pressed |
PRESSED |
Released |
RELEASED |
Ignored |
IGNORED |
autoCenterMouseShift
-
name:
autoCenterMouseShift
, type:
Enum
, default:
PRESSED
Values:
Title |
Name |
Pressed |
PRESSED |
Released |
RELEASED |
Ignored |
IGNORED |
autoCenterMouseCtrl
-
name:
autoCenterMouseCtrl
, type:
Enum
, default:
PRESSED
Values:
Title |
Name |
Pressed |
PRESSED |
Released |
RELEASED |
Ignored |
IGNORED |
autoCenterMouseAlt
-
name:
autoCenterMouseAlt
, type:
Enum
, default:
IGNORED
Values:
Title |
Name |
Pressed |
PRESSED |
Released |
RELEASED |
Ignored |
IGNORED |