I came across the VTKU3DExporter module, which allows exporting a VTK scene to the U3D file format. I would like to use the generated U3D file for including in 3D PDFs.
I have successfully built this module independently and tested it with a demo scene—it worked as expected. I’m now looking for an official way to integrate this module into Slicer.
I’m happy to provide more details about how I built the module independently.
You could do this by making a SuperBuild extension so the C++ code and python wrappings are build and packaged for all platforms. If this is a well-implemented VTK module that should be fairly straightforward. You can look at other extensions to get ideas.
@alientex To follow-up, you should be able to integrate the module into your extension and/or custom application following an approach like the on used in SlicerVirtualReality.