RemoteRenderingEventRecorder

MacroModule
author MeVis Medical Solutions AG
package MeVisLab/Standard
definition RemoteRenderingEventRecorder.def
see also RemoteRenderingEventReplay

Purpose

The RemoteRenderingEventRecorder can be used to record events on a RemoteRendering scene. Pressing “F1” will store the command to record a screenshot on replay, instead of sending the F1 key press/release event.

Currently supported events are: - MouseButtonPress, MouseButtonRelease, MouseButtonDblClick, MouseMove - Wheel - KeyPress, KeyRelease

You can save the recorded events to disk and can replay them in TestCenter tests using TestSupport.RemoteRenderingEventReplay or using the RemoteRenderingEventReplay module. For an example TestCase that uses event replay, have a look at the SoView2DExtensibleCSOEditor TestCase.

Input Fields

input

name: input, type: RemoteRendering(MLBase)

A RemoteRendering base field.

For accessing this object via scripting see the Scripting Reference: MLRemoteRenderingWrapper.

Parameter Fields

Field Index

isRecording: Bool
pauseDetected: Bool
pauseThreshold: Integer
Record enter/leave: Bool
Record Hovering: Bool
Record Pauses: Bool

Visible Fields

Record Hovering

name: recordHovering, type: Bool, default: TRUE

If enabled, all MouseMove events are recorded. If disabled, only the MouseMove events while pressing a button are recorded.

Record enter/leave

name: recordEnterLeave, type: Bool, default: TRUE

If enabled, mouse Enter and mouse Leave events are recorded (mouse cursor entering/leaving the viewer area).

Record Pauses

name: recordPauses, type: Bool, default: FALSE

If enabled, longer pauses (see pauseThreshold) between events are recorded explicitly. The mouse cursor must be in the viewing area for a pause to be recorded.

Hidden Fields

isRecording

name: isRecording, type: Bool, persistent: no

pauseThreshold

name: pauseThreshold, type: Integer, default: 500

Minimum duration of an event pause in milliseconds before it is recorded.

pauseDetected

name: pauseDetected, type: Bool, persistent: no