Q: How are all VTK objects stored in the vtkUserData, as required by QQuickVTKItem documentation?
A: In the above VTK-9.1 unit test, THEY ARE NOT.
I posted this question on stackoverflow, and a user provided two more examples of QQuickVTKItem use:
- QML-VTK-Examples/HighlightPickedActor - A comment in the vtkUserData struct says “Place your persistent VTK items here” in vtkUserData, but no actual items in there.
- Joker-7-7/MultiViews - this one actually instantiates VTK objects in the vtkUserData and returns that data from initializeVTK(), as required