Click or drag to resize

ClickAndTeachTile(dvec2, dvec2, Boolean, Double, Boolean, Boolean) Method

Creates a single tile or several tiles to cover at least the rectangular area which is spanned by the two given points and puts them into a bitmap of the size needed for the whole scan field. The points are given in world coordinates in the workspace's coordinate system. If there is an offset between the scan head and the workspace it will be taken into account automatically.

Namespace: RAYLASE.Marker.ClickAndTeachPlugin
Assembly: RAYLASE.Marker.ClickAndTeachPlugin (in RAYLASE.Marker.ClickAndTeachPlugin.dll) Version: 2.52.0
Syntax
C#
public BitmapHolder Tile(
	dvec2 upperLeftCorner,
	dvec2 lowerRightCorner,
	bool isToTransform = false,
	double zWorld = 0,
	bool crop = false,
	bool moveByCenterOffset = false
)

Parameters

upperLeftCorner  dvec2
The upper left corner of the rectangle to be tiled in micrometers.
lowerRightCorner  dvec2
The lower right corner of the rectangle to be tiled in micrometers.
isToTransform  Boolean  (Optional)
If true, the resulting image will be transformed according to the current process transformation.
zWorld  Double  (Optional)
The z coordinate where the tiling should take place in micrometers.
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 not be in the center of the given area but where the mirrors will point to according to the camera's center offset.

Return Value

BitmapHolder
A BitmapHolder object containing the whole scan field with the tiles put at the appropriate positions or a cropped cutting.
See Also