| Customize Help
| Save Settings

M3dgraControl



Function Map
Synopsis
Control the 3D graphics in a 3D graphics list, as well as their default settings.
Syntax
void M3dgraControl(
MIL_ID List3dgraId, //in
MIL_INT64 Label, //in
MIL_INT64 ControlType, //in
MIL_DOUBLE ControlValue //in
)
Description

This function allows you to control the settings of a 3D graphic in a 3D graphics list, as well as default settings for 3D graphics subsequently added to the list.

You can control the default settings of the 3D graphics list using M_DEFAULT_SETTINGS. These settings are applied to any 3D graphics that you subsequently add to the 3D graphics list. They are not applied retroactively to 3D graphics already in the 3D graphics list.

You can control the settings for all existing descendants of the specified 3D graphic using M_RECURSIVE. This affects all descendants for which the setting is available (even if the setting is not available for the specified 3D graphic). It does not affect 3D graphics that you subsequently add as children of the specified 3D graphic.

Note that when using a C compiler (not a C++ or other compiler) in 64-bit mode, M3dgraControl() internally calls the MIL_DOUBLE version of this function (M3dgraControlDouble()). If you need to pass integer values, call the MIL_INT64 version of this function (M3dgraControlInt64()).
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
List3dgraId

Specifies the identifier of the 3D graphics list to control.

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

Label

Specifies the label of the 3D graphic to control. You can also control the default settings of the 3D graphics list itself.

function map For specifying the 3D graphic label
Click to summarizeValue Description
Click to summarize M_DEFAULT_SETTINGS

Specifies to control the default settings of the 3D graphics that are added to the 3D graphics list. These settings will not be applied to the 3D graphics that are already in the 3D graphics list.

(summarize)
Click to summarize M_ROOT_NODE

Specifies the top-most node of the 3D graphics list.

Click to summarize Value >= 0

Specifies the label of the 3D graphic in the 3D graphics list. Label 0 is the 3D graphics list's root node.

(summarize)
ControlType

Specifies the type of setting to control.

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

ControlValue

Specifies the required value for the setting.

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

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

The following ControlType and corresponding ControlValue parameter settings are used to change the default settings of a 3D graphics list.

function map For the default settings of a 3D graphics list
Click to summarize
List3dgraId
Description
ControlType
ControlValue
Click to summarize Graphics list ID with Label set to
M_DEFAULT_SETTINGS

Specifies a 3D graphics list, allocated using M3dgraAlloc(), and M_DEFAULT_SETTINGS specified by the Label parameter.

(summarize)
Click to summarize M_APPEARANCE

Sets the default appearance of the 3D graphics added to the 3D graphics list, to either display them as a solid surface, wireframe, or points.

The color of the points, wireframe, and the outline is determined by M_COLOR, while the color of the solid surface is determined by M_FILL_COLOR. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_SOLID.

Click to summarize M_POINTS

Specifies a points appearance. The 3D graphic appears as a set of points representing its vertices.

(summarize)
Click to summarize M_SOLID

Specifies a solid appearance.

Click to summarize M_SOLID_WITH_WIREFRAME

Specifies a solid appearance with a wireframe.

Click to summarize M_WIREFRAME

Specifies a wireframe appearance. The 3D graphic appears as a set of lines connecting its vertices.

(summarize)
Click to summarize M_BACKGROUND_COLOR

Sets the default background color for text graphics added to the 3D graphics list. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_COLOR_BLACK.

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

Specifies the RGB value to use as the text graphic's background color.

