| Customize Help
| Save Settings

M3ddispControl



Function Map
Synopsis
Control a MIL 3D display setting.
Syntax
void M3ddispControl(
MIL_ID Disp3dId, //in
MIL_INT64 ControlType, //in
MIL_DOUBLE ControlValue //in
)
Description

This function allows you to control the specified MIL 3D display setting.

Note that when using a C compiler (not a C++ or other compiler) in 64-bit mode, M3ddispControl() internally calls the MIL_DOUBLE version of this function (M3ddispControlDouble()). If you need to pass integer values, call the MIL_INT64 version of this function (M3ddispControlInt64()).
Note that this function reference has not been updated for a MIL system added during a MIL update. Refer to the MIL system's release note to see if there is complementary information.
Parameters
This function is not supported on the selected boards.
Parameters
Disp3dId

Specifies the identifier of the target 3D display, previously allocated using M3ddispAlloc().

ControlType

Specifies the type of 3D display setting to control.

See the Parameter associations section for possible values that can be specified.

ControlValue

Specifies the new value to assign to the 3D display setting specified by the ControlType parameter.

See the Parameter associations section for possible values that can be specified.

The tables below list possible values for the ControlType and ControlValue parameters.

The following ControlType and corresponding ControlValue parameter settings are available for 3D displays.

function map For general settings
Click to summarizeControlType Description
ControlValue
Click to summarize M_AUTO_ROTATE

Sets whether to automatically rotate the view (both the viewpoint and interest point) around the auto-rotation axis. This gives the impression that the scene is rotating.

By default, the auto-rotation axis is that which is parallel to the Z-axis and intersects the default position of the interest point (typically the center of the first 3D graphic added to the internal 3D graphics list of the 3D display). You can change the auto-rotation axis using M3ddispCopy() with M_ROTATION_AXIS and the MIL identifier of a line 3D geometry object.

Typically, you should only use an auto-rotation axis that intersects the interest point. Some users might be disoriented by the view rotating around a different axis, especially when the rotation indicator is enabled (using M_ROTATION_INDICATOR).

Instead of this control type, you can also use M_ACTION_KEY_AUTO_ROTATE to enable/disable rotation. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_DISABLE.

Click to summarize M_DISABLE

Specifies to not auto-rotate the view.

Click to summarize M_ENABLE

Specifies to auto-rotate the view.

Click to summarize M_BACKGROUND_COLOR

Sets the primary background color for the 3D display, used when M_BACKGROUND_MODE is set to M_SINGLE_COLOR or M_GRADIENT_VERTICAL. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies a dark gray. This is equivalent to M_RGB888() with the values (0,35,40).

(summarize)
Click to summarize
M_RGB888(
MIL_INT Red,
MIL_INT Green,
MIL_INT Blue
)

Specifies the RGB value to which the background color will be set.

(summarize)
Parameters

Specifies the red component, as a value between 0 and 255.

Specifies the green component, as a value between 0 and 255.

Specifies the blue component, as a value between 0 and 255.

Click to summarize M_COLOR_BLACK

Specifies the color black.

Click to summarize M_COLOR_BLUE

Specifies the color blue.

Click to summarize M_COLOR_BRIGHT_GRAY

Specifies the color bright gray.

Click to summarize M_COLOR_CYAN

Specifies the color cyan.

Click to summarize M_COLOR_DARK_BLUE

Specifies the color dark blue.

Click to summarize M_COLOR_DARK_CYAN

Specifies the color dark cyan.

Click to summarize M_COLOR_DARK_GREEN

Specifies the color dark green.

Click to summarize M_COLOR_DARK_MAGENTA

Specifies the color dark magenta.

Click to summarize M_COLOR_DARK_RED

Specifies the color dark red.

Click to summarize M_COLOR_DARK_YELLOW

Specifies the color dark yellow.

Click to summarize M_COLOR_GRAY

Specifies the color gray.

Click to summarize M_COLOR_GREEN

Specifies the color green.

Click to summarize M_COLOR_LIGHT_BLUE

Specifies the color light blue.

Click to summarize M_COLOR_LIGHT_GRAY

Specifies the color light gray.

Click to summarize M_COLOR_LIGHT_GREEN

Specifies the color light green.

Click to summarize M_COLOR_LIGHT_WHITE

Specifies the color light white.

Click to summarize M_COLOR_MAGENTA

Specifies the color magenta.

Click to summarize M_COLOR_RED

Specifies the color red.

Click to summarize M_COLOR_WHITE

Specifies the color white.

Click to summarize M_COLOR_YELLOW

Specifies the color yellow.

Click to summarize M_BACKGROUND_COLOR_GRADIENT

Sets the secondary background color for the 3D display, used when M_BACKGROUND_MODE specifies that the background is a gradient. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies a light gray. This is equivalent to M_RGB888() with the values (90,110,130).

