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

#include <yarp/sig/PointCloudTypes.h>

Public Member Functions

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

Public Attributes

union {
   float   _xyz [4]
 
   struct {
      float   x
 
      float   y
 
      float   z
 
   } 
 
}; 
 

Detailed Description

Definition at line 161 of file PointCloudTypes.h.

Member Function Documentation

◆ fromBottle()

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

Definition at line 216 of file PointCloudTypes.h.

◆ toBottle()

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

Definition at line 191 of file PointCloudTypes.h.

◆ toString()

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

Definition at line 173 of file PointCloudTypes.h.

◆ toVector3()

yarp::sig::Vector yarp::sig::DataXYZ::toVector3 ( ) const
inline

Definition at line 199 of file PointCloudTypes.h.

◆ toVector4()

yarp::sig::Vector yarp::sig::DataXYZ::toVector4 ( ) const
inline

Definition at line 207 of file PointCloudTypes.h.

Member Data Documentation

◆ @5

union { ... }

◆ _xyz

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

Definition at line 165 of file PointCloudTypes.h.

◆ x

float yarp::sig::DataXYZ::x

Definition at line 168 of file PointCloudTypes.h.

◆ y

float yarp::sig::DataXYZ::y

Definition at line 169 of file PointCloudTypes.h.

◆ z

float yarp::sig::DataXYZ::z

Definition at line 170 of file PointCloudTypes.h.


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