|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
12 #ifndef YARP_SIG_POINTCLOUDTYPES_H
13 #define YARP_SIG_POINTCLOUDTYPES_H
126 std::string
toString(
int precision,
int width)
const
128 std::string
ret =
"";
131 snprintf(tmp, 128,
"% .*lf % .*lf\t", precision,
x,
136 snprintf(tmp, 128,
"% *.*lf % *.*lf", width, precision,
x,
137 width, precision,
y);
173 std::string
toString(
int precision,
int width)
const
175 std::string
ret =
"";
178 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf\t", precision,
x,
184 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf", width, precision,
x,
186 width, precision,
z);
248 std::string
toString(
int precision,
int width)
const
252 std::string
ret =
"";
254 snprintf(tmp, 128,
"%d %d %d %d\t",
r,
g,
b,
a);
302 std::string
toString(
int precision,
int width)
const
304 std::string
ret =
"";
307 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf % .*lf\t", precision,
normal_x,
314 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf % *.*lf", width, precision,
normal_x,
362 std::string
toString(
int precision,
int width)
const
364 std::string
ret =
"";
367 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf\t", precision,
normal_x,
373 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf", width, precision,
normal_x,
434 std::string
toString(
int precision,
int width)
const
436 std::string
ret =
"";
439 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf\t", precision,
vp_x,
445 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf", width, precision,
vp_x,
446 width, precision,
vp_y,
447 width, precision,
vp_z);
511 std::string
toString(
int precision,
int width)
const
513 std::string
ret =
"";
516 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf ", precision,
x,
522 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf ", width, precision,
x,
524 width, precision,
z);
527 snprintf(tmp, 128,
"%d %d %d %d\t",
r,
g,
b,
a);
586 std::string
toString(
int precision,
int width)
const
588 std::string
ret =
"";
591 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf % .*lf\t", precision,
x,
598 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf % *.*lf", width, precision,
x,
655 std::string
toString(
int precision,
int width)
const
657 std::string
ret =
"";
660 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf % .*lf\t", precision,
x,
667 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf % *.*lf", width, precision,
x,
735 std::string
toString(
int precision,
int width)
const
737 std::string
ret =
"";
740 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf ", precision,
x,
744 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf % .*lf\t", precision,
normal_x,
751 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf ", width, precision,
x,
753 width, precision,
z);
755 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf % *.*lf", width, precision,
normal_x,
841 std::string
toString(
int precision,
int width)
const
843 std::string
ret =
"";
846 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf ", precision,
x,
850 snprintf(tmp, 128,
"% .*lf % .*lf % .*lf % .*lf ", precision,
normal_x,
857 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf ", width, precision,
x,
859 width, precision,
z);
861 snprintf(tmp, 128,
"% *.*lf % *.*lf % *.*lf % *.*lf ", width, precision,
normal_x,
867 snprintf(tmp, 128,
"%d %d %d %d\t",
r,
g,
b,
a);
917 #endif // YARP_SIG_POINTCLOUDTYPES_H
@ BORDER_TRAIT__SHADOW_BORDER_RIGHT
yarp::sig::Vector toVector3() const
A simple collection of objects that can be described and transmitted in a portable way.
@ BORDER_TRAIT__OBSTACLE_BORDER_LEFT
yarp::os::Bottle toBottle() const
void fromBottle(const yarp::os::Bottle &bt, size_t i)
@ BORDER_TRAIT__OBSTACLE_BORDER_TOP
contains the definition of a Vector type
#define YARP_END_PACK
Ends 1 byte packing for structs/classes.
PointCloudBasicType
The PointCloudBasicTypes enum.
float intensity_padding[4]
yarp::os::Bottle toBottle() const
#define YARP_BEGIN_PACK
Starts 1 byte packing for structs/classes.
void fromBottle(const yarp::os::Bottle &bt, size_t i)
yarp::os::Bottle toBottle() const
yarp::os::Bottle toBottle() const
@ PCL_PRINCIPAL_RADII_RSD
std::string toString(int precision, int width) const
std::string toString(int precision, int width) const
std::string toString(int precision, int width) const
@ BORDER_TRAIT__VEIL_POINT_LEFT
@ PCL_POINT_XYZ_NORMAL_RGBA
@ BORDER_TRAIT__SHADOW_BORDER_BOTTOM
yarp::sig::Vector toVector4() const
yarp::os::Bottle toBottle() const
void fromBottle(const yarp::os::Bottle &bt, size_t i)
@ PCL_POINT_XYZ_VIEWPOINT
void fromBottle(const yarp::os::Bottle &bt, size_t i)
yarp::os::Bottle toBottle() const
float strength_padding[4]
std::string toString(int precision, int width) const
@ BORDER_TRAIT__OBSTACLE_BORDER_RIGHT
@ BORDER_TRAIT__OBSTACLE_BORDER
std::string toString(int precision, int width) const
@ BORDER_TRAIT__VEIL_POINT_TOP
Value & get(size_type index) const
Reads a Value v from a certain part of the list.
void fromBottle(const yarp::os::Bottle &bt, size_t i)
std::string toString(int precision, int width) const
@ BORDER_TRAIT__OBSTACLE_BORDER_BOTTOM
@ BORDER_TRAIT__VEIL_POINT
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
void fromBottle(const yarp::os::Bottle &bt, size_t i)
yarp::os::Bottle toBottle() const
@ BORDER_TRAIT__VEIL_POINT_RIGHT
std::string toString(int precision, int width) const
std::string toString(int precision, int width) const
@ BORDER_TRAIT__SHADOW_BORDER_LEFT
yarp::os::Bottle toBottle() const
virtual std::int32_t asInt32() const
Get 32-bit integer value.
std::string toString(int precision, int width) const
The main, catch-all namespace for YARP.
@ BORDER_TRAIT__VEIL_POINT_BOTTOM
std::string toString(int precision, int width) const
void fromBottle(const yarp::os::Bottle &bt, size_t i)
@ PC_PRINCIPAL_CURVATURE_DATA
virtual Bottle * asList() const
Get list value.
yarp::os::Bottle toBottle() const
@ BORDER_TRAIT__SHADOW_BORDER
PointCloudCompositeType
The PointCloudCompositeType enum.
void fromBottle(const yarp::os::Bottle &bt, size_t i)
@ BORDER_TRAIT__SHADOW_BORDER_TOP
void fromBottle(const yarp::os::Bottle &bt, size_t i)
@ PCL_PRINCIPAL_CURVATURES
virtual yarp::conf::float64_t asFloat64() const
Get 64-bit floating point value.
void fromBottle(const yarp::os::Bottle &bt, size_t i)
std::int32_t NetInt32
Definition of the NetInt32 type.