9#ifndef YARP_SIG_POINTCLOUDTYPES_H
10#define YARP_SIG_POINTCLOUDTYPES_H
122 std::string
toString(
int precision,
int width)
const
124 std::string
ret =
"";
127 snprintf(tmp, 128,
"% .*lf % .*lf\t", precision,
x,
132 snprintf(tmp, 128,
"% *.*lf % *.*lf", width, precision,
x,
133 width, precision,
y);
169 std::string
toString(
int precision,
int width)
const
171 std::string
ret =
"";
174 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf\t", precision,
x,
180 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf", width, precision,
x,
182 width, precision,
z);
244 std::string
toString(
int precision,
int width)
const
248 std::string
ret =
"";
250 snprintf(tmp, 128,
"%d %d %d %d\t",
r,
g,
b,
a);
298 std::string
toString(
int precision,
int width)
const
300 std::string
ret =
"";
303 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf % .*lf\t", precision,
normal_x,
310 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf % *.*lf", width, precision,
normal_x,
358 std::string
toString(
int precision,
int width)
const
360 std::string
ret =
"";
363 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf\t", precision,
normal_x,
369 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf", width, precision,
normal_x,
430 std::string
toString(
int precision,
int width)
const
432 std::string
ret =
"";
435 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf\t", precision,
vp_x,
441 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf", width, precision,
vp_x,
442 width, precision,
vp_y,
443 width, precision,
vp_z);
507 std::string
toString(
int precision,
int width)
const
509 std::string
ret =
"";
512 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf ", precision,
x,
518 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf ", width, precision,
x,
520 width, precision,
z);
523 snprintf(tmp, 128,
"%d %d %d %d\t",
r,
g,
b,
a);
582 std::string
toString(
int precision,
int width)
const
584 std::string
ret =
"";
587 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf % .*lf\t", precision,
x,
594 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf % *.*lf", width, precision,
x,
651 std::string
toString(
int precision,
int width)
const
653 std::string
ret =
"";
656 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf % .*lf\t", precision,
x,
663 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf % *.*lf", width, precision,
x,
731 std::string
toString(
int precision,
int width)
const
733 std::string
ret =
"";
736 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf ", precision,
x,
740 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf % .*lf\t", precision,
normal_x,
747 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf ", width, precision,
x,
749 width, precision,
z);
751 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf % *.*lf", width, precision,
normal_x,
837 std::string
toString(
int precision,
int width)
const
839 std::string
ret =
"";
842 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf ", precision,
x,
846 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf % .*lf ", precision,
normal_x,
853 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf ", width, precision,
x,
855 width, precision,
z);
857 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf % *.*lf ", width, precision,
normal_x,
863 snprintf(tmp, 128,
"%d %d %d %d\t",
r,
g,
b,
a);
contains the definition of a Vector type
A simple collection of objects that can be described and transmitted in a portable way.
void addFloat64(yarp::conf::float64_t x)
Places a 64-bit floating point number in the bottle, at the end of the list.
Value & get(size_type index) const
Reads a Value v from a certain part of the list.
void addInt32(std::int32_t x)
Places a 32-bit integer in the bottle, at the end of the list.
virtual yarp::conf::float64_t asFloat64() const
Get 64-bit floating point value.
virtual std::int32_t asInt32() const
Get 32-bit integer value.
virtual Bottle * asList() const
Get list value.
std::int32_t NetInt32
Definition of the NetInt32 type.
PointCloudBasicType
The PointCloudBasicTypes enum.
@ PC_PRINCIPAL_CURVATURE_DATA
PointCloudCompositeType
The PointCloudCompositeType enum.
@ PCL_PRINCIPAL_CURVATURES
@ PCL_POINT_XYZ_VIEWPOINT
@ PCL_PRINCIPAL_RADII_RSD
@ PCL_POINT_XYZ_NORMAL_RGBA
@ BORDER_TRAIT__OBSTACLE_BORDER
@ BORDER_TRAIT__SHADOW_BORDER
@ BORDER_TRAIT__VEIL_POINT_LEFT
@ BORDER_TRAIT__VEIL_POINT_BOTTOM
@ BORDER_TRAIT__VEIL_POINT
@ BORDER_TRAIT__OBSTACLE_BORDER_LEFT
@ BORDER_TRAIT__SHADOW_BORDER_BOTTOM
@ BORDER_TRAIT__VEIL_POINT_RIGHT
@ BORDER_TRAIT__OBSTACLE_BORDER_TOP
@ BORDER_TRAIT__SHADOW_BORDER_LEFT
@ BORDER_TRAIT__SHADOW_BORDER_TOP
@ BORDER_TRAIT__OBSTACLE_BORDER_RIGHT
@ BORDER_TRAIT__SHADOW_BORDER_RIGHT
@ BORDER_TRAIT__OBSTACLE_BORDER_BOTTOM
@ BORDER_TRAIT__VEIL_POINT_TOP
void fromBottle(const yarp::os::Bottle &bt, size_t i)
float strength_padding[4]
std::string toString(int precision, int width) const
yarp::os::Bottle toBottle() const
yarp::os::Bottle toBottle() const
std::string toString(int precision, int width) const
void fromBottle(const yarp::os::Bottle &bt, size_t i)
void fromBottle(const yarp::os::Bottle &bt, size_t i)
yarp::os::Bottle toBottle() const
std::string toString(int precision, int width) const
yarp::os::Bottle toBottle() const
std::string toString(int precision, int width) const
void fromBottle(const yarp::os::Bottle &bt, size_t i)
std::string toString(int precision, int width) const
void fromBottle(const yarp::os::Bottle &bt, size_t i)
yarp::os::Bottle toBottle() const
std::string toString(int precision, int width) const
float intensity_padding[4]
yarp::os::Bottle toBottle() const
void fromBottle(const yarp::os::Bottle &bt, size_t i)
std::string toString(int precision, int width) const
yarp::os::Bottle toBottle() const
void fromBottle(const yarp::os::Bottle &bt, size_t i)
void fromBottle(const yarp::os::Bottle &bt, size_t i)
yarp::os::Bottle toBottle() const
std::string toString(int precision, int width) const
std::string toString(int precision, int width) const
void fromBottle(const yarp::os::Bottle &bt, size_t i)
yarp::os::Bottle toBottle() const
yarp::sig::Vector toVector4() const
yarp::os::Bottle toBottle() const
void fromBottle(const yarp::os::Bottle &bt, size_t i)
std::string toString(int precision, int width) const
yarp::sig::Vector toVector3() const
void fromBottle(const yarp::os::Bottle &bt, size_t i)
yarp::os::Bottle toBottle() const
std::string toString(int precision, int width) const
#define YARP_END_PACK
Ends 1 byte packing for structs/classes.
#define YARP_BEGIN_PACK
Starts 1 byte packing for structs/classes.