Greyhound plugin
Posted: Thu May 17, 2018 8:07 am
Hello,
I started to develop a plugin to allow CloudCompare to connect to a Greyhound server and there are a few things
that I would like to do but I don't know if it is possible / how to do them.
For now my plugin is able to download a point cloud from a Greyhound server by providing the bounding box of the points to be downloaded.
As on the server, the data is organized in an Octree, when I'm downloading points I do it one depth at a time (download 1 depth, add it the the viewer, download new depth, etc)
The idea behind that is to give quick feedback to the user, however for this to work I have to show a progress dialog when downloading and this is not ideal. What I would like to do is to download the points in the background letting the user still be able to do things (like move the camera) and refresh the viewer once a set of point is downloaded.
I would also like to have some guidance on how to define my custom ccHObject to be able to filter actions in my plugin's onNewSelection. And is it possible to customize the context menu when right-clicking a custom ccHObject ?
I started to develop a plugin to allow CloudCompare to connect to a Greyhound server and there are a few things
that I would like to do but I don't know if it is possible / how to do them.
For now my plugin is able to download a point cloud from a Greyhound server by providing the bounding box of the points to be downloaded.
As on the server, the data is organized in an Octree, when I'm downloading points I do it one depth at a time (download 1 depth, add it the the viewer, download new depth, etc)
The idea behind that is to give quick feedback to the user, however for this to work I have to show a progress dialog when downloading and this is not ideal. What I would like to do is to download the points in the background letting the user still be able to do things (like move the camera) and refresh the viewer once a set of point is downloaded.
I would also like to have some guidance on how to define my custom ccHObject to be able to filter actions in my plugin's onNewSelection. And is it possible to customize the context menu when right-clicking a custom ccHObject ?