|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
22 #ifndef YARP_ROSMSG_shape_msgs_Mesh_h
23 #define YARP_ROSMSG_shape_msgs_Mesh_h
40 std::vector<yarp::rosmsg::shape_msgs::MeshTriangle>
triangles;
41 std::vector<yarp::rosmsg::geometry_msgs::Point>
vertices;
63 for (
int i=0; i<len; i++) {
72 for (
int i=0; i<len; i++) {
95 for (
int i=0; i<len; i++) {
107 for (
int i=0; i<len; i++) {
127 for (
size_t i=0; i<
triangles.size(); i++) {
135 for (
size_t i=0; i<
vertices.size(); i++) {
152 for (
size_t i=0; i<
triangles.size(); i++) {
161 for (
size_t i=0; i<
vertices.size(); i++) {
184 static constexpr
const char*
typeName =
"shape_msgs/Mesh";
187 static constexpr
const char*
typeChecksum =
"1ffdae9486cd3316a121c578b47a85cc";
191 # Definition of a mesh\n\
193 # list of triangles; the index values refer to positions in vertices[]\n\
194 MeshTriangle[] triangles\n\
196 # the actual vertices that make up the mesh\n\
197 geometry_msgs/Point[] vertices\n\
199 ================================================================================\n\
200 MSG: shape_msgs/MeshTriangle\n\
201 # Definition of a triangle's vertices\n\
202 uint32[3] vertex_indices\n\
204 ================================================================================\n\
205 MSG: geometry_msgs/Point\n\
206 # This contains the position of a point in free space\n\
225 #endif // YARP_ROSMSG_shape_msgs_Mesh_h
static constexpr const char * typeChecksum
virtual bool read(yarp::os::idl::WireReader &reader)
virtual bool isBareMode() const =0
Check if the connection is bare mode.
yarp::os::idl::BareStyle< yarp::rosmsg::shape_msgs::Mesh > rosStyle
bool writeBare(yarp::os::ConnectionWriter &connection) const override
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
virtual bool isError() const =0
static constexpr const char * typeText
static Type byName(const char *name)
virtual std::int32_t expectInt32()=0
Read a 32-bit integer from the network connection.
Type & addProperty(const char *key, const Value &val)
An interface for writing to a network connection.
virtual bool isError() const =0
virtual bool convertTextMode()=0
Reads in a standard description in text mode, and converts it to a standard description in binary.
A "tamed" Portable, that promises to serialize itself in an IDL-friendly way.
virtual bool isBareMode() const =0
Check if the connection is bare mode.
yarp::os::idl::BottleStyle< yarp::rosmsg::shape_msgs::Mesh > bottleStyle
virtual bool convertTextMode()=0
Converts a standard description in binary into a textual description, if the connection is in text-mo...
virtual void appendInt32(std::int32_t data)=0
Send a representation of a 32-bit integer to the network connection.
IDL-friendly connection reader.
An interface for reading from a network connection.
bool readBottle(yarp::os::ConnectionReader &connection) override
The main, catch-all namespace for YARP.
static constexpr const char * typeName
std::vector< yarp::rosmsg::geometry_msgs::Point > vertices
std::vector< yarp::rosmsg::shape_msgs::MeshTriangle > triangles
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
A single value (typically within a Bottle).
bool writeBottle(yarp::os::ConnectionWriter &connection) const override
bool readBare(yarp::os::ConnectionReader &connection) override
yarp::os::Type getType() const override
virtual bool write(const yarp::os::idl::WireWriter &writer) const