Zivid C++ API 2.9.0+4dbba385-1
Defining the Future of 3D Machine Vision
Public Member Functions | Public Attributes | List of all members
Zivid::PointXYZColorBGRA Struct Reference

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

#include <Zivid/PointCloudCompositeTypes.h>

Public Member Functions

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

Public Attributes

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

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_CORE_EXPORT bool Zivid::PointXYZColorBGRA::operator!= ( const PointXYZColorBGRA rhs) const

Check for inequality

◆ operator==()

ZIVID_CORE_EXPORT bool Zivid::PointXYZColorBGRA::operator== ( const PointXYZColorBGRA rhs) const

Check for equality

◆ toString()

ZIVID_CORE_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: