Click or drag to resize

BasePluginCameraPutIntoMat Method

Puts a smaller inMat object into a bigger outMat object at the given point. In case of picking, centerWorldPoint is the position where the user has clicked into the workspace, without any transformations. To get the pixel position where inMat has to be put, the center offset and other transformations must be applied, before the point is transformed from world into pixel coordinates. Because of the center offset the given point is *not* the center of inMat. This method is also used when taking pictures of a ROI. In this case the given point should be the center of the inMat. Therefore the given point must be adjusted by the center offset before to compensate the transformation.

Namespace: RAYLASE.Marker.CamerasPlugin
Assembly: RAYLASE.Marker.CamerasPlugin (in RAYLASE.Marker.CamerasPlugin.dll) Version: 2.19.0
Syntax
C#
public bool PutIntoMat(
	dvec3 centerWorldPoint,
	Mat inMat,
	Mat outMat
)

Parameters

centerWorldPoint  dvec3
The point where the user has clicked while picking or the center of inMat in case of retrieving a ROI.
inMat  Mat
The smaller source picture.
outMat  Mat
The bigger picture where the smaller is to be put in.

Return Value

Boolean
Always true.
See Also