MIL_ID ContextOrResult3dmapId, | //in |
MIL_INT LabelOrIndex, | //in |
MIL_INT64 ControlType, | //in |
MIL_DOUBLE ControlValue | //in |
This function allows you to control a specified setting of a profiling 3D reconstruction context, draw 3D reconstruction context, or 3D reconstruction result buffer.
Specifies the identifier of the profiling 3D reconstruction context, draw 3D reconstruction context, or 3D reconstruction result buffer whose setting to modify. The profiling 3D reconstruction context or draw 3D reconstruction context must have been previously allocated using M3dmapAlloc() with M_LASER or M_DRAW_3D_CONTEXT, respectively. The 3D reconstruction result buffer must have been previously allocated using M3dmapAllocResult() with M_DEPTH_CORRECTED_DATA, M_LASER_CALIBRATION_DATA, or M_POINT_CLOUD_RESULT.
Specifies the point cloud(s) in the specified 3D reconstruction result buffer, or the entire result buffer itself, to control. Only 3D reconstruction result buffers allocated using M_POINT_CLOUD_RESULT have point clouds that can be specified using this parameter. For all other types of 3D reconstruction contexts and result buffers, set this parameter to M_DEFAULT.
For specifying the point cloud(s) or point cloud
container
|
|||||||||||||||||||||||||||||||||||||||
Value | Description | ||||||||||||||||||||||||||||||||||||||
Specifies the index of a point cloud in the specified 3D reconstruction result buffer. (summarize)Specifies the index of a point cloud in the specified 3D reconstruction result buffer. (more details...) |
|||||||||||||||||||||||||||||||||||||||
Parameters | |||||||||||||||||||||||||||||||||||||||
Specifies the index of an existing point cloud. |
|||||||||||||||||||||||||||||||||||||||
Specifies the label of a point cloud in the specified 3D reconstruction result buffer. (summarize)Specifies the label of a point cloud in the specified 3D reconstruction result buffer. (more details...) |
|||||||||||||||||||||||||||||||||||||||
Parameters | |||||||||||||||||||||||||||||||||||||||
Specifies the label of an existing point cloud. |
|||||||||||||||||||||||||||||||||||||||
M_ALL |
Specifies to apply the control to all point clouds in the specified 3D reconstruction result buffer. |
||||||||||||||||||||||||||||||||||||||
M_GENERAL |
Specifies to control the specified 3D reconstruction result buffer allocated using M_POINT_CLOUD_RESULT. |
Specifies the type of setting to control.
See the Parameter associations section for possible values that can be specified.
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 ControlType and ControlValue parameters.
The following ControlType and corresponding ControlValue settings are available for any kind of profiling (M_LASER) 3D reconstruction context:
For a profiling 3D reconstruction
context
|
|||||||||||||||||||||||||||||||||||||||
|
Description | ||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
M_CORRECTED_DEPTH |
Specifies the Z-coordinate in world units (for point clouds) or gray level (for partially corrected depth maps) used to represent the height of the next reference plane (the next call to M3dmapAddScan()), during 3D reconstruction calibration for depth. If ContextOrResult3dmapId is a profiling 3D reconstruction context allocated with M_CALIBRATED_CAMERA_LINEAR_MOTION, this value must be specified in world units. The specified Z-coordinate is the actual height of the reference plane in the next calibration image. If ContextOrResult3dmapId is a profiling 3D reconstruction context allocated with M_DEPTH_CORRECTION, this value must be specified in gray levels. The specified gray level is paired with the position of the laser line over a reference plane in the calibration image. Note that a partially corrected depth map has no coordinate system, and so there is no actual height involved. INQ (summarize)Specifies the Z-coordinate in world units (for point clouds) or gray level (for partially corrected depth maps) used to represent the height of the next reference plane (the next call to M3dmapAddScan()), during 3D reconstruction calibration for depth. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 0. |
||||||||||||||||||||||||||||||||||||||
0 <= GrayValue <= 254 |
Specifies the gray level that will be used to represent the height of the next reference plane, when M3dmapAlloc() is set to M_DEPTH_CORRECTION. For 8-bit depth maps, the range is 0 to 254. Note that 255 is used to indicate an invalid value (no data). (summarize)Specifies the gray level that will be used to represent the height of the next reference plane, when M3dmapAlloc() is set to M_DEPTH_CORRECTION. (more details...) |
||||||||||||||||||||||||||||||||||||||
0 <= GrayValue <= 65534 |
Specifies the gray level that will be used to represent the height of the next reference plane, when M3dmapAlloc() is set to M_DEPTH_CORRECTION. For 16-bit depth maps, the range is 0 to 65534. Note that 65535 is used to indicate an invalid value (no data). (summarize)Specifies the gray level that will be used to represent the height of the next reference plane, when M3dmapAlloc() is set to M_DEPTH_CORRECTION. (more details...) |
||||||||||||||||||||||||||||||||||||||
ZCoordinateValue |
Specifies the Z-coordinate (in world units) of the next reference plane. Generally, this value will be negative, since the Z-axis typically points downwards and has its origin on the conveyor. (summarize)Specifies the Z-coordinate (in world units) of the next reference plane. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_EXTRACTION_FIXED_POINT |
Sets the number of binary digits used for the fractional part of the gray level values in uncorrected depth maps, when using M3dmapAddScan() with M_LINE_ALREADY_EXTRACTED. INQ (summarize)Sets the number of binary digits used for the fractional part of the gray level values in uncorrected depth maps, when using M3dmapAddScan() with M_LINE_ALREADY_EXTRACTED. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 0. |
||||||||||||||||||||||||||||||||||||||
0 <= Value <= 7 |
Specifies the number of binary digits used for the fractional part of gray level values. |
The following ControlType and ControlValue settings are available only for a profiling 3D reconstruction context in M_CALIBRATED_CAMERA_LINEAR_MOTION 3D reconstruction mode:
For a profiling 3D reconstruction context in
M_CALIBRATED_CAMERA_LINEAR_MOTION 3D reconstruction
mode
|
|||||||||||||||||||||||||||||||||||||||
|
Description | ||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
M_EXTRACTION_CHILD_OFFSET_X |
Sets the X-offset that M3dmapAddScan() assumes the laser line image buffer to have relative to the top-left pixel of the image buffer used during camera calibration. If you supply M3dmapAddScan() with a child buffer so that it processes only a subset of the grabbed laser line image, and you are generating a fully corrected depth map, you must specify the X- and Y-offsets of that child buffer, relative to the top-left pixel of the image buffer used during camera calibration. If you know, for example, that the laser line will appear only at certain heights in the grabbed laser line image, using a child buffer can be useful to narrow down the search region and reduce processing time. INQ (summarize)Sets the X-offset that M3dmapAddScan() assumes the laser line image buffer to have relative to the top-left pixel of the image buffer used during camera calibration. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 0. |
||||||||||||||||||||||||||||||||||||||
Value > 0 |
Specifies the X-offset, in pixels. |
||||||||||||||||||||||||||||||||||||||
M_EXTRACTION_CHILD_OFFSET_Y |
Sets the Y-offset that M3dmapAddScan() assumes the laser line image buffer to have relative to the top-left pixel of the image buffer used during camera calibration. If you supply M3dmapAddScan() with a child buffer so that it processes only a subset of the grabbed laser line image, and you are generating a fully corrected depth map, you must specify the X- and Y-offsets of that child buffer, relative to the top-left pixel of the image buffer used during camera calibration. If you know, for example, that the laser line will appear only at certain heights in the grabbed laser line image, using a child buffer can be useful to narrow down the search region and reduce processing time. INQ (summarize)Sets the Y-offset that M3dmapAddScan() assumes the laser line image buffer to have relative to the top-left pixel of the image buffer used during camera calibration. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 0. |
||||||||||||||||||||||||||||||||||||||
Value > 0 |
Specifies the Y-offset, in pixels. |
||||||||||||||||||||||||||||||||||||||
M_EXTRACTION_RANGE_Z |
Sets the mode that helps determine the range of valid Z-coordinates for extracted points when using M3dmapAddScan(). An extracted point that has a Z-coordinate outside of this range is set to M_INVALID_POINT. INQ (summarize)Sets the mode that helps determine the range of valid Z-coordinates for extracted points when using M3dmapAddScan(). INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_GREATER |
Specifies that the Z-axis range is defined by a lower limit corresponding to M_EXTRACTION_RANGE_Z_LIMIT1. All points having a Z coordinate greater than M_EXTRACTION_RANGE_Z_LIMIT1 are kept. (summarize)Specifies that the Z-axis range is defined by a lower limit corresponding to M_EXTRACTION_RANGE_Z_LIMIT1. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_IN_RANGE |
Specifies that the Z-axis range is defined by the inside range of a lower limit and a upper limit corresponding to M_EXTRACTION_RANGE_Z_LIMIT1 and M_EXTRACTION_RANGE_Z_LIMIT2. All points having a Z coordinate greater than or equal to the lower limit and less than or equal to the upper limit are kept. M_EXTRACTION_RANGE_Z_LIMIT1 is the lower limit of the Z-coordinate extraction range when it is lower than M_EXTRACTION_RANGE_Z_LIMIT2. M_EXTRACTION_RANGE_Z_LIMIT1 is the upper limit of the Z-coordinate extraction range when it is higher than M_EXTRACTION_RANGE_Z_LIMIT2. (summarize)Specifies that the Z-axis range is defined by the inside range of a lower limit and a upper limit corresponding to M_EXTRACTION_RANGE_Z_LIMIT1 and M_EXTRACTION_RANGE_Z_LIMIT2. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_INFINITE |
Specifies that the range covers the entire Z-axis, so all points are kept. This is the default value. (summarize)Specifies that the range covers the entire Z-axis, so all points are kept. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_LESS |
Specifies that the Z-axis range is defined by a upper limit corresponding to M_EXTRACTION_RANGE_Z_LIMIT1. All points having a Z coordinate less than M_EXTRACTION_RANGE_Z_LIMIT1 are kept. (summarize)Specifies that the Z-axis range is defined by a upper limit corresponding to M_EXTRACTION_RANGE_Z_LIMIT1. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_OUT_RANGE |
Specifies that the Z-axis range is defined by the outside range of a lower limit and a upper limit corresponding to M_EXTRACTION_RANGE_Z_LIMIT1 and M_EXTRACTION_RANGE_Z_LIMIT2. M_EXTRACTION_RANGE_Z_LIMIT1 is the lower limit of the Z-coordinate extraction range when it is lower than M_EXTRACTION_RANGE_Z_LIMIT2. M_EXTRACTION_RANGE_Z_LIMIT1 is the upper limit of the Z-coordinate extraction range when it is higher than M_EXTRACTION_RANGE_Z_LIMIT2. (summarize)Specifies that the Z-axis range is defined by the outside range of a lower limit and a upper limit corresponding to M_EXTRACTION_RANGE_Z_LIMIT1 and M_EXTRACTION_RANGE_Z_LIMIT2. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_EXTRACTION_RANGE_Z_LIMIT1 |
Sets the first limit value that determines the range of valid Z-coordinates for extracted points. This value is ignored when M_EXTRACTION_RANGE_Z is set to M_INFINITE. INQ (summarize)Sets the first limit value that determines the range of valid Z-coordinates for extracted points. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the first limit value, which can be either the lower limit or upper limit. The default value is 0.0. (summarize)Specifies the first limit value, which can be either the lower limit or upper limit. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_EXTRACTION_RANGE_Z_LIMIT2 |
Sets the second limit value that determines the range of valid Z-coordinates for extracted points. Note that when M_EXTRACTION_RANGE_Z is set to M_INFINITE, M_GREATER, or M_LESS, this value is ignored. INQ (summarize)Sets the second limit value that determines the range of valid Z-coordinates for extracted points. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the second limit value, which can be either the lower limit or upper limit. The default value is 0.0. (summarize)Specifies the second limit value, which can be either the lower limit or upper limit. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_SCAN_SPEED |
Sets the speed and direction of the object being scanned, along the object's plane of motion. INQ (summarize)Sets the speed and direction of the object being scanned, along the object's plane of motion. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 1.0. |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the speed, in world units per frame. Note that if the object is moving in the negative Y-axis, specify a negative value. (summarize)Specifies the speed, in world units per frame. (more details...) |
The following ControlType and ControlValue settings are available only for a 3D reconstruction result buffer set to M_POINT_CLOUD_RESULT, M_DEPTH_CORRECTED_DATA, or M_LASER_CALIBRATION_DATA:
For a 3D reconstruction result buffer set to
M_POINT_CLOUD_RESULT, M_DEPTH_CORRECTED_DATA, or
M_LASER_CALIBRATION_DATA
|
|||||||||||||||||||||||||||||||||||||||
|
Description | ||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
M_MAX_FRAMES |
Sets the maximum number of scanned laser lines that the 3D reconstruction result buffer should keep internally. Note that, if the value of this control type is changed after it has already been set, laser lines can be lost. When you specify a 3D reconstruction result buffer of type M_POINT_CLOUD_RESULT with LabelOrIndex set to M_GENERAL), this control will set the maximum number of scanned laser lines kept by each subsequent point cloud generated in this result buffer. INQ (summarize)Sets the maximum number of scanned laser lines that the 3D reconstruction result buffer should keep internally. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 1024. |
||||||||||||||||||||||||||||||||||||||
Value > 0 |
Specifies the maximum number of scanned laser lines to keep. |
The following controls apply to M_POINT_CLOUD_RESULT 3D reconstruction result buffers, when LabelOrIndex is set to M_GENERAL.
For a 3D reconstruction result buffer set to
M_POINT_CLOUD_RESULT
|
|||||||||||||||||||||||||||||||||||||||
|
Description | ||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
M_RESULTS_DISPLACEMENT_MODE |
Sets the displacement mode, which determines whether the coordinates of scanned objects include the movement (displacement) of the conveyor. By default, the coordinates of scanned objects are stored as though the objects are fixed at their initial position when the first call to M3dmapAddScan() was made, despite the ongoing movement of the conveyor. When the coordinates are used (for instance, when returning the coordinates or generating a depth map), the displacement mode specifies whether to include the distance that the conveyor moved since the first call to M3dmapAddScan(). When you include this distance, you are getting the real-time coordinates of the objects at the moment the coordinates are returned or the depth map is generated. You can retrieve this conveyor displacement (Y-axis displacement) using M3dmapGetResult() with M_TOTAL_DISPLACEMENT_Y. In some circumstances, such as when manually defining the extraction box when generating a depth map, you might have to keep in mind whether an object's coordinates will include displacement when used. For more information, see the Results displacement mode subsection of the 3D coordinate systems and the coordinates of a point cloud section of Chapter 40: 3D reconstruction using laser line profiling. INQ (summarize)Sets the displacement mode, which determines whether the coordinates of scanned objects include the movement (displacement) of the conveyor. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_FIXED. |
||||||||||||||||||||||||||||||||||||||
M_CURRENT |
Specifies that the results include the ongoing Y-axis displacement. The results return the current position of the object on the conveyor. Specifically, the results will reflect the 3D coordinates at the last call of M3dmapAddScan(). (summarize)Specifies that the results include the ongoing Y-axis displacement. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_FIXED |
Specifies that the results do not include the ongoing Y-axis displacement. The resulting coordinates are those of the object as if it were still at the original position on the conveyor, just prior to being scanned. In this mode, you can use M_RESULTS_DISPLACEMENT_Y to add a displacement offset to the 3D coordinates. (summarize)Specifies that the results do not include the ongoing Y-axis displacement. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_RESULTS_DISPLACEMENT_Y |
Sets the Y-axis displacement to add to the resulting 3D coordinates of an object when M_RESULTS_DISPLACEMENT_MODE is set to M_FIXED. INQ (summarize)Sets the Y-axis displacement to add to the resulting 3D coordinates of an object when M_RESULTS_DISPLACEMENT_MODE is set to M_FIXED. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 0.0. |
||||||||||||||||||||||||||||||||||||||
Value |
Specifies the Y-axis displacement. Note that total displacement can be negative depending on the direction of the conveyor. (summarize)Specifies the Y-axis displacement. (more details...) |
The following ControlType and corresponding ControlValue settings are available for a draw 3D reconstruction context:
For a draw 3D reconstruction context
|
|||||||||||||||||||||||||||||||||||||||
|
Description | ||||||||||||||||||||||||||||||||||||||
ControlValue | |||||||||||||||||||||||||||||||||||||||
M_DRAW_ABSOLUTE_COORDINATE_SYSTEM |
Sets whether to draw the absolute coordinate system's axes. INQ (summarize)Sets whether to draw the absolute coordinate system's axes. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ENABLE. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies not to draw the absolute coordinate system's axes. |
||||||||||||||||||||||||||||||||||||||
M_ENABLE |
Specifies to draw the absolute coordinate system's axes. |
||||||||||||||||||||||||||||||||||||||
M_DRAW_CAMERA_COORDINATE_SYSTEM |
Sets whether to draw the camera coordinate system's axes. INQ (summarize)Sets whether to draw the camera coordinate system's axes. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ENABLE. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies not to draw the camera coordinate system's axes. |
||||||||||||||||||||||||||||||||||||||
M_ENABLE |
Specifies to draw the camera coordinate system's axes. |
||||||||||||||||||||||||||||||||||||||
M_DRAW_CAMERA_COORDINATE_SYSTEM_NAME |
Sets the name to draw for the camera coordinate system; the initial value is "Camera". INQ (summarize)Sets the name to draw for the camera coordinate system; the initial value is "Camera". INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
Casts the address of the string identifying the camera coordinate system's name, from a MIL_CONST_TEXT_PTR to a MIL_INT. (summarize)Casts the address of the string identifying the camera coordinate system's name, from a MIL_CONST_TEXT_PTR to a MIL_INT. (more details...) |
|||||||||||||||||||||||||||||||||||||||
Parameters | |||||||||||||||||||||||||||||||||||||||
This parameter specifies the string whose address to cast. |
|||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||
M_DRAW_COORDINATE_SYSTEM_LENGTH |
Sets the length at which to draw the specified coordinate system's axes. INQ (summarize)Sets the length at which to draw the specified coordinate system's axes. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 50.0. Specifies the default value; the default value is 50.0. (summarize)Specifies the default value; the default value is 50.0. (more details...) |
||||||||||||||||||||||||||||||||||||||
Value > 0.0 |
Specifies the length (in world units) at which to draw the axes of the specified coordinate system. |
||||||||||||||||||||||||||||||||||||||
M_DRAW_FRUSTUM |
Sets whether to draw the frustum of the camera's view. The frustum is the truncated pyramid of vision that originates at the camera's position and, when drawn, ends at the relative XY plane. When enabled, M_DRAW_FRUSTUM draws a wireframe frustum, using the color specified with M_DRAW_FRUSTUM_COLOR. INQ (summarize)Sets whether to draw the frustum of the camera's view. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ENABLE. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies not to draw the frustum. |
||||||||||||||||||||||||||||||||||||||
M_ENABLE |
Specifies to draw the frustum. |
||||||||||||||||||||||||||||||||||||||
M_DRAW_FRUSTUM_COLOR |
Sets the frustum's color. INQ (summarize)Sets the frustum's color. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_COLOR_YELLOW. (more details...) |
||||||||||||||||||||||||||||||||||||||
Specifies an RGB value to draw in an 8-bit, 3-band buffer. The red, green, and blue values must be values between 0 and 255, inclusive. (summarize)Specifies an RGB value to draw in an 8-bit, 3-band buffer. (more details...) |
|||||||||||||||||||||||||||||||||||||||
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. |
|||||||||||||||||||||||||||||||||||||||
M_COLOR_BLACK |
Specifies the color black. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_BLUE |
Specifies the color blue. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_BRIGHT_GRAY |
Specifies the color bright gray. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_CYAN |
Specifies the color cyan. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_DARK_BLUE |
Specifies the color dark blue. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_DARK_CYAN |
Specifies the color dark cyan. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_DARK_GREEN |
Specifies the color dark green. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_DARK_MAGENTA |
Specifies the color dark magenta. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_DARK_RED |
Specifies the color dark red. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_DARK_YELLOW |
Specifies the color dark yellow. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_GRAY |
Specifies the color gray. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_GREEN |
Specifies the color green. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_LIGHT_BLUE |
Specifies the color light blue. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_LIGHT_GRAY |
Specifies the color light gray. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_LIGHT_GREEN |
Specifies the color light green. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_LIGHT_WHITE |
Specifies the color light white. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_MAGENTA |
Specifies the color magenta. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_RED |
Specifies the color red. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_WHITE |
Specifies the color white. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_YELLOW |
Specifies the color yellow. |
||||||||||||||||||||||||||||||||||||||
M_NO_COLOR |
Specifies no color. |
||||||||||||||||||||||||||||||||||||||
M_DRAW_LASER_LINE_COORDINATE_SYSTEM |
Sets whether to draw the laser line coordinate system's axes. INQ (summarize)Sets whether to draw the laser line coordinate system's axes. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ENABLE. |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies not to draw the laser line coordinate system's axes. |
||||||||||||||||||||||||||||||||||||||
M_ENABLE |
Specifies to draw the laser line coordinate system's axes. |
||||||||||||||||||||||||||||||||||||||
M_DRAW_LASER_PLANE |
Sets whether to draw the laser plane. INQ (summarize)Sets whether to draw the laser plane. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_ENABLE. |
||||||||||||||||||||||||||||||||||||||
M_DISABLE |
Specifies not to draw the laser plane. |
||||||||||||||||||||||||||||||||||||||
M_ENABLE |
Specifies to draw the laser plane. |
||||||||||||||||||||||||||||||||||||||
M_DRAW_LASER_PLANE_COLOR_FILL |
Sets the laser plane's fill color. INQ (summarize)Sets the laser plane's fill color. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_AUTO_COLOR. |
||||||||||||||||||||||||||||||||||||||
M_AUTO_COLOR |
Specifies either the color red or the texture image. If a texture image is specified (using M3dmapDraw3d() with LaserPlaneTextureImageBufId), the texture image is drawn on the laser plane. Otherwise, the plane is drawn with M_COLOR_RED. The texture image is typically the grabbed image of the laser line. (summarize)Specifies either the color red or the texture image. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_COLOR_BLACK |
Specifies the color black. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_BLUE |
Specifies the color blue. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_BRIGHT_GRAY |
Specifies the color bright gray. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_CYAN |
Specifies the color cyan. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_DARK_BLUE |
Specifies the color dark blue. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_DARK_CYAN |
Specifies the color dark cyan. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_DARK_GREEN |
Specifies the color dark green. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_DARK_MAGENTA |
Specifies the color dark magenta. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_DARK_RED |
Specifies the color dark red. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_DARK_YELLOW |
Specifies the color dark yellow. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_GRAY |
Specifies the color gray. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_GREEN |
Specifies the color green. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_LIGHT_BLUE |
Specifies the color light blue. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_LIGHT_GRAY |
Specifies the color light gray. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_LIGHT_GREEN |
Specifies the color light green. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_LIGHT_WHITE |
Specifies the color light white. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_MAGENTA |
Specifies the color magenta. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_RED |
Specifies the color red. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_WHITE |
Specifies the color white. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_YELLOW |
Specifies the color yellow. |
||||||||||||||||||||||||||||||||||||||
M_NO_COLOR |
Specifies no color. |
||||||||||||||||||||||||||||||||||||||
M_TEXTURE_IMAGE |
Specifies to use the image passed to M3dmapDraw3d() with LaserPlaneTextureImageBufId, when drawing the laser plane. The texture image is typically the grabbed image of the laser line. Setting M_DRAW_LASER_PLANE_COLOR_FILL to M_TEXTURE_IMAGE and then calling M3dmapDraw3d() without passing an image to the LaserPlaneTextureImageBufId parameter causes an error. (summarize)Specifies to use the image passed to M3dmapDraw3d() with LaserPlaneTextureImageBufId, when drawing the laser plane. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DRAW_LASER_PLANE_COLOR_OUTLINE |
Sets the laser plane's outline color. INQ (summarize)Sets the laser plane's outline color. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Same as M_COLOR_WHITE. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_BLACK |
Specifies the color black. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_BLUE |
Specifies the color blue. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_BRIGHT_GRAY |
Specifies the color bright gray. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_CYAN |
Specifies the color cyan. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_DARK_BLUE |
Specifies the color dark blue. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_DARK_CYAN |
Specifies the color dark cyan. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_DARK_GREEN |
Specifies the color dark green. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_DARK_MAGENTA |
Specifies the color dark magenta. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_DARK_RED |
Specifies the color dark red. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_DARK_YELLOW |
Specifies the color dark yellow. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_GRAY |
Specifies the color gray. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_GREEN |
Specifies the color green. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_LIGHT_BLUE |
Specifies the color light blue. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_LIGHT_GRAY |
Specifies the color light gray. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_LIGHT_GREEN |
Specifies the color light green. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_LIGHT_WHITE |
Specifies the color light white. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_MAGENTA |
Specifies the color magenta. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_RED |
Specifies the color red. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_WHITE |
Specifies the color white. |
||||||||||||||||||||||||||||||||||||||
M_COLOR_YELLOW |
Specifies the color yellow. |
||||||||||||||||||||||||||||||||||||||
M_NO_COLOR |
Specifies no color. |
||||||||||||||||||||||||||||||||||||||
M_DRAW_LASER_PLANE_OPACITY |
Sets the laser plane's opacity. This control type is only available when the laser plane's fill color is set to a uniform color. INQ (summarize)Sets the laser plane's opacity. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default value; the default value is 20.0. |
||||||||||||||||||||||||||||||||||||||
0.0 <= Value <= 100.0 |
Specifies the laser plane's opacity. |
1 If you are passing the value in a variable, don't enclose it in MIL_TEXT().
void M3dmapControlInt64
(MIL_ID
ContextOrResult3dmapId, MIL_INT LabelOrIndex,
MIL_INT64 ControlType,
MIL_INT64 ControlValue)
Parameters
ContextOrResult3dmapId See ContextOrResult3dmapId of the main function for a description. LabelOrIndex See LabelOrIndex of the main function for a description. ControlType See ControlType of the main function for a description. ControlValue See ControlValue of the main function for a description. |
void M3dmapControlDouble
(MIL_ID
ContextOrResult3dmapId, MIL_INT LabelOrIndex,
MIL_INT64 ControlType,
MIL_DOUBLE ControlValue)
Parameters
ContextOrResult3dmapId See ContextOrResult3dmapId of the main function for a description. LabelOrIndex See LabelOrIndex of the main function for a description. ControlType See ControlType of the main function for a description. ControlValue See ControlValue of the main function for a description. |
Header | Include mil.h. |
Library | Use mil.lib; mil3dmap.lib. |
DLL | Requires mil.dll; mil3dmap.dll. |