[vtkusers] How to implement selection with wxPython

Kang Zhao zhaokang.cn at gmail.com
Mon Jul 14 01:50:39 EDT 2014


Hi all,

I am a wxpython user and pretty new to VTK.

I need to do (1) embed VTK window into my wxPython frame and
(2)implement selection(bubber band).

I managed to do (1) by using following two classes:

https://github.com/Kitware/VTK/blob/master/Wrapping/Python/vtk/wx/wxVTKRenderWindow.py
https://github.com/Kitware/VTK/blob/master/Wrapping/Python/vtk/wx/wxVTKRenderWindowInteractor.py

For (2), by my study, *classvtkInteractorStyleRubberBandPick* can be
used, but I haven't figured out how to use it with my wxVTKRenderWindow.

Could anyone share some clue?

Thanks in advance.

Kang

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140714/4ff6623a/attachment.html>


More information about the vtkusers mailing list