YARP
Yet Another Robot Platform
yarp::sig::DataXYZNormalRGBA 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   data [4]
 
   struct {
      float   x
 
      float   y
 
      float   z
 
   } 
 
}; 
 
union {
   float   filler_n [4]
 
   float   normal [3]
 
   struct {
      float   normal_x
 
      float   normal_y
 
      float   normal_z
 
   } 
 
}; 
 
union {
   struct {
      union {
         struct {
            unsigned char   b
 
            unsigned char   g
 
            unsigned char   r
 
            unsigned char   a
 
         } 
 
         yarp::os::NetInt32   rgba
 
      } 
 
      float   curvature
 
   } 
 
   float   filler_others [4]
 
}; 
 

Detailed Description

Definition at line 797 of file PointCloudTypes.h.

Member Function Documentation

◆ fromBottle()

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

Definition at line 887 of file PointCloudTypes.h.

◆ toBottle()

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

Definition at line 871 of file PointCloudTypes.h.

◆ toString()

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

Definition at line 841 of file PointCloudTypes.h.

Member Data Documentation

◆ @69

union { ... }

◆ @71

union { ... }

◆ @73

union { ... }

◆ a

unsigned char yarp::sig::DataXYZNormalRGBA::a

Definition at line 833 of file PointCloudTypes.h.

◆ b

unsigned char yarp::sig::DataXYZNormalRGBA::b

Definition at line 830 of file PointCloudTypes.h.

◆ curvature

float yarp::sig::DataXYZNormalRGBA::curvature

Definition at line 837 of file PointCloudTypes.h.

◆ data

float yarp::sig::DataXYZNormalRGBA::data[4]

Definition at line 801 of file PointCloudTypes.h.

◆ filler_n

float yarp::sig::DataXYZNormalRGBA::filler_n[4]

Definition at line 811 of file PointCloudTypes.h.

◆ filler_others

float yarp::sig::DataXYZNormalRGBA::filler_others[4]

Definition at line 839 of file PointCloudTypes.h.

◆ g

unsigned char yarp::sig::DataXYZNormalRGBA::g

Definition at line 831 of file PointCloudTypes.h.

◆ normal

float yarp::sig::DataXYZNormalRGBA::normal[3]

Definition at line 812 of file PointCloudTypes.h.

◆ normal_x

float yarp::sig::DataXYZNormalRGBA::normal_x

Definition at line 815 of file PointCloudTypes.h.

◆ normal_y

float yarp::sig::DataXYZNormalRGBA::normal_y

Definition at line 816 of file PointCloudTypes.h.

◆ normal_z

float yarp::sig::DataXYZNormalRGBA::normal_z

Definition at line 817 of file PointCloudTypes.h.

◆ r

unsigned char yarp::sig::DataXYZNormalRGBA::r

Definition at line 832 of file PointCloudTypes.h.

◆ rgba

yarp::os::NetInt32 yarp::sig::DataXYZNormalRGBA::rgba

Definition at line 835 of file PointCloudTypes.h.

◆ x

float yarp::sig::DataXYZNormalRGBA::x

Definition at line 804 of file PointCloudTypes.h.

◆ y

float yarp::sig::DataXYZNormalRGBA::y

Definition at line 805 of file PointCloudTypes.h.

◆ z

float yarp::sig::DataXYZNormalRGBA::z

Definition at line 806 of file PointCloudTypes.h.


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