9 #ifndef YARP_SIG_POINTCLOUDTYPES_H
10 #define YARP_SIG_POINTCLOUDTYPES_H
123 std::string
toString(
int precision,
int width)
const
125 std::string
ret =
"";
128 snprintf(tmp, 128,
"% .*lf % .*lf\t", precision,
x,
133 snprintf(tmp, 128,
"% *.*lf % *.*lf", width, precision,
x,
134 width, precision,
y);
170 std::string
toString(
int precision,
int width)
const
172 std::string
ret =
"";
175 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf\t", precision,
x,
181 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf", width, precision,
x,
183 width, precision,
z);
245 std::string
toString(
int precision,
int width)
const
249 std::string
ret =
"";
251 snprintf(tmp, 128,
"%d %d %d %d\t",
r,
g,
b,
a);
299 std::string
toString(
int precision,
int width)
const
301 std::string
ret =
"";
304 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf % .*lf\t", precision,
normal_x,
311 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf % *.*lf", width, precision,
normal_x,
359 std::string
toString(
int precision,
int width)
const
361 std::string
ret =
"";
364 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf\t", precision,
normal_x,
370 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf", width, precision,
normal_x,
431 std::string
toString(
int precision,
int width)
const
433 std::string
ret =
"";
436 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf\t", precision,
vp_x,
442 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf", width, precision,
vp_x,
443 width, precision,
vp_y,
444 width, precision,
vp_z);
508 std::string
toString(
int precision,
int width)
const
510 std::string
ret =
"";
513 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf ", precision,
x,
519 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf ", width, precision,
x,
521 width, precision,
z);
524 snprintf(tmp, 128,
"%d %d %d %d\t",
r,
g,
b,
a);
583 std::string
toString(
int precision,
int width)
const
585 std::string
ret =
"";
588 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf % .*lf\t", precision,
x,
595 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf % *.*lf", width, precision,
x,
652 std::string
toString(
int precision,
int width)
const
654 std::string
ret =
"";
657 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf % .*lf\t", precision,
x,
664 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf % *.*lf", width, precision,
x,
732 std::string
toString(
int precision,
int width)
const
734 std::string
ret =
"";
737 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf ", precision,
x,
741 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf % .*lf\t", precision,
normal_x,
748 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf ", width, precision,
x,
750 width, precision,
z);
752 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf % *.*lf", width, precision,
normal_x,
838 std::string
toString(
int precision,
int width)
const
840 std::string
ret =
"";
843 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf ", precision,
x,
847 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf % .*lf ", precision,
normal_x,
854 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf ", width, precision,
x,
856 width, precision,
z);
858 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf % *.*lf ", width, precision,
normal_x,
864 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.
Value & get(size_type index) const
Reads a Value v from a certain part 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
The main, catch-all namespace for YARP.
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.