(summarize)
Click to summarize
M_RGB888(
MIL_INT Red,
MIL_INT Green,
MIL_INT Blue
)

Specifies the RGB value to which the background color will be set.

(summarize)
Parameters

Specifies the red component, as a value between 0 and 255.

Specifies the green component, as a value between 0 and 255.

Specifies the blue component, as a value between 0 and 255.

Click to summarize M_COLOR_BLACK

Specifies the color black.

Click to summarize M_COLOR_BLUE

Specifies the color blue.

Click to summarize M_COLOR_BRIGHT_GRAY

Specifies the color bright gray.

Click to summarize M_COLOR_CYAN

Specifies the color cyan.

Click to summarize M_COLOR_DARK_BLUE

Specifies the color dark blue.

Click to summarize M_COLOR_DARK_CYAN

Specifies the color dark cyan.

Click to summarize M_COLOR_DARK_GREEN

Specifies the color dark green.

Click to summarize M_COLOR_DARK_MAGENTA

Specifies the color dark magenta.

Click to summarize M_COLOR_DARK_RED

Specifies the color dark red.

Click to summarize M_COLOR_DARK_YELLOW

Specifies the color dark yellow.

Click to summarize M_COLOR_GRAY

Specifies the color gray.

Click to summarize M_COLOR_GREEN

Specifies the color green.

Click to summarize M_COLOR_LIGHT_BLUE

Specifies the color light blue.

Click to summarize M_COLOR_LIGHT_GRAY

Specifies the color light gray.

Click to summarize M_COLOR_LIGHT_GREEN

Specifies the color light green.

Click to summarize M_COLOR_LIGHT_WHITE

Specifies the color light white.

Click to summarize M_COLOR_MAGENTA

Specifies the color magenta.

Click to summarize M_COLOR_RED

Specifies the color red.

Click to summarize M_COLOR_WHITE

Specifies the color white.

Click to summarize M_COLOR_YELLOW

Specifies the color yellow.

Click to summarize M_BACKGROUND_MODE

Sets whether the background of the 3D display is a solid color or a gradient. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_GRADIENT_VERTICAL.

Click to summarize M_BACKGROUND_IMAGE

Specifies that the background is an image, set using M3ddispCopy() with M_BACKGROUND_IMAGE. If no background image is set, the background is shown as though this value were set to M_GRADIENT_VERTICAL.

(summarize)
Click to summarize M_GRADIENT_VERTICAL

Specifies that the background is a gradient. The top of the window is the color specified by M_BACKGROUND_COLOR and the bottom of the window is the color specified by M_BACKGROUND_COLOR_GRADIENT.

(summarize)
Click to summarize M_SINGLE_COLOR

Specifies that the background is a solid color, specified by M_BACKGROUND_COLOR.

Click to summarize M_FOV_HORIZONTAL_ANGLE

Sets the horizontal field of view of the 3D display as an angle. This is the angle that defines how much of the scene is shown within the width of the 3D display.

The default value is whichever value will give the field of view the same aspect ratio as the 3D display's window size, given the default vertical field of view.

Note that the display's M_FOV_HORIZONTAL_ANGLE and M_FOV_VERTICAL_ANGLE must always have the same aspect ratio as M_SIZE_X and M_SIZE_Y. Any time one of these values is changed, M_FOV_HORIZONTAL_ANGLE and/or M_FOV_VERTICAL_ANGLE will be automatically updated to maintain this coherence. For example, if you increase M_SIZE_Y, M_FOV_VERTICAL_ANGLE will also be increased by an appropriate amount to maintain the aspect ratio. INQ

(summarize)
Click to summarize 0.0 < Value < 180.0

Specifies the horizontal field of view, in degrees.

Click to summarize M_FOV_VERTICAL_ANGLE

Sets the vertical field of view of the 3D display as an angle. This is the angle that defines how much of the scene is shown within the height of the 3D display.

Note that the display's M_FOV_HORIZONTAL_ANGLE and M_FOV_VERTICAL_ANGLE must always have the same aspect ratio as M_SIZE_X and M_SIZE_Y. Any time one of these values is changed, M_FOV_HORIZONTAL_ANGLE and/or M_FOV_VERTICAL_ANGLE will be automatically updated to maintain this coherence. For example, if you increase M_SIZE_Y, M_FOV_VERTICAL_ANGLE will also be increased by an appropriate amount to maintain the aspect ratio. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 30°.

Click to summarize 0.0 < Value < 180.0

Specifies the vertical field of view, in degrees.

Click to summarize M_ROTATION_INDICATOR

Sets whether to show the rotation indicator in the center of the view. The rotation indicator is always positioned at the interest point, and axis-aligned with the working coordinate system of the 3D display. This is useful for showing the current orientation of the view. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_ENABLE_ON_MOUSE_CLICK.

