Zivid C++ API 2.14.0+e4a0c4a9-1
Zivid::PointXYZColorBGRA Struct Reference

Struct which contains XYZ point and BGRA color packed together. More...

#include <Zivid/PointCloudCompositeTypes.h>

Public Member Functions

ZIVID_UTILS_EXPORT std::string toString () const
 Get string representation.
 
ZIVID_UTILS_EXPORT bool operator== (const PointXYZColorBGRA &rhs) const
 Check for equality.
 
ZIVID_UTILS_EXPORT bool operator!= (const PointXYZColorBGRA &rhs) const
 Check for inequality.
 

Public Attributes

PointXYZ point
 Point (contains x, y and z coordinates as floats)
 
ColorBGRA color
 Color (BGRA order with 8 bits per channel)
 

Detailed Description

Struct which contains XYZ point and BGRA color packed together.

Contains one PointXYZ (3*4 bytes) and one ColorBGRA (4*1 bytes), making this a 16 byte struct. This type differs from PointXYZColorRGBA only in the order of the color channels (BGRA vs. RGBA).

Member Function Documentation

◆ operator!=()

ZIVID_UTILS_EXPORT bool Zivid::PointXYZColorBGRA::operator!= ( const PointXYZColorBGRA & rhs) const

Check for inequality.

◆ operator==()

ZIVID_UTILS_EXPORT bool Zivid::PointXYZColorBGRA::operator== ( const PointXYZColorBGRA & rhs) const

Check for equality.

◆ toString()

ZIVID_UTILS_EXPORT std::string Zivid::PointXYZColorBGRA::toString ( ) const

Get string representation.

Member Data Documentation

◆ color

ColorBGRA Zivid::PointXYZColorBGRA::color

Color (BGRA order with 8 bits per channel)

◆ point

PointXYZ Zivid::PointXYZColorBGRA::point

Point (contains x, y and z coordinates as floats)


The documentation for this struct was generated from the following file: