Re: [wxVTK] [vtkusers] Anyone using wxVTK wxVTKRenderWindowInteractor wxWidgets VTK class?
Brought to you by:
malat
From: Mathieu M. <mat...@gm...> - 2007-08-21 15:01:23
|
On 8/21/07, H. Johnson <mi...@fa...> wrote: > All versions were the most recent as of Saturday 19 Aug 2007: wxVTK vers > 1.2, VTK vers 5.03 from CVS, ActiveTcl 8.4.15, wxWidgets 2.6.4. Because I am lazy/overbook I think there are still some patch in the wxVTK CVS that are not in any release unfortunately. That's weird, I thought that the timer thingy bug only appear after VTK 5.0. But I did it from the top of my head. > The timer warning is the only problem I have had, but haven't done > anything but the examples. ok > I'm new to VTK so didn't know about the trackball thing, but sure enough > if I hit 't' before doing anything else the problem never seems to > appear. Could you explain for this newbie a little about the > trackball? What mode am I in before I hit the 't'? Simply that VTK mimic typical behavior of such device. If you have ever played games, you have two typical behavior either pointing the joystick down will make you move down, and stop as soon as you release. Or like in a plane you have to point down, and then point up to stop the movement (This is pretty badly explain, but I did my best, sorry. Hopefully you did get the big picture). > Really important: Has anyone actually used the wxVTK bridge code on > anything that went commercial? Not that I know of. Anyone on the ML to comment on that ? I think most people using wxVTK are from academic background. Furthermore Kitware is now officially supporting Qt and KWWidget so for a comapny I think it make more sense to use those toolkits (IMHO). > Any chance that wxVTK will be upgraded > for use with the 2.8 wxWidgets branch? Please send patch ;) As far as I remember the bug was non-trivial, or require patching wx itself. I was hoping that wx 2.8.1 would include a fix (this already happen in the past on the 2.4.x branch)/ wx people are not extremely serious people, when dealing with backward compatiblity. > I'll try the other list, but it didn't look very active. Noone complains, because wxVTK is bug free :-P > Thanks for all your help. -Mathieu Old thread kept for history: > Mathieu Malaterre wrote: > > On 8/20/07, H. Johnson <mi...@fa...> wrote: > > > >> Hi, > >> I'm looking for a solution to build a VTK enabled GUI. I'm pursuing a > >> few different options, one of which is a VTK / wxWidgets combination. > >> > >> I built VTK from CVS last Saturday, and am using wxWidgets 2.6.4. in a > >> VC6.0 C++ only (no Tcl) environment. > >> > >> Sample wxVTK file wxImagePlaneWidget compiles okay, and works for the > >> most part, > >> > > > > Please describe what is not working. Please include your version of wxVTK. > > > > > >> however whenever I click outside the box a vtkOutputWindow pops up and I > >> get a > >> vtkInteractorStyleJoystickCamera (0x0390AF88): Timer start fail > >> message. > >> > > > > Yup, you are using VTK 5.x alright. Take any example using the Tcl RWI > > (on UNIX) from VTK official, you'll be able to reproduce that. > > I think VTK 5.0 should not produce this warning. > > > > > >> So, two questions. Does anyone know what the specific "Timer start > >> fail" message is all about? > >> > > > > When the API was upgraded, a bug was introduced. But I suspect no one > > saw it, as most people use another interactor style. Try the trackball > > one (press 't'). > > > > > >> And more importantly, is the wxVTKRenderWindowInteractor as it is found > >> at http://wxvtk.sourceforge.net/ a ROBUST solution to combining the two? > >> > > > > Absolutely not ! Trust me, and I know the main author of wxVTK (but > > don't tell him that). > > > > Ok seriously, I don't mean to be offended here, but at least describe > > your issues here. It is not perfect (wxVTK does not work with latest > > wxwidget 2.8.x) but I did work hard to get it working in the wx 2.4.x > > branch. 2.6.x should be ok on linux/win32. > > As a side note you could have gotten a tons more answers on the wxVTK > > mailing list, where you'll find the most heavy users of this class: > > > > http://wxvtk.sf.net/ > > [scroll to the bottom of the page] > > > > -Mathieu > > > > > >> Thanks much, > >> > >> Henry > >> _______________________________________________ > >> This is the private VTK discussion list. > >> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > >> Follow this link to subscribe/unsubscribe: > >> http://www.vtk.org/mailman/listinfo/vtkusers > >> > >> > > > > > > > > |