[vtkusers] Transparency Problem with wxVTKRenderWindowInteractor

Mathieu Malaterre mathieu.malaterre at gmail.com
Fri Jan 16 06:01:36 EST 2009


On Fri, Jan 16, 2009 at 11:57 AM, Patrick Simon
<simon at mechbau.uni-stuttgart.de> wrote:
> Mathieu Malaterre wrote:
>>
>> I would comment out the following 3 lines from your
>> wxVTKRenderWindowInteractor.py :
>>
>> if wx.Platform == "__WXGTK__":
>>     import wx.glcanvas
>>     baseClass = wx.glcanvas.GLCanvas
>>
>>
>>
> Thanks, but I still got the issues.
>
> I figured out, that the wx Interactor example throws an error that the
> other ones dont:
>
> Gtk-CRITICAL **: gtk_widget_set_colormap: assertion
> `!GTK_WIDGET_REALIZED (widget)' failed
>
> But I'm not an expert on this, so I don't know what that means.

did you check the other changes that happen since VTK 5.0 ?

Ref:
http://public.kitware.com/cgi-bin/viewcvs.cgi/Wrapping/Python/vtk/wx/wxVTKRenderWindowInteractor.py?r1=1.17&r2=1.29

-- 
Mathieu



More information about the vtkusers mailing list