Hi Developers
I had some trouble getting vtkDepthImageToPointCloud to update when the camera is updated. I create instead a homemade vtkSceneSource, which contains a vtkRenderWindow and allow the user to set both a vtkCamera and a vtkRenderer. It works really well and I can use this for simulating what a camera sees in a scene for generating depth images for reconstruction.
I read an old post from David Gobbi (@dgobbi ) that it is very bad to have a pipeline residing inside a filter.
https://public.kitware.com/pipermail/vtkusers/2009-December/055773.html
Is this still the case? Just let me know
If it is still the case, I will try to fix vtkDepthImageToPointCloud or the setup that I am using.
Another thing. I have made an vtkImplicitRectangleWidget and a widget inherit from this which allows me to move a camera around in the scene, where I can enable a view of frustum. Do you have any recommendations for doing something similar with what is already available in VTK.
Thanks in advance
Jens Munk