 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
15 namespace visualization {
26 std::function<void(std::shared_ptr<ccHObject>,
36 const msgpack::object_handle& obj)
override;
42 void SetGeometry(std::shared_ptr<ccHObject> geom,
43 const std::string&
path,
45 const std::string& layer);
Generic file read and write utility for python interface.
Definition: CloudViewerConfig.cpp:12
Definition: MessageProcessorBase.h:40
std::function< void(std::shared_ptr< ccHObject >, const std::string &, int, const std::string &)> OnGeometryFunc
Definition: MessageProcessor.h:29
std::string TypeStr< double >()
Definition: Messages.h:48
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
Definition: MessageProcessor.cpp:27
virtual void setLocked(bool state)
Sets the "enabled" property.
Definition: ecvObject.h:117
bool reserveThePointsTable(unsigned _numberOfPoints)
Reserves memory to store the points coordinates.
Definition: ecvPointCloud.cpp:1191
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition: ecvPointCloud.h:146
ccGuiPythonInstance * GetInstance() noexcept
Definition: Runtime.cpp:72
MessageProcessorBase()
Constructs a receiver listening on the specified address.
Definition: MessageProcessorBase.cpp:49
Array vertices
shape must be [num_verts,3]
Definition: Messages.h:265
const T * Ptr() const
Definition: Messages.h:146
MessageProcessor(gui::Window *window, OnGeometryFunc on_geometry)
Definition: MessageProcessor.h:30
bool CheckNonEmpty(std::string &errstr) const
Definition: Messages.h:212
std::string TypeStr< float >()
Definition: Messages.h:44
Definition: Messages.h:391
bool reserveTheNormsTable()
Reserves memory to store the compressed normals.
Definition: ecvPointCloud.cpp:1253
Definition: Messages.h:508
static const std::string path
Definition: PointCloud.cpp:59
void addNorm(const CCVector3 &N)
Pushes a normal vector on stack (shortcut)
Definition: ecvPointCloud.cpp:1754
std::vector< int64_t > shape
Definition: Messages.h:142
bool hasNormals() const override
Returns whether normals are enabled or not.
Definition: ecvPointCloud.cpp:1693
MeshData data
The data to be set.
Definition: Messages.h:404
std::string TypeStr< int64_t >()
Definition: Messages.h:64
Definition: MessageProcessor.h:23
bool CheckType(const std::vector< std::string > &expected_types, std::string &errstr) const
Definition: Messages.h:233
std::string type
Definition: Messages.h:141
static Status ErrorProcessingMessage()
Definition: Messages.h:534
Definition: BufferConnection.cpp:20
Array faces
Definition: Messages.h:276
#define LogInfo(...)
Definition: Logging.h:81
RGB color structure.
Definition: ecvColorTypes.h:49
bool CheckMessage(std::string &errstr) const
Definition: Messages.h:368
Definition: Messages.h:515
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
std::map< std::string, Array > vertex_attributes
Definition: Messages.h:268
void addPoint(const CCVector3 &P)
Adds a 3D point to the database.
Definition: PointCloudTpl.h:246
unsigned char ColorCompType
Default color components type (R,G and B)
Definition: ecvColorTypes.h:29
std::shared_ptr< zmq::message_t > CreateStatusOKMsg()
Definition: MessageUtils.cpp:84
virtual void setEnabled(bool state)
Sets the "enabled" property.
Definition: ecvObject.h:102
static Vector3Tpl fromArray(const int a[3])
Constructor from an int array.
Definition: CVGeom.h:268
std::string TypeStr< int32_t >()
Definition: Messages.h:60