Open3D (C++ API)
0.18.0+252c867
|
#include <MessageProcessor.h>
Public Types | |
using | OnGeometryFunc = std::function< void(std::shared_ptr< geometry::Geometry3D >, const std::string &, int, const std::string &)> |
Public Member Functions | |
MessageProcessor (gui::Window *window, OnGeometryFunc on_geometry) | |
std::shared_ptr< zmq::message_t > | ProcessMessage (const io::rpc::messages::Request &req, const io::rpc::messages::SetMeshData &msg, const msgpack::object_handle &obj) override |
MessageProcessor implementation which interfaces with the Open3DScene and a Window.
using open3d::visualization::MessageProcessor::OnGeometryFunc = std::function<void( std::shared_ptr<geometry::Geometry3D>, const std::string&, int, const std::string&)> |
|
inline |
|
overridevirtual |
Function for processing a msg.
req | The Request object that accompanies the msg object. |
msg | The message to be processed |
obj | The handle to the object from which the msg was unpacked. Can be used for custom unpacking. |
Reimplemented from open3d::io::rpc::MessageProcessorBase.