ClickAndTeachTile(dvec3, TilingSize, Boolean, Boolean, Boolean) Method |
Creates a single tile or several tiles (according to the
demanded size) around the given point and puts them into a bitmap of
the size needed for the whole scan field. If there is an offset
between the scan head and the workspace it will be taken into
account automatically.
With boolean parameter crop set to true, the resulting image will be
cropped to the relevant size.
Namespace: RAYLASE.Marker.ClickAndTeachPluginAssembly: RAYLASE.Marker.ClickAndTeachPlugin (in RAYLASE.Marker.ClickAndTeachPlugin.dll) Version: 2.52.0
Syntaxpublic BitmapHolder Tile(
dvec3 pointWorld,
TilingSize tilingSize,
bool isToTransform = false,
bool crop = false,
bool moveByCenterOffset = false
)
Parameters
- pointWorld dvec3
- The point in the workspace's coordinate
system where the scan head's mirrors will put the laser beam to.
This is not exactly the center of the tile but with the camera
offset correction applied.
- tilingSize TilingSize
- The size the tiled area will have in micrometers.
- isToTransform Boolean (Optional)
- If true, the resulting image will be
transformed according to the current process transformation.
- crop Boolean (Optional)
- If true, the resulting image is cropped
to the demanded size and will not be as big as the whole scan field.
In this case a process transformation does not matter, the result
is the same as without process transformation.
- moveByCenterOffset Boolean (Optional)
- If true the cropped image's center
will be where pointWorld points to. Otherwise this is not the case
because of the camera's center offset derived during calibration.
If true there may be black stripes at two borders.
Return Value
BitmapHolderA BitmapHolder object containing the whole scan field
with the tiles put at the appropriate positions or a cropped cutting.
See Also