GenerateCalibrationPatternReferencePoints

Generate reference points for common calibration patterns.

Syntax

Definition:

HRESULT GenerateCalibrationPatternReferencePoints(
    HRESULT                       hrPrev,
    ITcVnContainer*&              ipReferencePoints,
    ETcVnCalibrationPattern       ePattern,
    ETcVnCalibrationPatternOrigin eOrigin,
    ULONG                         nWidth,
    ULONG                         nHeight,
    float                         fDistX,
    float                         fDistY
)

Parameters

Name

Type

Description

hrPrev

HRESULT

HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.)

ipReferencePoints

ITcVnContainer*&

Returns the generated reference points (ContainerType_Vector_TcVnPoint3_REAL)

ePattern

ETcVnCalibrationPattern

Calibration pattern type

eOrigin

ETcVnCalibrationPatternOrigin

Calibration pattern origin

nWidth

ULONG

Pattern width, i.e. number of pattern points in x direction

nHeight

ULONG

Pattern height, i.e. number of pattern points in y direction

fDistX

float

Distance between pattern points in x direction

fDistY

float

Distance between pattern points in y direction

GenerateCalibrationPatternReferencePoints 1: Return value

HRESULT

Required License

TC3 Vision Metrology 2D

System Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT V3.1.4024.54 or later

PC or CX (x64) with PL50, e.g. Intel 4-core Atom CPU

Tc3_Vision