ITcVnImageBase

Base interface for all image types.

Inheritance Hierarchy

ITcUnknown
    ITcVnImageBase

ITcVnImageBase 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.

GetImageData

ITcVnImageBase

Gets the data interface (Do not explicitly free the pointer in there!).

GetImageSize

ITcVnImageBase

Gets the image size.

GetWidth

ITcVnImageBase

Gets the image width (alternatively use F_VN_GetImageWidth).

GetHeight

ITcVnImageBase

Gets the image height (alternatively use F_VN_GetImageHeight).

GetXPadding

ITcVnImageBase

Gets the horizontal padding.

GetYPadding

ITcVnImageBase

Gets the vertical padding.

GetPixelFormat

ITcVnImageBase

Gets the pixel format (alternatively use F_VN_GetPixelFormat).

GetImageInfo

ITcVnImageBase

Gets a struct containing all common meta infos of the image. This basically encompasses all meta information accessible via this interface. (Alternatively use F_VN_GetImageInfo.)

Further information

The interface ITcVnImageBase is used for internal purposes and is not normally needed by the user.

For handling images use the ITcVnImage interface instead.

System Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT V3.1. 4024.44 or later

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

Tc3_Vision