[vtkusers] QVTKWidget and MacOS problems

Nick Patterson pattersonnp at gmail.com
Tue Dec 2 08:40:04 EST 2014


Dear all,

To demonstrate the issue that I am having, I will refer to the FourPaneViewer example that is bundled with VTK. This example replicates the issue that I am experiencing in my own application but only on the MacOS platform.

The attached image shows that the CT renders in the windows, but noticeably they only occupy the botton left corner of the QVTKWidget. This is not seen when compiling this example on Linux, but is a problem on MacOS.

The ouput on the command line that accompanies this behaviour is:-
ERROR: In /opt/SOURCE/VTK/6.10.0/Rendering/OpenGL/vtkOpenGLRenderer.cxx, line 1202
vtkOpenGLRenderer (0x7fe502289a90): failed after Clear 1 OpenGL errors detected
  0 : (1286) Invalid framebuffer operation


ERROR: In /opt/SOURCE/VTK/6.10.0/Rendering/OpenGL/vtkOpenGLDisplayListPainter.cxx, line 188
vtkOpenGLDisplayListPainter (0x7fe5022b0c40): failed after RenderInternal 1 OpenGL errors detected
  0 : (1286) Invalid framebuffer operation


ERROR: In /opt/SOURCE/VTK/6.10.0/Rendering/OpenGL/vtkOpenGLDisplayListPainter.cxx, line 188
vtkOpenGLDisplayListPainter (0x7fe500f1ae00): failed after RenderInternal 1 OpenGL errors detected
  0 : (1286) Invalid framebuffer operation


ERROR: In /opt/SOURCE/VTK/6.10.0/Common/ExecutionModel/vtkTrivialProducer.cxx, line 279
vtkTrivialProducer (0x7fe5022861b0): This data object does not contain the requested extent.

Nickys-MacBook-Pro:FourPaneViewer-build nppatt$ ./QtVTKRenderWindows ~/ClinicalData/LiverInsertPhantom/CT/
ERROR: In /opt/SOURCE/VTK/6.10.0/Rendering/OpenGL/vtkOpenGLRenderer.cxx, line 1202
vtkOpenGLRenderer (0x7fee4ae52be0): failed after Clear 1 OpenGL errors detected
  0 : (1286) Invalid framebuffer operation


ERROR: In /opt/SOURCE/VTK/6.10.0/Rendering/OpenGL/vtkOpenGLImageSliceMapper.cxx, line 574
vtkOpenGLImageSliceMapper (0x7fee4ae08b10): failed after RenderPolygon 1 OpenGL errors detected
  0 : (1286) Invalid framebuffer operation


ERROR: In /opt/SOURCE/VTK/6.10.0/Rendering/OpenGL/vtkOpenGLImageSliceMapper.cxx, line 574
vtkOpenGLImageSliceMapper (0x7fee4ae08b10): failed after RenderPolygon 1 OpenGL errors detected
  0 : (1286) Invalid framebuffer operation


ERROR: In /opt/SOURCE/VTK/6.10.0/Rendering/OpenGL/vtkOpenGLRenderer.cxx, line 1202
vtkOpenGLRenderer (0x7fee4ae98e60): failed after Clear 1 OpenGL errors detected
  0 : (1286) Invalid framebuffer operation


ERROR: In /opt/SOURCE/VTK/6.10.0/Rendering/OpenGL/vtkOpenGLImageSliceMapper.cxx, line 574
vtkOpenGLImageSliceMapper (0x7fee4ae94f90): failed after RenderPolygon 1 OpenGL errors detected
  0 : (1286) Invalid framebuffer operation



All of this behaviour also affects mouse interactions (i.e. if I try to maniulate the cross-hairs, the mouse position is completely off.

Can anyone provide advice on the this, specifically for MacOS?

Regards, Nick.




========================================================================
Dr Nick Patterson MPhys PhD PGCE AMInstP
Department of Medical Physics
Velindre Cancer Centre
Whitchurch
Cardiff
CF24 2TL

NHS-email: nick.patterson at wales.nhs.uk
Preferred email (off-site access/regularly accessed): pattersonnp.work at gmail.com
==========================================================================


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20141202/7f842b42/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2014-12-02 at 14.22.22.png
Type: image/png
Size: 153693 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20141202/7f842b42/attachment-0001.png>


More information about the vtkusers mailing list