BoolInt

MacroModule

genre

Fields

author

MeVis Medical Solutions AG

package

MeVisLab/Standard

definition

helpers.def

see also

BoolString, Switch

keywords

boolean, integer, field, translation

Purpose

The module BoolInt translates between a boolean and an integer value.

Details

Note

This module will suppress field notifications if the field value does not change.

Windows

Default Panel

../../../Modules/Macros/Helpers/mhelp/Images/Screenshots/BoolInt._default.png

Parameter Fields

Field Index

Boolean value: Bool

Default Bool: Enum

Int Value: Integer

Inverse Boolean value: Bool

Off Value: Integer

On Value: Integer

Visible Fields

Boolean value

name: boolValue, type: Bool, default: FALSE

Sets and shows the boolean value.

Inverse Boolean value

name: invBoolValue, type: Bool, default: TRUE

Sets and shows the inverse of the boolean value.

Int Value

name: intValue, type: Integer, default: 0

Shows and sets the integer value in association to the boolean value.

Off Value

name: offValue, type: Integer, default: 0

Sets the integer value to be associated with the boolean value being false.

On Value

name: onValue, type: Integer, default: 1

Sets the integer value to be associated with the boolean value being true.

Default Bool

name: defaultBool, type: Enum, default: Unchanged

Defines which boolean value should be set if the Int Value is set to something else than the on or off value.

Values:

Title

Name

Deprecated Name

​Unchanged

​Unchanged

​UNCHANGED

​Off

​Off

​OFF

​On

​On

​ON