Is there a better solution?
QVTKOpenGLNativeWidget supports rendering volumes with vtkSmartVolumeMapper. See SmartVolumeMapper example for an example usage of vtkSmartVolumeMapper.
The only difference would be the render window. Use vtkGenericOpenGLRenderWindow and set it to the widget via QVTKOpenGLNativeWidget::setRenderWindow.
hello, the github is missed. can you offer the code of use vtksmartvolumemapper and QVTKOpenGLNativeWidget to show the data by gpu?

