# CompRegion3DFromCompRegion2D

The CompRegion3DFromCompRegion2D function Functions are tools that are available in Spreadsheet for processing and analyzing acquisitions or other results. You can add functions to your Spreadsheet job to create tool chains and produce results for specific applications. allows you to construct a CompositeRegion3D structure from a specified two-dimensional CompositeRegion structure created with the EditCompositeRegion function.

Input CompositeRegion structure | Region3D output

Note: The CompRegion3DFromCompRegion2D function does not support subtractive subregions in the input CompositeRegion structure.

To use the CompRegion3DFromCompRegion2D function:

1. Drag and drop the CompRegion3DFromCompRegion2D function into the Spreadsheet.

2. In the property sheet that pops up, double-click the External Region parameter to open cell selection. Select the EditCompositeRegion cell containing the composite region settings you want the function to use.

3. Check the Auto Compute Z Range checkbox, or manually adjust the Z center offset and height of the Region3D output structure. The acquisition Acquisition is the process or result of the vision system acquiring a new image. display shows a preview of the CompositeRegion3D structure.

4. Click OK to finalize the settings.

Input

Parameter | Description
--- | ---
PointCloud A point cloud is a 3D structure that consists of the data points collected by a 3D vision system during acquisition. | Reference to a cell containing a point cloud A point cloud is a 3D structure that consists of the data points collected by a 3D vision system during acquisition.. The default value is $A$0.
Image | Reference to a cell containing an Image. The default value is $A$1.
External Region | Specifies a reference to a Rectangle3D structure defined in another cell. The function uses the referenced cell for constructing the 3D structure.
Auto Compute Z Range | Enables or disables automatic Z range computing for the Region3D structure.
Z Center | Specifies the offset of the CompositeRegion3D Z-axis center from the point cloud origin, in millimeters.
Height | Specifies the height of the CompositeRegion3D structure, in millimeters.
Show | Selects the type of graphics to overlay on the image.
0 = hide all (default) | All graphics are hidden, except when the cell containing the function is highlighted in the spreadsheet.
1 = result graphics only | The result graphics of the function are displayed at all times.
2 = input and result graphics | The region of interest, the input data and the results are displayed at all times.

Output

A CompositeRegion3D structure that you can use as an external Region3D input for other functions.