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

Struct which contains XYZ point and RGBA 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 PointXYZColorRGBA &rhs) const
 Check for equality.
 
ZIVID_UTILS_EXPORT bool operator!= (const PointXYZColorRGBA &rhs) const
 Check for inequality.
 

Public Attributes

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

Detailed Description

Struct which contains XYZ point and RGBA color packed together.

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

Member Function Documentation

◆ operator!=()

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

Check for inequality.

◆ operator==()

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

Check for equality.

◆ toString()

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

Get string representation.

Member Data Documentation

◆ color

ColorRGBA Zivid::PointXYZColorRGBA::color

Color (RGBA order with 8 bits per channel)

◆ point

PointXYZ Zivid::PointXYZColorRGBA::point

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


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