Click to summarize M_DISABLE

Specifies to not show the rotation indicator.

Click to summarize M_ENABLE

Specifies to always show the rotation indicator.

Click to summarize M_ENABLE_ON_MOUSE_CLICK

Specifies to show the rotation indicator when the left mouse button is held down.

Click to summarize M_ROTATION_SPEED

Sets how fast, and in what direction, the view rotates when M_AUTO_ROTATE is set to M_ENABLE. This is the number of degrees the view rotates per second.

If this value is set to a positive number, the view will auto-rotate to the right. Otherwise, it will auto-rotate to the left. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 20 degrees/sec.

Click to summarize Value

Specifies the auto-rotation speed, in degrees/sec.

Click to summarize M_SIZE_X

Sets the horizontal resolution of the window.

Note that the display's M_FOV_HORIZONTAL_ANGLE and M_FOV_VERTICAL_ANGLE must always have the same aspect ratio as M_SIZE_X and M_SIZE_Y. Any time one of these values is changed, M_FOV_HORIZONTAL_ANGLE and/or M_FOV_VERTICAL_ANGLE will be automatically updated to maintain this coherence. For example, if you increase M_SIZE_Y, M_FOV_VERTICAL_ANGLE will also be increased by an appropriate amount to maintain the aspect ratio. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 400.

Click to summarize Value >= 1

Specifies the horizontal resolution, in pixels. Only integer values are accepted.

(summarize)
Click to summarize M_SIZE_Y

Sets the vertical resolution of the window.

Note that the display's M_FOV_HORIZONTAL_ANGLE and M_FOV_VERTICAL_ANGLE must always have the same aspect ratio as M_SIZE_X and M_SIZE_Y. Any time one of these values is changed, M_FOV_HORIZONTAL_ANGLE and/or M_FOV_VERTICAL_ANGLE will be automatically updated to maintain this coherence. For example, if you increase M_SIZE_Y, M_FOV_VERTICAL_ANGLE will also be increased by an appropriate amount to maintain the aspect ratio. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 400.

Click to summarize Value >= 1

Specifies the vertical resolution, in pixels. Only integer values are accepted.

(summarize)
Click to summarize M_TITLE

Sets the display's title to the specified string. If no string is specified, the window is given a default title ("MIL Display #x").

(summarize)
Click to summarize
M_PTR_TO_MIL_INT(
MIL_CONST_TEXT_PTR String
)

