Open3D (C++ API)  0.17.0
Namespaces | Functions
MessageUtils.cpp File Reference

(9238339 (Tue Mar 14 18:49:09 2023 -0700))

#include "open3d/io/rpc/MessageUtils.h"
#include <zmq.hpp>
#include "open3d/io/rpc/Messages.h"
#include "open3d/utility/Logging.h"
#include "open3d/visualization/rendering/Material.h"

Namespaces

 open3d
 
 open3d::io
 
 open3d::io::rpc
 

Functions

std::shared_ptr< messages::Status > open3d::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. More...
 
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. More...
 
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::Geometry > open3d::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)