SoView2DCine¶
-
InventorModule
¶ genre View2D
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoView2D
definition view2d.def inherits from SoView2DExtension
Purpose¶
The module SoView2DCine
provides an extended cinematic function for a 2D viewer.
Details¶
Additionally to the cinematic functions offered by SoView2D
, this module allows to set an increment different from 1 for slicing through the image. This can be used in combination with SoView2D
’s slab for slicing through the image slab by slab.
Parameter Fields¶
Field Index¶
alt : Enum |
fixZOn : Bool |
setEventHandled : Bool |
button1 : Enum |
ignoreHandledEvents : Bool |
shift : Enum |
button2 : Enum |
interactionProviderID : String |
Slice : Integer |
button3 : Enum |
maskValid : Bool |
Slice Increment : Integer |
Cine mode is active : Bool |
Max Slice : Integer |
Speed : Float |
clipToSlice : Bool |
Max Time Point : Integer |
Start : Trigger |
color : Color |
Min Slice : Integer |
Stop : Trigger |
control : Enum |
Min Time Point : Integer |
Time Point : Integer |
createNewMode : Bool |
Mode : Enum |
Time Point Increment : Integer |
createNewModeRequest : Trigger |
needsValidVoxel : Bool |
wantsAllEvents : Bool |
cursorShape : Enum |
renderOnSlab : Bool |
wantsKeyEvents : Bool |
Direction : Enum |
Repeat : Enum |
wantsMouseWheelEvents : Bool |
drawingOn : Bool |
Reset slice/time before starting : Bool |
|
editingOn : Bool |
selectionTolerance : Float |
Visible Fields¶
Start¶
-
name:
start
, type:
Trigger
¶ If pressed, the cinematic function (automatically slicing through the image in determined range) is started.
Note: to record a movie of the slicing, attach a
SoExaminerViewer
or aSoRenderArea
to the correspondingSoView2D
and use the movie recording of those modules.
Slice¶
-
name:
slice
, type:
Integer
, default:
0
, minimum:
:field:`minSlice`
, maximum:
:field:`maxSlice`
¶ Sets and shows the current slice.
Time Point¶
-
name:
timePoint
, type:
Integer
, default:
0
, minimum:
:field:`minTimePoint`
, maximum:
:field:`maxTimePoint`
¶ Sets and shows the current time point.
Min Slice¶
-
name:
minSlice
, type:
Integer
, default:
0
, minimum:
0
, maximum:
:field:`maxSlice`
¶ Sets the first slice for slicing in the z-dimension for the cinematic function.
Max Slice¶
-
name:
maxSlice
, type:
Integer
, default:
0
, minimum:
:field:`minSlice`
¶ Sets the last slice for slicing in the z-dimension for the cinematic function.
Slice Increment¶
-
name:
sliceIncrement
, type:
Integer
, default:
1
, minimum:
1
¶ Sets the slice increment for slicing in the z-dimension for the cinematic function.
Min Time Point¶
-
name:
minTimePoint
, type:
Integer
, default:
0
, minimum:
0
, maximum:
:field:`maxTimePoint`
¶ Sets the first slice for slicing in the t-dimension for the cinematic function.
Max Time Point¶
-
name:
maxTimePoint
, type:
Integer
, default:
0
, minimum:
:field:`minTimePoint`
¶ Sets the last slice for slicing in the t-dimension for the cinematic function.
Time Point Increment¶
-
name:
timePointIncrement
, type:
Integer
, default:
1
, minimum:
1
¶ Sets the slice increment for slicing in the t-dimension for the cinematic function.
Mode¶
-
name:
mode
, type:
Enum
, default:
CINE_Z
¶ Defines through which dimension the cinematic should slice.
Values:
Title | Name | Description |
---|---|---|
Z | CINE_Z | Go through slices. |
T | CINE_T | Go through time points. |
ZT | CINE_ZT | Go through slices, then time points. This mode only allows to move forward. |
TZ | CINE_TZ | Go through time points, then slices. This mode only allows to move forward. |
Direction¶
-
name:
direction
, type:
Enum
, default:
CINE_PINGPONG
¶ Defines the cinematic function.
Values:
Title | Name | Description |
---|---|---|
Forward | CINE_FORWARD | Go forward through slices/time points. If Repeat is set to CINE_REPEAT, start from beginning when at the end. |
Pingpong | CINE_PINGPONG | Go forward, then backwards through slices or time points. |
Repeat¶
-
name:
repeat
, type:
Enum
, default:
CINE_ONCE
¶ Defines how the cinematic function should be repeated.
Values:
Title | Name | Description |
---|---|---|
Once | CINE_ONCE | Only go through slices/time points once (or twice, if Direction is set to CINE_PINGPONG). |
Repeat | CINE_REPEAT | Go through slices/time points until the user stops the cine mode (with Stop ). |
Speed¶
-
name:
speed
, type:
Float
, default:
0.1
, minimum:
0.0001
¶ Sets the speed of the cinematic function by setting the waiting time in seconds between showing consecutive slices.