PlaneData Struct Reference

Structure that defines a new plane, holding information directly from the ZED SDK. Data within is relative to the camera; More...

Attributes

sl.ERROR_CODE ErrorCode
 Error code returned by the ZED SDK when the plane detection was attempted. More...
 
PLANE_TYPE Type
 Type of the plane (floor, hit_vertical, etc.) More...
 
Vector3 PlaneNormal
 Normalized vector of the direction the plane is facing. More...
 
Vector3 PlaneCenter
 Camera-space position of the center of the plane. More...
 
Vector3 PlaneTransformPosition
 Camera-space position of the center of the plane. More...
 
Quaternion PlaneTransformOrientation
 Camera-space rotation/orientation of the plane. More...
 
Vector4 PlaneEquation
 The mathematical Vector4 equation of the plane. More...
 
Vector2 Extents
 How wide and long/tall the plane is in meters. More...
 
int BoundsSize
 How many points make up the plane's bounds, eg. the array length of Bounds. More...
 
Vector3[] Bounds
 Positions of the points that make up the edges of the plane's mesh. More...
 

Detailed Description

Structure that defines a new plane, holding information directly from the ZED SDK. Data within is relative to the camera;

Variables

◆ ErrorCode

sl.ERROR_CODE ErrorCode

Error code returned by the ZED SDK when the plane detection was attempted.

◆ Type

PLANE_TYPE Type

Type of the plane (floor, hit_vertical, etc.)

◆ PlaneNormal

Vector3 PlaneNormal

Normalized vector of the direction the plane is facing.

◆ PlaneCenter

Vector3 PlaneCenter

Camera-space position of the center of the plane.

◆ PlaneTransformPosition

Vector3 PlaneTransformPosition

Camera-space position of the center of the plane.

◆ PlaneTransformOrientation

Quaternion PlaneTransformOrientation

Camera-space rotation/orientation of the plane.

◆ PlaneEquation

Vector4 PlaneEquation

The mathematical Vector4 equation of the plane.

◆ Extents

Vector2 Extents

How wide and long/tall the plane is in meters.

◆ BoundsSize

int BoundsSize

How many points make up the plane's bounds, eg. the array length of Bounds.

◆ Bounds

Vector3 [] Bounds

Positions of the points that make up the edges of the plane's mesh.