vtkOpenGLGPUVolumeRayCastMapper PreRender end Error on readding volumes
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
First off, I am using the Java Wrappers of vtk, if this might be of any use.
Problem: I have a Program where the user can switch between the volumes to be rendered. For this I call renderer.RemoveAllVolumes(); ... volume = getVolume(); // this will actually get the same volume, they are cached, if the user decides to display the same volume again ... renderer.AddVolume(volume);
If using the vtkOpenGLGPUVolumeRayCastMapper, the user first adds a new volume, than goes back to the original volume, I get the following error:
PreRender end (x502) Invalid Operation
which I have tracked down to originate from the vtkOpenGLGPUVolumeRayCastMapper.
This does not crash the System, it still works fine.
So far I could only recreate this on a Linux System, maybe later I can try it on a Win System.