ITcVnData

Interface for accessing data.

Inheritance Hierarchy

ITcUnknown
    ITcVnData

ITcVnData 1: Methods

Name

Origin

Description

TcAddRef

ITcUnknown

Increments the reference counter.

TcQueryInterface

ITcUnknown

Get a reference to an implemented interface.

TcRelease

ITcUnknown

Decrements the reference counter.

CheckIfCopy

ITcVnData

Check if the data are a copy (returns S_OK for copies and S_FALSE otherwise).

CheckIfImage

ITcVnData

Check if the data belongs to an image (returns S_OK for images and S_FALSE otherwise).

GetSize

ITcVnData

Gets the size of the data.

CheckDataPointer

ITcVnData

Check if the data pointer is different from 0 (returns S_OK for non-zero data pointers and S_FALSE otherwise).

GetDataPointer

ITcVnData

Gets the data pointer (the obtained data pointer must be released by calling ReleaseDataPointer).

ReleaseDataPointer

ITcVnData

Release the data pointer.

Further information

The interface ITcVnData is used for internal purposes and is not normally needed by the user. For access to raw image data, use the function GetRowPointer of the interface ITcVnImage instead.

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