Casts the address of the string identifying the specified window title (or display's title), from a MIL_CONST_TEXT_PTR to a MIL_INT.

(summarize)
Parameters

This parameter specifies the string whose address to cast.

MIL_TEXT("WindowTitle") 1

Specifies the name of the window title (or display's title).

Click to summarize M_UPDATE

Sets whether MIL should update the 3D display. This control type can be used to temporarily disable display updates when the internal 3D graphics list (or a buffer/container associated with a 3D graphic in the 3D graphics list) is being modified by more than one operation; the 3D display can then be updated at the end of all operations. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_ENABLE.

Click to summarize M_DISABLE

Specifies not to update the 3D display.

Click to summarize M_ENABLE

Specifies to update the 3D display. Also, the 3D display is forced to update immediately.

(summarize)
Click to summarize M_NOW

Specifies to force an immediate update of the 3D display. In this case, the display is updated even if M_UPDATE is set to M_DISABLE.

(summarize)
Click to summarize M_WINDOW_INITIAL_POSITION_X

Sets the initial left-most X-coordinate of the window. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.

Click to summarize Value

Specifies the X-coordinate, in pixels. Only integer values are accepted.

(summarize)
Click to summarize M_WINDOW_INITIAL_POSITION_Y

Sets the initial top-most Y-coordinate of the window. Only integer values are accepted. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 0.

Click to summarize Value

Specifies the Y-coordinate, in pixels. Only integer values are accepted.

(summarize)

1 If you are passing the value in a variable, don't enclose it in MIL_TEXT().

The following ControlType and corresponding ControlValue parameter settings are used to enable, disable, or change keyboard and mouse controls of the 3D display.

function map For controlling keyboard and mouse controls
Click to summarizeControlType Description
ControlValue
Click to summarize M_ACTION_KEY_AUTO_ROTATE

Sets the keyboard keys that you can press to start and stop auto-rotation around the auto-rotation axis (set using M3dgraCopy() with the MIL identifier of a 3D line geometry object). This action is equivalent to enabling or disabling auto-rotation using M_AUTO_ROTATE.

If the keyboard key that you specify is used by another action setting (M_ACTION_KEY_...), MIL sets that other action setting to M_NONE.

This setting only has an effect if you enable M_KEYBOARD_USE. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_KEY_R.

Click to summarize M_KEY_ADD +

Specifies the Add key (+).

Click to summarize M_KEY_ARROW_DOWN +

Specifies the Down Arrow key.

Click to summarize M_KEY_ARROW_LEFT +

Specifies the Left Arrow key.

Click to summarize M_KEY_ARROW_RIGHT +

Specifies the Right Arrow key.

Click to summarize M_KEY_ARROW_UP +

Specifies the Up Arrow key.

Click to summarize M_KEY_BACK +

Specifies the Back key.

Click to summarize M_KEY_CLEAR +

Specifies the Clear key.

Click to summarize M_KEY_DECIMAL +

Specifies the Period key located on your number pad.

Click to summarize M_KEY_DELETE +

Specifies the Delete key.

Click to summarize M_KEY_DIVIDE +

Specifies the Divide key (/).

Click to summarize M_KEY_END +

Specifies the End key.

Click to summarize M_KEY_ESC +

Specifies the Esc key.

Click to summarize M_KEY_EXECUTE +

Specifies the Execute key.

Click to summarize M_KEY_Fn +

Specifies the n key, where n is a value from 1 to 24.

Click to summarize M_KEY_HOME +

Specifies the Home key.

Click to summarize M_KEY_INSERT +

Specifies the Insert key.

Click to summarize M_KEY_MULTIPLY +

Specifies the Multiply key (*).

Click to summarize M_KEY_n +

Specifies the n key, where n is a value from 0 to 9.

Click to summarize M_KEY_NUM_LOCK +

Specifies the Num Lock key.

Click to summarize M_KEY_NUMPADn +

Specifies the n key, where n is a value from 0 to 9.

Click to summarize M_KEY_PAGEDOWN +

Specifies the Pagedown key.

Click to summarize M_KEY_PAGEUP +

Specifies the Pageup key.

Click to summarize M_KEY_PAUSE +

Specifies the Pause key.

Click to summarize M_KEY_R +

Specifies the R key.

Click to summarize M_KEY_RETURN +

Specifies the Return key (Enter).

Click to summarize M_KEY_SCROLL_LOCK +

Specifies the Scroll Lock key.

Click to summarize M_KEY_SEPARATOR +

Specifies the Separator key.

Click to summarize M_KEY_SPACE +

Specifies the Space key.

Click to summarize M_KEY_SUBTRACT +

Specifies the Subtract key (-).

Click to summarize M_KEY_TAB +

Specifies the Tab key.

Click to summarize M_KEY_xxx +

Specifies the letter key xxx, where xxx can be a letter from A to Z.

Click to summarize M_NONE +

Specifies that there are no keyboard keys for this action setting.

Click to summarize M_ACTION_KEY_ORBIT_DOWN

Sets the keyboard keys that you can press to orbit the viewpoint down around the interest point. This action is equivalent to using M3ddispSetView() with M_ORBIT_VERTICAL and a negative value.

If the keyboard key that you specify is used by another action setting (M_ACTION_KEY_...), MIL sets that other action setting to M_NONE.

This setting only has an effect if you enable M_KEYBOARD_USE. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_KEY_ARROW_DOWN.

Click to summarize M_KEY_ADD +

Specifies the Add key (+).

Click to summarize M_KEY_ARROW_DOWN +

Specifies the Down Arrow key.

Click to summarize M_KEY_ARROW_LEFT +

Specifies the Left Arrow key.

Click to summarize M_KEY_ARROW_RIGHT +

Specifies the Right Arrow key.

Click to summarize M_KEY_ARROW_UP +

Specifies the Up Arrow key.

Click to summarize M_KEY_BACK +

Specifies the Back key.

Click to summarize M_KEY_CLEAR +

Specifies the Clear key.

Click to summarize M_KEY_DECIMAL +

Specifies the Period key located on your number pad.

Click to summarize M_KEY_DELETE +

Specifies the Delete key.

Click to summarize M_KEY_DIVIDE +

Specifies the Divide key (/).

Click to summarize M_KEY_END +

Specifies the End key.

Click to summarize M_KEY_ESC +

Specifies the Esc key.

Click to summarize M_KEY_EXECUTE +

Specifies the Execute key.

Click to summarize M_KEY_Fn +

Specifies the n key, where n is a value from 1 to 24.

Click to summarize M_KEY_HOME +

Specifies the Home key.

Click to summarize M_KEY_INSERT +

Specifies the Insert key.

Click to summarize M_KEY_MULTIPLY +

Specifies the Multiply key (*).

Click to summarize M_KEY_n +

Specifies the n key, where n is a value from 0 to 9.

Click to summarize M_KEY_NUM_LOCK +

Specifies the Num Lock key.

Click to summarize M_KEY_NUMPADn +

Specifies the n key, where n is a value from 0 to 9.

Click to summarize M_KEY_PAGEDOWN +

Specifies the Pagedown key.

Click to summarize M_KEY_PAGEUP +

Specifies the Pageup key.

Click to summarize M_KEY_PAUSE +

Specifies the Pause key.

Click to summarize M_KEY_RETURN +

Specifies the Return key (Enter).

Click to summarize M_KEY_SCROLL_LOCK +

Specifies the Scroll Lock key.

Click to summarize M_KEY_SEPARATOR +

Specifies the Separator key.

Click to summarize M_KEY_SPACE +

Specifies the Space key.

Click to summarize M_KEY_SUBTRACT +

Specifies the Subtract key (-).

Click to summarize M_KEY_TAB +

Specifies the Tab key.

Click to summarize M_KEY_xxx +

Specifies the letter key xxx, where xxx can be a letter from A to Z.

Click to summarize M_NONE +

Specifies that there are no keyboard keys for this action setting.

Click to summarize M_ACTION_KEY_ORBIT_LEFT

Sets the keyboard keys that you can press to orbit the viewpoint left around the interest point. This action is equivalent to using M3ddispSetView() with M_ORBIT_HORIZONTAL and a negative value.

If the keyboard key that you specify is used by another action setting (M_ACTION_KEY_...), MIL sets that other action setting to M_NONE.

This setting only has an effect if you enable M_KEYBOARD_USE. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_KEY_ARROW_LEFT.

Click to summarize M_KEY_ADD +

Specifies the Add key (+).

Click to summarize M_KEY_ARROW_DOWN +

Specifies the Down Arrow key.

Click to summarize M_KEY_ARROW_LEFT +

Specifies the Left Arrow key.

Click to summarize M_KEY_ARROW_RIGHT +

Specifies the Right Arrow key.

Click to summarize M_KEY_ARROW_UP +

Specifies the Up Arrow key.

Click to summarize M_KEY_BACK +

Specifies the Back key.

Click to summarize M_KEY_CLEAR +

Specifies the Clear key.

Click to summarize M_KEY_DECIMAL +

Specifies the Period key located on your number pad.

Click to summarize M_KEY_DELETE +

Specifies the Delete key.

Click to summarize M_KEY_DIVIDE +

Specifies the Divide key (/).

Click to summarize M_KEY_END +

Specifies the End key.

Click to summarize M_KEY_ESC +

Specifies the Esc key.

Click to summarize M_KEY_EXECUTE +

Specifies the Execute key.

Click to summarize M_KEY_Fn +

Specifies the n key, where n is a value from 1 to 24.

Click to summarize M_KEY_HOME +

Specifies the Home key.

Click to summarize M_KEY_INSERT +

Specifies the Insert key.

Click to summarize M_KEY_MULTIPLY +

Specifies the Multiply key (*).

Click to summarize M_KEY_n +

Specifies the n key, where n is a value from 0 to 9.

Click to summarize M_KEY_NUM_LOCK +

Specifies the Num Lock key.

Click to summarize M_KEY_NUMPADn +

Specifies the n key, where n is a value from 0 to 9.

Click to summarize M_KEY_PAGEDOWN +

Specifies the Pagedown key.

Click to summarize M_KEY_PAGEUP +

Specifies the Pageup key.

Click to summarize M_KEY_PAUSE +

Specifies the Pause key.

Click to summarize M_KEY_RETURN +

Specifies the Return key (Enter).

Click to summarize M_KEY_SCROLL_LOCK +

Specifies the Scroll Lock key.

Click to summarize M_KEY_SEPARATOR +

Specifies the Separator key.

Click to summarize M_KEY_SPACE +

Specifies the Space key.

Click to summarize M_KEY_SUBTRACT +

Specifies the Subtract key (-).

Click to summarize M_KEY_TAB +

Specifies the Tab key.

Click to summarize M_KEY_xxx +

Specifies the letter key xxx, where xxx can be a letter from A to Z.

Click to summarize M_NONE +

Specifies that there are no keyboard keys for this action setting.

Click to summarize M_ACTION_KEY_ORBIT_RIGHT

Sets the keyboard keys that you can press to orbit the viewpoint right around the interest point. This action is equivalent to using M3ddispSetView() with M_ORBIT_HORIZONTAL and a positive value.

If the keyboard key that you specify is used by another action setting (M_ACTION_KEY_...), MIL sets that other action setting to M_NONE.

This setting only has an effect if you enable M_KEYBOARD_USE. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_KEY_ARROW_RIGHT.

Click to summarize M_KEY_ADD +

Specifies the Add key (+).

Click to summarize M_KEY_ARROW_DOWN +

Specifies the Down Arrow key.

Click to summarize M_KEY_ARROW_LEFT +

Specifies the Left Arrow key.

Click to summarize M_KEY_ARROW_RIGHT +

Specifies the Right Arrow key.

Click to summarize M_KEY_ARROW_UP +

Specifies the Up Arrow key.

Click to summarize M_KEY_BACK +

Specifies the Back key.

Click to summarize M_KEY_CLEAR +

Specifies the Clear key.

Click to summarize M_KEY_DECIMAL +

Specifies the Period key located on your number pad.

Click to summarize M_KEY_DELETE +

Specifies the Delete key.

Click to summarize M_KEY_DIVIDE +

Specifies the Divide key (/).

Click to summarize M_KEY_END +

Specifies the End key.

Click to summarize M_KEY_ESC +

Specifies the Esc key.

Click to summarize M_KEY_EXECUTE +

Specifies the Execute key.

Click to summarize M_KEY_Fn +

Specifies the n key, where n is a value from 1 to 24.

Click to summarize M_KEY_HOME +

Specifies the Home key.

Click to summarize M_KEY_INSERT +

Specifies the Insert key.

Click to summarize M_KEY_MULTIPLY +

Specifies the Multiply key (*).

Click to summarize M_KEY_n +

Specifies the n key, where n is a value from 0 to 9.

Click to summarize M_KEY_NUM_LOCK +

Specifies the Num Lock key.

Click to summarize M_KEY_NUMPADn +

Specifies the n key, where n is a value from 0 to 9.

Click to summarize M_KEY_PAGEDOWN +

Specifies the Pagedown key.

Click to summarize M_KEY_PAGEUP +

Specifies the Pageup key.

Click to summarize M_KEY_PAUSE +

Specifies the Pause key.

Click to summarize M_KEY_RETURN +

Specifies the Return key (Enter).

Click to summarize M_KEY_SCROLL_LOCK +

Specifies the Scroll Lock key.

Click to summarize M_KEY_SEPARATOR +

Specifies the Separator key.

Click to summarize M_KEY_SPACE +

Specifies the Space key.

Click to summarize M_KEY_SUBTRACT +

Specifies the Subtract key (-).

Click to summarize M_KEY_TAB +

Specifies the Tab key.

Click to summarize M_KEY_xxx +

Specifies the letter key xxx, where xxx can be a letter from A to Z.

Click to summarize M_NONE +

Specifies that there are no keyboard keys for this action setting.

Click to summarize M_ACTION_KEY_ORBIT_UP

Sets the keyboard keys that you can press to orbit the viewpoint up around the interest point. This action is equivalent to using M3ddispSetView() with M_ORBIT_VERTICAL and a positive value.

If the keyboard key that you specify is used by another action setting (M_ACTION_KEY_...), MIL sets that other action setting to M_NONE.

This setting only has an effect if you enable M_KEYBOARD_USE. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_KEY_ARROW_UP.

Click to summarize M_KEY_ADD +

Specifies the Add key (+).

Click to summarize M_KEY_ARROW_DOWN +

Specifies the Down Arrow key.

Click to summarize M_KEY_ARROW_LEFT +

Specifies the Left Arrow key.

Click to summarize M_KEY_ARROW_RIGHT +

Specifies the Right Arrow key.

Click to summarize M_KEY_ARROW_UP +

Specifies the Up Arrow key.

Click to summarize M_KEY_BACK +

Specifies the Back key.

Click to summarize M_KEY_CLEAR +

Specifies the Clear key.

Click to summarize M_KEY_DECIMAL +

Specifies the Period key located on your number pad.

Click to summarize M_KEY_DELETE +

Specifies the Delete key.

Click to summarize M_KEY_DIVIDE +

Specifies the Divide key (/).

Click to summarize M_KEY_END +

Specifies the End key.

Click to summarize M_KEY_ESC +

Specifies the Esc key.

Click to summarize M_KEY_EXECUTE +

Specifies the Execute key.

Click to summarize M_KEY_Fn +

Specifies the n key, where n is a value from 1 to 24.

Click to summarize M_KEY_HOME +

Specifies the Home key.

Click to summarize M_KEY_INSERT +

Specifies the Insert key.

Click to summarize M_KEY_MULTIPLY +

Specifies the Multiply key (*).

Click to summarize M_KEY_n +

Specifies the n key, where n is a value from 0 to 9.

Click to summarize M_KEY_NUM_LOCK +

Specifies the Num Lock key.

Click to summarize M_KEY_NUMPADn +

Specifies the n key, where n is a value from 0 to 9.

Click to summarize M_KEY_PAGEDOWN +

Specifies the Pagedown key.

Click to summarize M_KEY_PAGEUP +

Specifies the Pageup key.

Click to summarize M_KEY_PAUSE +

Specifies the Pause key.

Click to summarize M_KEY_RETURN +

Specifies the Return key (Enter).

Click to summarize M_KEY_SCROLL_LOCK +

Specifies the Scroll Lock key.

Click to summarize M_KEY_SEPARATOR +

Specifies the Separator key.

Click to summarize M_KEY_SPACE +

Specifies the Space key.

Click to summarize M_KEY_SUBTRACT +

Specifies the Subtract key (-).

Click to summarize M_KEY_TAB +

Specifies the Tab key.

Click to summarize M_KEY_xxx +

Specifies the letter key xxx, where xxx can be a letter from A to Z.

Click to summarize M_NONE +

Specifies that there are no keyboard keys for this action setting.

Click to summarize M_ACTION_KEY_ORIENTATION_BOTTOM_TILTED

Sets the keyboard keys that you can press to set the orientation of the viewpoint so that the view faces the bottom-front of the interest point. This action is equivalent to using M3ddispSetView() with M_VIEW_ORIENTATION and M_BOTTOM_TILTED.

If the keyboard key that you specify is used by another action setting (M_ACTION_KEY_...), MIL sets that other action setting to M_NONE.

This setting only has an effect if you enable M_KEYBOARD_USE. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_KEY_1.

Click to summarize M_KEY_1 +

Specifies the 1 key.

Click to summarize M_KEY_ADD +

Specifies the Add key (+).

Click to summarize M_KEY_ARROW_DOWN +

Specifies the Down Arrow key.

Click to summarize M_KEY_ARROW_LEFT +

Specifies the Left Arrow key.

Click to summarize M_KEY_ARROW_RIGHT +

Specifies the Right Arrow key.

Click to summarize M_KEY_ARROW_UP +

Specifies the Up Arrow key.

Click to summarize M_KEY_BACK +

Specifies the Back key.

Click to summarize M_KEY_CLEAR +

Specifies the Clear key.

Click to summarize M_KEY_DECIMAL +

Specifies the Period key located on your number pad.

Click to summarize M_KEY_DELETE +

Specifies the Delete key.

Click to summarize M_KEY_DIVIDE +

Specifies the Divide key (/).

Click to summarize M_KEY_END +

Specifies the End key.

Click to summarize M_KEY_ESC +

Specifies the Esc key.

Click to summarize M_KEY_EXECUTE +

Specifies the Execute key.

Click to summarize M_KEY_Fn +

Specifies the n key, where n is a value from 1 to 24.

Click to summarize M_KEY_HOME +

Specifies the Home key.

Click to summarize M_KEY_INSERT +

Specifies the Insert key.

Click to summarize M_KEY_MULTIPLY +

Specifies the Multiply key (*).

Click to summarize M_KEY_n +

Specifies the n key, where n is a value from 0 to 9.

Click to summarize M_KEY_NUM_LOCK +

Specifies the Num Lock key.

Click to summarize M_KEY_NUMPADn +

Specifies the n key, where n is a value from 0 to 9.

Click to summarize M_KEY_PAGEDOWN +

Specifies the Pagedown key.

Click to summarize M_KEY_PAGEUP +

Specifies the Pageup key.

Click to summarize M_KEY_PAUSE +

Specifies the Pause key.

Click to summarize M_KEY_RETURN +

Specifies the Return key (Enter).

Click to summarize M_KEY_SCROLL_LOCK +

Specifies the Scroll Lock key.

Click to summarize M_KEY_SEPARATOR +

Specifies the Separator key.

Click to summarize M_KEY_SPACE +

Specifies the Space key.

Click to summarize M_KEY_SUBTRACT +

Specifies the Subtract key (-).

Click to summarize M_KEY_TAB +

Specifies the Tab key.

Click to summarize M_KEY_xxx +

Specifies the letter key xxx, where xxx can be a letter from A to Z.

Click to summarize M_NONE +

Specifies that there are no keyboard keys for this action setting.

Click to summarize M_ACTION_KEY_ORIENTATION_BOTTOM_VIEW

Sets the keyboard keys that you can press to set the orientation of the viewpoint so that it is directly below the interest point (parallel to the Z-axis of the working coordinate system of the 3D display). This action is equivalent to using M3ddispSetView() with M_VIEW_ORIENTATION and M_BOTTOM_VIEW.

If the keyboard key that you specify is used by another action setting (M_ACTION_KEY_...), MIL sets that other action setting to M_NONE.

This setting only has an effect if you enable M_KEYBOARD_USE. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_KEY_2.

Click to summarize M_KEY_2 +

Specifies the 2 key.

Click to summarize M_KEY_ADD +

Specifies the Add key (+).

Click to summarize M_KEY_ARROW_DOWN +

Specifies the Down Arrow key.

Click to summarize M_KEY_ARROW_LEFT +

Specifies the Left Arrow key.

Click to summarize M_KEY_ARROW_RIGHT +

Specifies the Right Arrow key.

Click to summarize M_KEY_ARROW_UP +

Specifies the Up Arrow key.

Click to summarize M_KEY_BACK +

Specifies the Back key.

Click to summarize M_KEY_CLEAR +

Specifies the Clear key.

Click to summarize M_KEY_DECIMAL +

Specifies the Period key located on your number pad.

Click to summarize M_KEY_DELETE +

Specifies the Delete key.

Click to summarize M_KEY_DIVIDE +

Specifies the Divide key (/).

Click to summarize M_KEY_END +

Specifies the End key.

Click to summarize M_KEY_ESC +

Specifies the Esc key.

Click to summarize M_KEY_EXECUTE +

Specifies the Execute key.

Click to summarize M_KEY_Fn +

Specifies the n key, where n is a value from 1 to 24.

Click to summarize M_KEY_HOME +

Specifies the Home key.

Click to summarize M_KEY_INSERT +

Specifies the Insert key.

Click to summarize M_KEY_MULTIPLY +

Specifies the Multiply key (*).

Click to summarize M_KEY_n +

Specifies the n key, where n is a value from 0 to 9.

Click to summarize M_KEY_NUM_LOCK +

Specifies the Num Lock key.

Click to summarize M_KEY_NUMPADn +

Specifies the n key, where n is a value from 0 to 9.

Click to summarize M_KEY_PAGEDOWN +

Specifies the Pagedown key.

Click to summarize M_KEY_PAGEUP +

Specifies the Pageup key.

Click to summarize M_KEY_PAUSE +

Specifies the Pause key.

Click to summarize M_KEY_RETURN +

Specifies the Return key (Enter).

Click to summarize M_KEY_SCROLL_LOCK +

Specifies the Scroll Lock key.

Click to summarize M_KEY_SEPARATOR +

Specifies the Separator key.

Click to summarize M_KEY_SPACE +

Specifies the Space key.

Click to summarize M_KEY_SUBTRACT +

Specifies the Subtract key (-).

Click to summarize M_KEY_TAB +

Specifies the Tab key.

Click to summarize M_KEY_xxx +

Specifies the letter key xxx, where xxx can be a letter from A to Z.

Click to summarize M_NONE +

Specifies that there are no keyboard keys for this action setting.

Click to summarize M_ACTION_KEY_ORIENTATION_FRONT_VIEW

Sets the keyboard keys that you can press to set the orientation of the viewpoint so that it is directly in front of the interest point (parallel to the Y-axis of the working coordinate system of the 3D display). This action is equivalent to using M3ddispSetView() with M_VIEW_ORIENTATION and M_FRONT_VIEW.

If the keyboard key that you specify is used by another action setting (M_ACTION_KEY_...), MIL sets that other action setting to M_NONE.

This setting only has an effect if you enable M_KEYBOARD_USE. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_KEY_5.

Click to summarize M_KEY_5 +

Specifies the 5 key.

Click to summarize M_KEY_ADD +

Specifies the Add key (+).

Click to summarize M_KEY_ARROW_DOWN +

Specifies the Down Arrow key.

Click to summarize M_KEY_ARROW_LEFT +

Specifies the Left Arrow key.

Click to summarize M_KEY_ARROW_RIGHT +

Specifies the Right Arrow key.

Click to summarize M_KEY_ARROW_UP +

Specifies the Up Arrow key.

Click to summarize M_KEY_BACK +

Specifies the Back key.

Click to summarize M_KEY_CLEAR +

Specifies the Clear key.

Click to summarize M_KEY_DECIMAL +

Specifies the Period key located on your number pad.

Click to summarize M_KEY_DELETE +

Specifies the Delete key.

Click to summarize M_KEY_DIVIDE +

Specifies the Divide key (/).

Click to summarize M_KEY_END +

Specifies the End key.

Click to summarize M_KEY_ESC +

Specifies the Esc key.

Click to summarize M_KEY_EXECUTE +

Specifies the Execute key.

Click to summarize M_KEY_Fn +

Specifies the n key, where n is a value from 1 to 24.

Click to summarize M_KEY_HOME +

Specifies the Home key.

Click to summarize M_KEY_INSERT +

Specifies the Insert key.

Click to summarize M_KEY_MULTIPLY +

Specifies the Multiply key (*).

Click to summarize M_KEY_n +

Specifies the n key, where n is a value from 0 to 9.

Click to summarize M_KEY_NUM_LOCK +

Specifies the Num Lock key.

Click to summarize M_KEY_NUMPADn +

Specifies the n key, where n is a value from 0 to 9.

Click to summarize M_KEY_PAGEDOWN +

Specifies the Pagedown key.

Click to summarize M_KEY_PAGEUP +

Specifies the Pageup key.

Click to summarize M_KEY_PAUSE +

Specifies the Pause key.