Zivid C++ API 2.11.1+de9b5dae-1
Public Member Functions | Public Attributes | List of all members
Zivid::PointXYZColorRGBA Struct Reference

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

#include <Zivid/PointCloudCompositeTypes.h>

Public Member Functions

ZIVID_CORE_EXPORT std::string toString () const
 Get string representation.
 
ZIVID_CORE_EXPORT bool operator== (const PointXYZColorRGBA &rhs) const
 Check for equality.
 
ZIVID_CORE_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_CORE_EXPORT bool Zivid::PointXYZColorRGBA::operator!= ( const PointXYZColorRGBA rhs) const

Check for inequality.

◆ operator==()

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

Check for equality.

◆ toString()

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