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::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 More...
 
ZIVID_CORE_EXPORT bool operator== (const PointXYZColorRGBA &rhs) const
 Check for equality More...
 
ZIVID_CORE_EXPORT bool operator!= (const PointXYZColorRGBA &rhs) const
 Check for inequality More...
 

Public Attributes

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

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: