Open3D (C++ API)  0.18.0
Namespaces | Functions
MessageUtils.h File Reference

(b9e049c (Sun Dec 31 11:36:26 2023 -0800))

#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

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

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)