I successfully wrote a LidarView plugin (in Windows) by following the structure of the current plugins.
Still, I have a few issues that can make my further work easier.
- The structure of the plugin is complex, something like this:
(LidarView_source_root) Plugins 1st_lvl_plugin_dir CMakeLists.txt Plugin CMakeLists.txt paraview.plugin 3rd_lvl_plugin_dir CMakeLists.txt vtk.module 4th_lvl_plugin_dir(s) *.cxx *.h (other source file)
Is this essential? Are all files needed? Or can it be simpler?
- Where is the right place to add “include directories” and how?
Specifically - I want to add include paths to: lqHelper.h from LVCore and pqApplicationCore.h from ParaView. Could these be referred to by a predefined CMake variable?
- To make the plugin compile I had to manually edit the CMake files of Paraview. Is there a proper way to pass variables to Paraview build from LidarView’s cmake configuration\command?
- About the newly released Lidarview version, I can’t find an offline installer for Qt 5.15.7 either in the url you mentioned in the LidarView_Developer_Guide.md, nor on the Qt site. Building this version of Qt from source code gave a directory structure that is difficult to include.