YARP
Yet Another Robot Platform
yarp::sig::DataXYZRGBA 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 {
   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]
 
}; 
 

Detailed Description

Definition at line 485 of file PointCloudTypes.h.

Member Function Documentation

◆ fromBottle()

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

Definition at line 543 of file PointCloudTypes.h.

◆ toBottle()

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

Definition at line 531 of file PointCloudTypes.h.

◆ toString()

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

Definition at line 511 of file PointCloudTypes.h.

Member Data Documentation

◆ @33

union { ... }

◆ @35

union { ... }

◆ _xyz

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

Definition at line 489 of file PointCloudTypes.h.

◆ a

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

Definition at line 506 of file PointCloudTypes.h.

◆ b

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

Definition at line 503 of file PointCloudTypes.h.

◆ g

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

Definition at line 504 of file PointCloudTypes.h.

◆ r

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

Definition at line 505 of file PointCloudTypes.h.

◆ rgba

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

Definition at line 508 of file PointCloudTypes.h.

◆ rgba_padding

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

Definition at line 509 of file PointCloudTypes.h.

◆ x

float yarp::sig::DataXYZRGBA::x

Definition at line 492 of file PointCloudTypes.h.

◆ xyz_padding

float yarp::sig::DataXYZRGBA::xyz_padding

Definition at line 495 of file PointCloudTypes.h.

◆ y

float yarp::sig::DataXYZRGBA::y

Definition at line 493 of file PointCloudTypes.h.

◆ z

float yarp::sig::DataXYZRGBA::z

Definition at line 494 of file PointCloudTypes.h.


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