Getting started - accessing point cloud/creating point cloud
Posted: Wed Oct 25, 2017 9:44 am
Dear Daniel,
I'm trying to understand how to access a point cloud via a plug-in I'm currently developing. After having looked that the documentation, things are not entirely clear to me. Cloud you please help me to better understand how all works.
Here is the scenario I'm looking for.
scenario 1:
I have some raw data files of a point cloud in a non supported format by CC. My reader gives me a arrays of vector3D. How would I import this cloud into CC, i.e. put this cloud in the db tree and make it visible in the viewport?
scenario 2:
I have a loaded point cloud in CC, did some manual filtering with the segment tool, and would like to retrieve the remaining points (with their attributes) once the point cloud is selected in the db tree?
I think my more general point is that I can't get the information I'm looking for (obviously). in the dummy plug-in it says
You can access to most of CC components (database, 3D views, console, etc.) via the 'm_app' attribute (ccMainAppInterface object).
I've been exploring the documentations (and looking at some plug-in code) for days now and can't find anything related to m_app or ccMainAppInterface.
I most likely missing the point here, but any pointer(s) to the right direction would be greatly appreciated.
All the best.
Antoine
I'm trying to understand how to access a point cloud via a plug-in I'm currently developing. After having looked that the documentation, things are not entirely clear to me. Cloud you please help me to better understand how all works.
Here is the scenario I'm looking for.
scenario 1:
I have some raw data files of a point cloud in a non supported format by CC. My reader gives me a arrays of vector3D. How would I import this cloud into CC, i.e. put this cloud in the db tree and make it visible in the viewport?
scenario 2:
I have a loaded point cloud in CC, did some manual filtering with the segment tool, and would like to retrieve the remaining points (with their attributes) once the point cloud is selected in the db tree?
I think my more general point is that I can't get the information I'm looking for (obviously). in the dummy plug-in it says
You can access to most of CC components (database, 3D views, console, etc.) via the 'm_app' attribute (ccMainAppInterface object).
I've been exploring the documentations (and looking at some plug-in code) for days now and can't find anything related to m_app or ccMainAppInterface.
I most likely missing the point here, but any pointer(s) to the right direction would be greatly appreciated.
All the best.
Antoine