Open3D (C++ API)  0.19.0
Loading...
Searching...
No Matches
MessageUtils.h File Reference
#include <map>
#include <tuple>
#include "open3d/core/Tensor.h"
#include "open3d/t/geometry/LineSet.h"
#include "open3d/t/geometry/PointCloud.h"
#include "open3d/t/geometry/TensorMap.h"
#include "open3d/t/geometry/TriangleMesh.h"

Go to the source code of this file.

Namespaces

namespace  zmq
namespace  open3d
namespace  open3d::io
namespace  open3d::io::rpc
namespace  open3d::io::rpc::messages

Functions

std::shared_ptr< messages::Statusopen3d::io::rpc::UnpackStatusFromReply (const zmq::message_t &msg, size_t &offset, bool &ok)
bool open3d::io::rpc::ReplyIsOKStatus (const zmq::message_t &msg)
 Convenience function for checking if the message is an OK.
bool open3d::io::rpc::ReplyIsOKStatus (const zmq::message_t &msg, size_t &offset)
std::string open3d::io::rpc::CreateSerializedRequestMessage (const std::string &msg_id)
 Creates a serialized Request message for testing purposes.
std::tuple< const void *, size_t > open3d::io::rpc::GetZMQMessageDataAndSize (const zmq::message_t &msg)
std::tuple< int32_t, std::string > open3d::io::rpc::GetStatusCodeAndStr (const messages::Status &status)
std::shared_ptr< zmq::message_t > open3d::io::rpc::CreateStatusOKMsg ()
std::shared_ptr< t::geometry::Geometryopen3d::io::rpc::MeshDataToGeometry (const messages::MeshData &mesh_data)
messages::MeshData open3d::io::rpc::GeometryToMeshData (const t::geometry::TriangleMesh &trimesh)
messages::MeshData open3d::io::rpc::GeometryToMeshData (const t::geometry::PointCloud &pcd)
messages::MeshData open3d::io::rpc::GeometryToMeshData (const t::geometry::LineSet &ls)
std::tuple< std::string, double, std::shared_ptr< t::geometry::Geometry > > open3d::io::rpc::DataBufferToMetaGeometry (std::string &data)