I added milireMenu in QMenu functions that missed in original source code on master branch and i changed QtCore/QString.h to QtCore/qstring.h for Qt 5.x versions.
To use newer pcl and vtk versions, i've done some changes:
From 1.11 pcl version, boost shared pointers have been replaced with std shared pointers, so i applied these replacements in the original source code. I also added some pcl header includes that were missing.
From 9.0 vtk version, QVTKOpenGLWidget was deprecated and replaced with QVTKOpenGLNativeWidget and QVTKOpenGLStereoWidget. So in source code, i changed QVTKOpenGLWidget with QVTKOpenGLNativeWidget that is a Qt native widget and works fine in Qt applications, but doesn't support stereo rendering unlike QTVKOpenGLStereoWidget (based on QVTKOpenGLWidget but with some possible problems with some Qt actions).
Finally, i setted the create_interactor function of pcl visualizer to false because qvtkwidget previously created in source code is already an interactor and if it's created, in Linux systems 3D Forest compiled crashes when it runs with segfault message (i tried on Ubuntu 22.04 #33 and also on Fedora 37 with same problem). Then i created a new default style of pcl interactor that i've assigned to qvtkwidget, because without the creation of pcl interactor there isn't a default interactor style and then, the use of keyboard keys won't activate the related functions.
I added
milireMenu
in QMenu functions that missed in original source code on master branch and i changedQtCore/QString.h
toQtCore/qstring.h
for Qt 5.x versions. To use newer pcl and vtk versions, i've done some changes:Finally, i setted the
create_interactor
function of pcl visualizer tofalse
because qvtkwidget previously created in source code is already an interactor and if it's created, in Linux systems 3D Forest compiled crashes when it runs with segfault message (i tried on Ubuntu 22.04 #33 and also on Fedora 37 with same problem). Then i created a new default style of pcl interactor that i've assigned to qvtkwidget, because without the creation of pcl interactor there isn't a default interactor style and then, the use of keyboard keys won't activate the related functions.