YARP
Yet Another Robot Platform
yarp::sig::DataRGBA Struct Reference

#include <yarp/sig/PointCloudTypes.h>

Public Member Functions

std::string toString (int precision, int width) const
 
yarp::os::Bottle toBottle () const
 
void fromBottle (const yarp::os::Bottle &bt, size_t i)
 

Public Attributes

union {
   struct {
      unsigned char   b
 
      unsigned char   g
 
      unsigned char   r
 
      unsigned char   a
 
   } 
 
   yarp::os::NetInt32   rgba
 
}; 
 

Detailed Description

Definition at line 234 of file PointCloudTypes.h.

Member Function Documentation

◆ fromBottle()

void yarp::sig::DataRGBA::fromBottle ( const yarp::os::Bottle bt,
size_t  i 
)
inline

Definition at line 267 of file PointCloudTypes.h.

◆ toBottle()

yarp::os::Bottle yarp::sig::DataRGBA::toBottle ( ) const
inline

Definition at line 258 of file PointCloudTypes.h.

◆ toString()

std::string yarp::sig::DataRGBA::toString ( int  precision,
int  width 
) const
inline

Definition at line 248 of file PointCloudTypes.h.

Member Data Documentation

◆ @9

union { ... }

◆ a

unsigned char yarp::sig::DataRGBA::a

Definition at line 243 of file PointCloudTypes.h.

◆ b

unsigned char yarp::sig::DataRGBA::b

Definition at line 240 of file PointCloudTypes.h.

◆ g

unsigned char yarp::sig::DataRGBA::g

Definition at line 241 of file PointCloudTypes.h.

◆ r

unsigned char yarp::sig::DataRGBA::r

Definition at line 242 of file PointCloudTypes.h.

◆ rgba

yarp::os::NetInt32 yarp::sig::DataRGBA::rgba

Definition at line 245 of file PointCloudTypes.h.


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