(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 the default background mode for text graphics added to the 3D graphics list. You can specify the default background color for text graphics using M_BACKGROUND_COLOR.

(summarize)
Click to summarize M_DEFAULT

Same as M_TRANSPARENT.

Click to summarize M_OPAQUE

Specifies that the background of the text graphic is filled with the current background color.

Click to summarize M_TRANSPARENT

Specifies that the text graphic does not have a background.

Click to summarize M_COLOR

Sets the default color of the points and lines of the 3D graphics added to the 3D graphics list. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_COLOR_WHITE.

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

Specifies the RGB value to use as the 3D graphic's color.

(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_COLOR_AXIS_X

Sets the default color of the X-axis of axis graphics added to the 3D graphics list. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value. The default value is a red color defined by M_RGB888() with values 215, 0, and 0.

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

Specifies the RGB value to use as the 3D graphic's color.

(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_COLOR_AXIS_Y

Sets the default color of the Y-axis of axis graphics added to the 3D graphics list. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value. The default value is a green color defined by M_RGB888() with values 50, 255, and 50.

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

Specifies the RGB value to use as the 3D graphic's color.

(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_COLOR_AXIS_Z

Sets the default color of the Z-axis of axis graphics added to the 3D graphics list. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value. The default value is a blue color defined by M_RGB888() with values 0, 140, and 255.

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

Specifies the RGB value to use as the 3D graphic's color.

(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_COLOR_COMPONENT

Sets the default color of the points in the point clouds added to the 3D graphics list using one of the container's components. You can specify a component using its identifier, or its type.

If there is not exactly one component with the specified identifier or type, or if the specified component does not have the same size and dimensions as the container's range component, the color defaults to M_NULL. INQ

(summarize)
Click to summarize M_NULL

Specifies that the color of the points in the point cloud is set to the single color specified by M_COLOR.

Click to summarize M_AUTO_COLOR

Specifies to color the container according to specific components. If it is a point cloud, it is colored based on its reflectance component. If the reflectance component does not exist, it uses the intensity component. If there is no reflectance or intensity, this control is set to M_NULL, and the point cloud will be colored using the single color specified by M_COLOR.

If it is a depth map, it is colored according to its range component's 3rd band.

Note that this setting ignores M_COLOR_COMPONENT_BAND. All three component bands are used for point clouds, while the 3rd component band is used tor depth maps.

This is the default value.

(summarize)
Click to summarize M_COMPONENT_CONFIDENCE

Specifies to color the point cloud according to the component that stores confidence information for the M_COMPONENT_RANGE or M_COMPONENT_DISPARITY component of the container. INFO

Click to summarize M_COMPONENT_CUSTOM + n

Specifies to color the point cloud according to a component that has a custom type, identified by n, where n can be a value between 0 and 255. INFO

Click to summarize M_COMPONENT_DISPARITY

Specifies to color the point cloud according to the component that stores a disparity map. INFO

Click to summarize M_COMPONENT_INFRARED

Specifies to color the point cloud according to the component that stores an intensity image of infrared light.

Click to summarize M_COMPONENT_INTENSITY

Specifies to color the point cloud according to the component that stores an intensity image of visible light.

Click to summarize M_COMPONENT_MESH_MIL

Specifies to color the point cloud according to the component that stores mesh information for the M_COMPONENT_RANGE component of the container. INFO

Click to summarize M_COMPONENT_METADATA

Specifies to color the point cloud according to the component that stores metadata information. INFO

Click to summarize M_COMPONENT_MULTISPECTRAL

Specifies to color the point cloud according to the component that stores an intensity image where each band represents the intensity of a specific wavelength of light. INFO

Click to summarize M_COMPONENT_NORMALS_MIL

Specifies that the buffer stores normals information for each point in the M_COMPONENT_RANGE component of the container. INFO

Click to summarize M_COMPONENT_RANGE

Specifies to color the point cloud according to the component that stores 3D distance/position information. INFO

Click to summarize M_COMPONENT_REFLECTANCE

Specifies to color the point cloud according to the component that stores a reflectance map. INFO

Click to summarize M_COMPONENT_SCATTER

Specifies to color the point cloud according to the component that stores a scatter map. INFO

Click to summarize M_COMPONENT_ULTRAVIOLET

Specifies to color the point cloud according to the component that stores an intensity image of ultraviolet light.

Click to summarize M_COLOR_COMPONENT_BAND

Sets the component's band to use by default for point clouds added to the 3D graphics list when M_COLOR_COMPONENT is set to a component type.

If the band does not exist, or if M_ALL_BANDS is used on a component that does not have 3 bands, band 0 is used. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_ALL_BANDS.

Click to summarize M_ALL_BANDS

Specifies all the bands of the component.

Click to summarize Value >= 0

Specifies the index of the band to use.

The relationship between index value and band for RGB, HSL, and YUV buffers is the following:

0

Corresponds to the red band (for RGB parent buffers), the hue band (for HSL parent buffers), and the Y band (for YUV parent buffers).

1

Corresponds to the green band (for RGB parent buffers), the saturation band (for HSL parent buffers), and the U band (for YUV parent buffers).

2

Corresponds to the blue band (for RGB parent buffers), the luminance band (for HSL parent buffers), and the V band (for YUV parent buffers).

(summarize)
Click to summarize M_COLOR_LIMITS

Sets the default limits of the values in the component used to color the point clouds added to the 3D graphics list. Values between the minimum and the maximum are remapped linearly to values between the minimum and maximum possible display values. The values beyond the minimum or maximum are saturated. When M_COLOR_USE_LUT is M_TRUE, the minimum and maximum get mapped to the LUT's extreme values. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_BUFFER_LIMITS.

Click to summarize M_BUFFER_LIMITS

Specifies to use the buffer's minimum and maximum.

Note that this is unavailable for floating-point buffers, and defaults to M_DATA_EXTREMES_PER_BAND.

(summarize)
Click to summarize M_DATA_EXTREMES_GLOBAL

Specifies to use the global minimum and maximum of the buffer's data. If the buffer has multiple bands, a single minimum and maximum is used for all of them.

(summarize)
Click to summarize M_DATA_EXTREMES_PER_BAND

Specifies to use the minimum and maximum of the buffer's data in each of its bands. If the buffer has multiple bands, each band has its own minimum and maximum.

(summarize)
Click to summarize M_USER_DEFINED

Specifies to use the minimum and maximum manually set with M_COLOR_LIMITS_MIN and M_COLOR_LIMITS_MAX.

Click to summarize M_COLOR_LIMITS_MAX

Sets the default maximum color value for point clouds added to the 3D graphics list when M_COLOR_LIMITS is M_USER_DEFINED. INQ

(summarize)
Click to summarize Value

Specifies the maximum color value to use.

The default value is 65535.

(summarize)
Click to summarize M_COLOR_LIMITS_MIN

Sets the default minimum color value for point clouds added to the 3D graphics list when M_COLOR_LIMITS is M_USER_DEFINED. INQ

(summarize)
Click to summarize Value

Specifies the minimum color value to use.

The default value is 0.

(summarize)
Click to summarize M_COLOR_USE_LUT

Sets whether to color the point cloud added to the 3D graphics list by mapping each value of the component specified by M_COLOR_COMPONENT to a color in a LUT, and then using that color to display the corresponding point. The default LUT is M_COLORMAP_TURBO, but you can change it using M3dgraCopy(). If the LUT is set to M_NULL using M3dgraCopy() with M_COLOR_LUT, or if M_COLOR_COMPONENT_BAND is set to M_ALL_BANDS, this setting will be ignored even if it is set to M_TRUE. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_FALSE.

Click to summarize M_FALSE

Specifies not to use a LUT.

Click to summarize M_TRUE

Specifies to use a LUT.

Click to summarize M_COLOR_USE_TEXTURE

Specifies whether to fill the polygons added to the 3D graphics list with a texture by default. If the polygon has no texture buffer, M_FILL_COLOR is used regardless of this setting. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_TRUE.

Click to summarize M_FALSE

Specifies to fill the polygon with M_FILL_COLOR.

Click to summarize M_TRUE

Specifies to fill the polygon with a texture buffer.

Click to summarize M_CYLINDER_BASES

Sets whether the cylinder graphic's bases are displayed or not by default when a cylinder graphic is added to the 3D graphics list. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_ENABLE.

Click to summarize M_DISABLE

Specifies that the cylinder graphics's bases are not displayed.

Click to summarize M_ENABLE

Specifies that the cylinder graphic's bases are displayed.

Click to summarize M_FILL_COLOR

Sets the default color of the solid surfaces of the 3D graphics added to the 3D graphics list. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_SAME_AS_COLOR.

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

Specifies the RGB value to use as the 3D graphic's color.

(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_YELLOW

Specifies the color yellow.

Click to summarize M_SAME_AS_COLOR

Specifies to use the same color specified by M_COLOR.

Click to summarize M_FONT

Sets the default font for text graphics added to the 3D graphics list. INQ

(summarize)
Click to summarize
MIL_FONT_NAME(
MIL_TEXT_PTR Font
)

Specifies the font. In this case, MIL will use TrueType and Unicode features to draw text. This allows you to draw text using different sizes and TrueType fonts installed on your computer. This also allows you to draw any Unicode text (depending on the font).

(summarize)
Parameters

Specifies either a font and its features or a path to a font.

M_FONT_DEFAULT_TTF

Specifies the default TrueType font of your operating system.

MIL_TEXT("FontFamily:Weight:Slant") 1

Specifies the font according to the following format, Family: Weight: Slant.

Family must be set to the name of the font's family, such as Arial, Times New Roman, and Wingdings.

Weight can be set to one of the following: Book, Thin, ExtraLight, UltraLight, Light, Normal, Regular, Medium, SemiBold, DemiBold, Bold, ExtraBold, UltraBold, Heavy, Black, ExtraBlack, or UltraBlack.

Slant can be set to one of the following: Italic, Oblique, or Roman.

You can omit Weight and Slant; also, you can provide the Weight and Slant in any order.

MIL_TEXT("FontFile") 1

Specifies a full path to a TrueType file name.

Click to summarize M_FONT_AUTO_SELECT

Sets the default automatic font selection behavior for text graphics added to the 3D graphics list.

If automatic font selection is enabled for a text graphic, MIL searches for a suitable font to draw the text if the currently selected font (set using M_FONT) does not support the character code. MIL will first attempt to make its selection from already used fonts, and then from system fonts. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_ENABLE.

Click to summarize M_DISABLE

Specifies that MIL will not search for a suitable font. An error is returned if the character code cannot be drawn using the current TrueType font.

(summarize)
Click to summarize M_ENABLE

Specifies that MIL will search for a suitable font.

Click to summarize M_FONT_SIZE

Sets the default font size for text graphics added to the 3D graphics list. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 1.

Click to summarize Value > 0.0

Specifies the font size. This is the height of one line of text, in world units.

(summarize)
Click to summarize M_GRAPHIC_RESOLUTION

Sets the default mesh resolution of 3D graphics added to the 3D graphics list. This applies to arc, axis, cylinder, and sphere graphics.

Higher graphic resolutions settings might require a more powerful GPU to maintain acceptable performance, especially if a large number of 3D graphics are shown at once. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 64.

Click to summarize Value >= 3

Specifies the resolution of the 3D graphic's mesh.

Click to summarize M_KEYING_COLOR

Specifies the default pixel value to display as transparent for polygons added to the 3D graphics list.

This setting is only used if the polygon is filled with a texture buffer. Any portion of the polygon graphic that would be displayed with this color is instead made transparent, regardless of the polygon graphic's M_OPACITY setting. This can be used to cut out parts of a polygon graphic. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_NONE.

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

Specifies the RGB value to use as the texture's keying value.

(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_NONE

Specifies that the texture does not have a keying value.

Click to summarize 0 <= Value <= 255

Specifies a grayscale keying value, used when the texture is a 1-band buffer.

Click to summarize M_OPACITY

Sets the default opacity of the 3D graphics added to the 3D graphics list. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 100.0.

Click to summarize 0.0 <= Value <= 100.0

Specifies the opacity of the 3D graphic. A 3D graphic with an opacity of 100.0 is completely opaque, while an opacity of 0.0 makes it completely transparent (invisible).

(summarize)
Click to summarize M_SHADING

Sets the default shading of the 3D graphics added to the 3D graphics list. Shaded 3D graphics are shown brighter or darker depending on the viewing angle, giving a visual indication of depth relative to the view in the 3D display.

This setting does not apply to text, node, line, arc, grid, or dots graphics. You can control the default shading mode for text graphics using M_TEXT_SHADING.

More advanced shading settings might require a more powerful GPU to maintain acceptable performance, especially if a large number of 3D graphics are shown at once. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_GOURAUD.

Click to summarize M_FLAT

Specifies that the 3D graphic is displayed with flat shading. Each face of the 3D graphic's mesh is shown with a single brightness level based on its normal relative to the view. The faces of the 3D graphic's mesh are clearly distinguishable with this setting, because flat shading does not perform any smoothing.

(summarize)
Click to summarize M_GOURAUD

Specifies that the 3D graphic is displayed with Gouraud shading. The triangles that make up the faces of the 3D graphic's mesh are shown with smooth shading, calculated by interpolating the brightness level between each vertex based on the triangle's normal relative to the view. The faces of the 3D graphic's mesh are typically distinguishable with this setting, but some smoothing is involved.

(summarize)
Click to summarize M_NONE

Specifies that the 3D graphic is displayed without shading.

Click to summarize M_PHONG

Specifies that the 3D graphic is displayed with Phong shading. The 3D graphic is shaded smoothly based on a complex reflection model. The faces of the 3D graphic's mesh are typically not distinguishable with this setting, because the surface of the mesh is shown with advanced smoothing.

(summarize)
Click to summarize M_TEXT_ALIGN_HORIZONTAL

Sets the default horizontal justification of the text of the text graphic. This also affects the alignment of the text relative to the origin of the text graphic. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_LEFT.

Click to summarize M_CENTER

Specifies that the text is horizontally centered.

Click to summarize M_LEFT

Specifies that the text is left-aligned.

Click to summarize M_RIGHT

Specifies that the text is right-aligned.

Click to summarize M_TEXT_ALIGN_VERTICAL

Sets the default vertical justification of the text of the text graphic. This also affects the alignment of the text relative to the origin of the text graphic. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_TOP.

Click to summarize M_BOTTOM

Specifies that the text is bottom-aligned.

Click to summarize M_CENTER

Specifies that the text is vertically centered.

Click to summarize M_TOP

Specifies that the text is top-aligned.

Click to summarize M_TEXT_BORDER

Sets the default borders around text graphics added to the 3D graphics list.

Note that the possible settings can be combined. For example, to draw a box around the text, specify M_TOP + M_BOTTOM + M_LEFT + M_RIGHT. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_NONE.

Click to summarize M_BOTTOM

Specifies that a line is drawn underneath the text.

Click to summarize M_LEFT

Specifies that a line is drawn to the left of the text.

Click to summarize M_NONE

Specifies that no border is drawn around the text. This setting cannot be combined with any other setting.

(summarize)
Click to summarize M_RIGHT

Specifies that a line is drawn to the right of the text.

Click to summarize M_TOP

Specifies that a line is drawn above the text.

Click to summarize M_TEXT_DIRECTION

Sets the default direction to draw text when a text graphic is added to the 3D graphics list. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_LEFT_TO_RIGHT.

Click to summarize M_LEFT_TO_RIGHT

Specifies that text will be drawn from left to right.

Click to summarize M_RIGHT_TO_LEFT

Specifies that text will be drawn from right to left.

Click to summarize M_TEXT_SHADING

Controls the default shading of the text graphics added to the 3D graphics list. Shaded text graphics are shown brighter or darker depending on the viewing angle, giving a visual indication of depth relative to the view in the 3D display.

More advanced shading settings might require a more powerful GPU to maintain acceptable performance, especially if a large number of 3D graphics are shown at once. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_NONE.

Click to summarize M_FLAT

Specifies that the text graphic is displayed with flat shading. The text graphic's mesh is shown with a single brightness level based on its normal relative to the view. The faces of the text graphic's mesh are clearly distinguishable with this setting, because flat shading does not perform any smoothing.

(summarize)
Click to summarize M_GOURAUD

Specifies that the text graphic is displayed with Gouraud shading. The triangles that make up the faces of the text graphic's mesh are shown with smooth shading, calculated by interpolating the brightness level between each vertex based on the triangle's normal relative to the view. The faces of the text graphic's mesh are typically distinguishable with this setting, but some smoothing is involved.

(summarize)
Click to summarize M_NONE

Specifies that the text graphic is displayed without shading.

Click to summarize M_PHONG

Specifies that the text graphic is displayed with Phong shading. The text graphic is shaded smoothly based on a complex reflection model. The faces of the text graphic's mesh are typically not distinguishable with this setting, because the surface of the mesh is shown with advanced smoothing.

(summarize)
Click to summarize M_THICKNESS

Sets the default thickness of the points/lines of the 3D graphics added to the 3D graphics list in the 3D world, on screen. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 1 pixel.

Click to summarize Value >= 0.0

Specifies the point/line thickness, in pixels.

Click to summarize M_VISIBLE

Sets the default visibility of the 3D graphics added to the 3D graphics list. Invisible 3D graphics do not count towards the 3D graphics list's bounding box. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_TRUE.

Click to summarize M_FALSE

Specifies that the 3D graphic is not visible.

Click to summarize M_TRUE

Specifies that the 3D graphic is visible.

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 change the settings of a 3D graphic.

function map For the settings of a 3D graphic
Click to summarize
List3dgraId
Description
ControlType
ControlValue
Click to summarize Graphics list ID with Label specifying a
graphic of type M_GRAPHIC_TYPE_ARC

Specifies a 3D graphics list, allocated using M3dgraAlloc(), and an arc graphic specified by the Label parameter.

(summarize)
Click to summarize M_ANGLE +

Sets the arc graphic's angle. INQ

(summarize)
Click to summarize -360.0 <= Value <= 360.0

Specifies the arc graphic's angle, in degrees.

Click to summarize M_APPEARANCE +

Sets the appearance of the arc graphic on display as a solid surface, wireframe, or points.

The color of the points, wireframe, and the outline is determined by M_COLOR. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_SOLID.

Click to summarize M_POINTS

Specifies a points appearance. The arc graphic appears as a set of points representing its vertices.

(summarize)
Click to summarize M_SOLID

Specifies a solid appearance.

Click to summarize M_SOLID_WITH_WIREFRAME

Specifies a solid appearance with a wireframe.

Click to summarize M_WIREFRAME

Specifies a wireframe appearance. The arc graphic appears as a set of lines connecting its vertices.

(summarize)
Click to summarize M_COLOR +

Sets the color of the points and lines of the arc graphic. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_COLOR_WHITE.

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

Specifies the RGB value to use as the 3D graphic's color.

(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_GRAPHIC_RESOLUTION +

Sets the resolution of the arc graphic's mesh. This is the number of edges on the arc graphic. For example, if this value is set to 3, the arc graphic is shown as 3 lines.

Higher graphic resolutions settings might require a more powerful GPU to maintain acceptable performance, especially if a large number of 3D graphics are shown at once. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 64.

Click to summarize Value >= 3

Specifies the number of edges on the arc graphic.

Click to summarize M_OPACITY +

Sets the opacity of the arc graphic. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 100.0.

Click to summarize 0.0 <= Value <= 100.0

Specifies the opacity of the arc graphic. A 3D graphic with an opacity of 100.0 is completely opaque, while an opacity of 0.0 makes it completely transparent (invisible).

(summarize)
Click to summarize M_RADIUS +

Sets the arc graphic's radius. INQ

(summarize)
Click to summarize Value >= 0.0

Specifies the arc graphic's radius, in world units.

Click to summarize M_THICKNESS +

Sets the thickness of the points/lines of the arc graphic in the 3D world, on screen. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 1 pixel.

Click to summarize Value >= 0.0

Specifies the point/line thickness, in pixels.

Click to summarize M_VISIBLE +

Sets the visibility of the arc graphic. Invisible 3D graphics do not count towards the 3D graphics list's bounding box. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_TRUE.

Click to summarize M_FALSE

Specifies that the 3D graphic is not visible.

Click to summarize M_TRUE

Specifies that the 3D graphic is visible.

Click to summarize Graphics list ID with Label specifying a
graphic of type M_GRAPHIC_TYPE_AXIS

Specifies a 3D graphics list, allocated using M3dgraAlloc(), and an axis graphic specified by the Label parameter.

(summarize)
Click to summarize M_APPEARANCE +

Sets the appearance of the axis graphic on display as a solid surface, wireframe, or points.

The color of the points, wireframe, and the outline is determined by M_COLOR. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_SOLID.

Click to summarize M_POINTS

Specifies a points appearance. The axis graphic appears as a set of points representing its vertices.

(summarize)
Click to summarize M_SOLID

Specifies a solid appearance.

Click to summarize M_SOLID_WITH_WIREFRAME

Specifies a solid appearance with a wireframe.

Click to summarize M_WIREFRAME

Specifies a wireframe appearance. The axis graphic appears as a set of lines connecting its vertices.

(summarize)
Click to summarize M_COLOR +

Sets the color of the points and lines of the axis graphic. This will set all three axes to the same color. To assign a color to a specific axis, use M_COLOR_AXIS_.... INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_COLOR_WHITE.

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

Specifies the RGB value to use as the 3D graphic's color.

(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_COLOR_AXIS_X +

Sets the color of the axis graphic's X-axis. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value. The default value is a red color defined by M_RGB888() with values 215, 0, and 0.

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

Specifies the RGB value to use as the 3D graphic's color.

(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_COLOR_AXIS_Y +

Sets the color of the axis graphic's Y-axis. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value. The default value is a green color defined by M_RGB888() with values 50, 255, and 50.

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

Specifies the RGB value to use as the 3D graphic's color.

(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_COLOR_AXIS_Z +

Sets the color of the axis graphic's Z-axis. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value. The default value is a blue color defined by M_RGB888() with values 0, 140, and 255.

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

Specifies the RGB value to use as the 3D graphic's color.

(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_GRAPHIC_RESOLUTION +

Sets the resolution of the mesh for the cone-shaped arrow caps of the axis graphic. This is the number of edges on the axis graphic's cone-shaped arrow caps. For example, if this value is set to 3, the axis arrow caps are shown as tetrahedrons.

Higher graphic resolutions settings might require a more powerful GPU to maintain acceptable performance, especially if a large number of 3D graphics are shown at once. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 64.

Click to summarize Value >= 3

Specifies the number of edges on the axis graphic's cone-shaped arrow caps.

Click to summarize M_LENGTH +

Sets the length of the axis graphic's axes. INQ

(summarize)
Click to summarize Value > 0.0

Specifies the length of the axis graphic's axes, in world units.

Click to summarize M_OPACITY +

Sets the opacity of the axis graphic. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 100.0.

Click to summarize 0.0 <= Value <= 100.0

Specifies the opacity of the axis graphic. A 3D graphic with an opacity of 100.0 is completely opaque, while an opacity of 0.0 makes it completely transparent (invisible).

(summarize)
Click to summarize M_SHADING +

Sets the axis graphic's shading. Shaded 3D graphics are shown brighter or darker depending on the viewing angle, giving a visual indication of depth relative to the view in the 3D display.

More advanced shading settings might require a more powerful GPU to maintain acceptable performance, especially if a large number of 3D graphics are shown at once. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_GOURAUD.

Click to summarize M_FLAT

Specifies that the axis graphic is displayed with flat shading. Each face of the 3D graphic's mesh is shown with a single brightness level based on its normal relative to the view. The faces of the 3D graphic's mesh are clearly distinguishable with this setting, because flat shading does not perform any smoothing.

(summarize)
Click to summarize M_GOURAUD

Specifies that the axis graphic is displayed with Gouraud shading. The triangles that make up the faces of the 3D graphic's mesh are shown with smooth shading, calculated by interpolating the brightness level between each vertex based on the triangle's normal relative to the view. The faces of the 3D graphic's mesh are typically distinguishable with this setting, but some smoothing is involved.

(summarize)
Click to summarize M_NONE

Specifies that the axis graphic is displayed without shading.

Click to summarize M_PHONG

Specifies that the axis graphic is displayed with Phong shading. The 3D graphic is shaded smoothly based on a complex reflection model. The faces of the 3D graphic's mesh are typically not distinguishable with this setting, because the surface of the mesh is shown with advanced smoothing.

(summarize)
Click to summarize M_THICKNESS +

Sets the thickness of the points/lines of the axis graphic in the 3D world, on screen. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 1 pixel.

Click to summarize Value >= 0.0

Specifies the point/line thickness, in pixels.

Click to summarize M_VISIBLE +

Sets the visibility of the axis graphic. Invisible 3D graphics do not count towards the 3D graphics list's bounding box. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_TRUE.

Click to summarize M_FALSE

Specifies that the 3D graphic is not visible.

Click to summarize M_TRUE

Specifies that the 3D graphic is visible.

Click to summarize Graphics list ID with Label specifying a
graphic of type M_GRAPHIC_TYPE_BOX

Specifies a 3D graphics list, allocated using M3dgraAlloc(), and a box graphic specified by the Label parameter.

(summarize)
Click to summarize M_APPEARANCE +

Sets the appearance of the box graphic on display as a solid surface, wireframe, or points.

The color of the points, wireframe, and the outline is determined by M_COLOR, while the color of the solid surface is determined by M_FILL_COLOR. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_SOLID.

Same as M_SOLID.

(summarize)
Click to summarize M_POINTS

Specifies a points appearance. The box graphic appears as a set of points representing its vertices.

(summarize)
Click to summarize M_SOLID

Specifies a solid appearance.

Click to summarize M_SOLID_WITH_WIREFRAME

Specifies a solid appearance with a wireframe.

Click to summarize M_WIREFRAME

Specifies a wireframe appearance. The box graphic appears as a set of lines connecting its vertices.

(summarize)
Click to summarize M_COLOR +

Sets the color of the points and lines of the box graphic. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_COLOR_WHITE.

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

Specifies the RGB value to use as the 3D graphic's color.

(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_FILL_COLOR +

Sets the color of the solid surfaces of the box graphic. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_SAME_AS_COLOR.

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

Specifies the RGB value to use as the 3D graphic's color.

(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_YELLOW

Specifies the color yellow.

Click to summarize M_SAME_AS_COLOR

Specifies to use the same color specified by M_COLOR.

Click to summarize M_OPACITY +

Sets the opacity of the box graphic. INQ

(summarize)
Click to summarize M_DEFAULT

Specifies the default value; the default value is 100.0.

Click to summarize 0.0 <= Value <= 100.0

Specifies the opacity of the box graphic. A 3D graphic with an opacity of 100.0 is completely opaque, while an opacity of 0.0 makes it completely transparent (invisible).

(summarize)
Click to summarize M_SHADING +

Sets the box graphic's shading. Shaded 3D graphics are shown brighter or darker depending on the viewing angle, giving a visual indication of depth relative to the view in the 3D display.

More advanced shading settings might require a more powerful GPU to maintain acceptable performance, especially if a large number of 3D graphics are shown at once. INQ

(summarize)
Click to summarize M_DEFAULT

Same as M_GOURAUD.

Click to summarize M_FLAT

Specifies that the box graphic is displayed with flat shading. Each face of the 3D graphic's mesh is shown with a single brightness level based on its normal relative to the view. The faces of the 3D graphic's mesh are clearly distinguishable with this setting, because flat shading does not perform any smoothing.

(summarize)
Click to summarize M_GOURAUD

Specifies that the box graphic is displayed with Gouraud shading. The triangles that make up the faces of the 3D graphic's mesh are shown with smooth shading, calculated by interpolating the brightness level between each vertex based on the triangle's normal relative to the view. The faces of the 3D graphic's mesh are typically distinguishable with this setting, but some smoothing is involved.

(summarize)
Click to summarize M_NONE

Specifies that the box graphic is displayed without shading.

Click to summarize M_PHONG

Specifies that the box graphic is displayed with Phong shading. The 3D graphic is shaded smoothly based on a complex reflection model. The faces of the 3D graphic's mesh are typically not distinguishable with this setting, because the surface of the mesh is shown with advanced smoothing.

(summarize)
Click to summarize M_SIZE_X +

Sets the box graphic's length along its coordinate system's X-axis. INQ

(summarize)
Click to summarize Value > 0.0

Specifies the length of the box graphic, in world units, along the box's coordinate system's X-axis.

Click to summarize M_SIZE_Y +

Sets the box graphic's length along its coordinate system'