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

#include <yarp/sig/PointCloudTypes.h>

Detailed Description

Definition at line 467 of file 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 {
   float   _xyz [4]
 
   struct {
      float   x
 
      float   y
 
      float   z
 
      float   xyz_padding
 
   } 
 
}; 
 
union {
   struct {
      unsigned char   b
 
      unsigned char   g
 
      unsigned char   r
 
      unsigned char   a
 
   } 
 
   yarp::os::NetInt32   rgba
 
   float   rgba_padding [4]
 
}; 
 

Member Function Documentation

◆ fromBottle()

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

Definition at line 525 of file PointCloudTypes.h.

◆ toBottle()

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

Definition at line 513 of file PointCloudTypes.h.

◆ toString()

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

Definition at line 493 of file PointCloudTypes.h.

Member Data Documentation

◆ @35

union { ... }

◆ @37

union { ... }

◆ _xyz

float yarp::sig::DataXYZRGBA::_xyz[4]

Definition at line 471 of file PointCloudTypes.h.

◆ a

unsigned char yarp::sig::DataXYZRGBA::a

Definition at line 488 of file PointCloudTypes.h.

◆ b

unsigned char yarp::sig::DataXYZRGBA::b

Definition at line 485 of file PointCloudTypes.h.

◆ g

unsigned char yarp::sig::DataXYZRGBA::g

Definition at line 486 of file PointCloudTypes.h.

◆ r

unsigned char yarp::sig::DataXYZRGBA::r

Definition at line 487 of file PointCloudTypes.h.

◆ rgba

yarp::os::NetInt32 yarp::sig::DataXYZRGBA::rgba

Definition at line 490 of file PointCloudTypes.h.

◆ rgba_padding

float yarp::sig::DataXYZRGBA::rgba_padding[4]

Definition at line 491 of file PointCloudTypes.h.

◆ x

float yarp::sig::DataXYZRGBA::x

Definition at line 474 of file PointCloudTypes.h.

◆ xyz_padding

float yarp::sig::DataXYZRGBA::xyz_padding

Definition at line 477 of file PointCloudTypes.h.

◆ y

float yarp::sig::DataXYZRGBA::y

Definition at line 475 of file PointCloudTypes.h.

◆ z

float yarp::sig::DataXYZRGBA::z

Definition at line 476 of file PointCloudTypes.h.


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