Open bthetford opened 1 year ago
Hello,
That's strange... The addToRenderScene
function has been added to the May 24th version. Does the test051.py test work?
Regards, Paul
Ah of course thank you. I had downloaded the update but forgot to add it in... my bad, I have it working! A display comes up.
About the second question though, is it possible to have an interactive display come up, where the user can pan around and inspect the cloud before continuing with the code? I've done similar things with images and opencv
, where a window opens and the loop "pauses" until a certain "event" is met (a key stroke, or closing the window).
Thanks! I changed the issue name to reflect this question.
Hmm, I forgot your question, I'll check if I can implement this function. Regards, Paul
Thanks, it might not be worth the effort, I may be bleeding into just using the GUI in conjunction with running CloudComPy scripts. I have a huge number of multibeam sonar point clouds to filter noise out of, so I wrote a CloudComPy program using CSF in a loop. My thought was on each iteration after filtering, it could bring up an interactive window, so the user could pan around and make sure the data wasn't over filtered, then hit a key to continue, or re-enter new CSF parameters if needed.
Instead I may just run the filtering script on all the clouds in a folder, then throw them in the GUI to inspect, and re-do any that need it. Probably adds up to the same amount of time in the end! Beau
Hello,
For some reason I'm not able to use addToRenderScene. Any ideas?
I have read in a cloud, subsampled, applied CSF and SOR filters, and now I want to look at the cloud before saving. All other functions complete fine.
Also, is using
cloudComPy.addToRenderScene
the proper approach to achieve this? I'm filtering many clouds in a loop, and ideally, I want to pull up a CloudCompare GUI window each time to pan around and make sure the filters didn't remove to many points. Then, upon closing the window, I'd want the filtered cloud to be exported, and the loop to continue.Thank you, Beau