Click or drag to resize

ClickAndTeach Class

The class holds some properties and methods to allow taking pictures with a camera which are arranged in tiles. Tiling can be done by covering the whole scan field the camera is assigned to, or by determining the size the tiled area should have around a target point.
Inheritance Hierarchy
SystemObject
  RAYLASE.Marker.ClickAndTeachPluginClickAndTeach

Namespace: RAYLASE.Marker.ClickAndTeachPlugin
Assembly: RAYLASE.Marker.ClickAndTeachPlugin (in RAYLASE.Marker.ClickAndTeachPlugin.dll) Version: 2.49.0
Syntax
C#
public class ClickAndTeach

The ClickAndTeach type exposes the following members.

Constructors
 NameDescription
Public methodClickAndTeach Constructs the ClickAndTeach object.
Top
Properties
 NameDescription
Public propertyAreCrossHairs If true a red cross will be added to the result of a tiling at the position where the mirrors are targeting.
Public propertyCamera The camera that is used.
Public propertyCrossHairsSize The size of the red cross hairs in micrometer.
Public propertyCrossHairsThickness The thickness of the red cross hairs bars in pixel.
Public propertyIsRectify If true an equalization is done when a picture is taken. A taken image is distorted by different effects. This can be compensated to some extent by this parameter if an equalization calibration has been done during camera calibration.
Public propertyIsTilingInProgress Is true while a tiling process is running.
Public propertyJumpDelay This time [ms] will be waited after a mirror position is set before the picture of the tile will be taken.
Public propertyJumpSpeed The speed the scan head will be moved with when positioning the mirrors from one tile to the next.
Public propertyOverlappingFactor This value controls how dense the tiles will be set. A value less than 1 will cause gaps between the tiles.
Public propertyTilingTimeout If this time (in milliseconds) is exceeded, a tiling operation will be aborted. A value of -1 means wait for ever.
Public propertyWorkspaceConfigurationName 
Top
Methods
 NameDescription
Public methodAutoCalibrate Tries to auto calibrate. A sufficient calibration job must be visible in the workspace.
Public methodClearImage Clears the given camera's scan field image.
Public methodSetProcessTrafo Sets the process transformation.
Public methodTile(dvec3, TilingSize) Creates a single tile or several tiles (according to the tilingMode) around the given point and puts them into a bitmap of the size needed for the whole scan field.
Public methodTile(dvec2, dvec2, Boolean) 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.
Public methodTileAll Tiles the whole scan field and puts the tiles at the appropriate positions into the returned bitmap.
Top
See Also