RemoteRenderingTestClient

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

Purpose

The purpose of this module mainly is in designing interaction tests with artificial events (in contrast to events generated with RemoteRenderingEventRecorder). It can be hard to get the event coordinates right, so this module allows to set a fixed rendering size and check positions with the mouse.

Usage

Select the rendering size you also use in your tests, then move the mouse over the rendering to get the exact pixel position of anything shown.

Windows

Default Panel

../../../Modules/ML/MLRemoteRendering/mhelp/Images/Screenshots/RemoteRenderingTestClient._default.png

Input Fields

input

name: input, type: RemoteRendering(MLBase)

Connect this to a RemoteRendering (or RemotePanelRendering) module.

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

Parameter Fields

Field Index

Height: Integer
Present: Bool
Width: Integer
X: Integer
Y: Integer

Visible Fields

Width

name: width, type: Integer, default: 200

The rendering width.

Height

name: height, type: Integer, default: 200

The rendering height.

X

name: mouseX, type: Integer, persistent: no

The current horizontal mouse cursor position (relative to the rendering).

Y

name: mouseY, type: Integer, persistent: no

The current vertical mouse cursor position (relative to the rendering).

Present

name: mousePresent, type: Bool, persistent: no

Only true if the mouse is over the rendering.