Perception Tool Kit (PTK) API Guide

Detailed Description

Defines a rectangle in a target coordinate system. In local coordinate system, the vertices are (0|0), (xWidth|0), (xWidth|yWidth), (0|yWidth).

For example, if the target coordinate system is the local system, then xOffset = yOffset = 0 and xDir = 1, yDir = 0

Collaboration diagram for PTK_GridRoi:
Collaboration graph

Data Fields

float xOffset
 
float yOffset
 
float xWidth
 
float yWidth
 
float xDir
 
float yDir
 

Field Documentation

◆ xOffset

float PTK_GridRoi::xOffset

Rectangle's local (0|0) vertex in target coordinates (x-component).

◆ yOffset

float PTK_GridRoi::yOffset

Rectangle's local (0|0) vertex in target coordinates (y-component).

◆ xWidth

float PTK_GridRoi::xWidth

Rectangle's width along rectangle's local x-axis.

◆ yWidth

float PTK_GridRoi::yWidth

Rectangle's width along rectangle's local y-axis.

◆ xDir

float PTK_GridRoi::xDir

Direction of rectangle's x-axis in target coordinates (x-component).

◆ yDir

float PTK_GridRoi::yDir

Direction of rectangle's x-axis in target coordinates (y-component).