wxvtk-users Mailing List for wxVTKRenderWindowInteractor (Page 11)
Brought to you by:
malat
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(7) |
Feb
|
Mar
(2) |
Apr
(12) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(7) |
Nov
(13) |
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(5) |
Jun
(6) |
Jul
(3) |
Aug
(11) |
Sep
|
Oct
(10) |
Nov
(2) |
Dec
(1) |
2007 |
Jan
(16) |
Feb
(9) |
Mar
(13) |
Apr
|
May
(7) |
Jun
(8) |
Jul
|
Aug
(14) |
Sep
|
Oct
(6) |
Nov
|
Dec
(1) |
2008 |
Jan
(20) |
Feb
(1) |
Mar
|
Apr
(20) |
May
(5) |
Jun
(11) |
Jul
|
Aug
(52) |
Sep
(2) |
Oct
(35) |
Nov
(7) |
Dec
(14) |
2009 |
Jan
(4) |
Feb
(5) |
Mar
(9) |
Apr
(19) |
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(5) |
Dec
|
2010 |
Jan
(1) |
Feb
(5) |
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
(4) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(4) |
Dec
(13) |
2012 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(9) |
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
From: Nigel N. <nN...@au...> - 2008-01-02 11:04:24
|
wxVtk and wxAUI/wxWidgets 2.8.7 are working well here Win32(XP). Is this a good time to update the wxVtk samples to show off some current wx features? The floating/docking panels of wxAUI are very impressive. Any reports from Mac (cocoa/carbon) users? Nigel -----Original Message----- From: wxv...@li... On Behalf Of Deli Geng (David) Sent: Wednesday, 2 January 2008 9:51 PM To: wxv...@li... Subject: [wxVTK] wxVTK and wxWidgets 2.8 Hi, I realized on the wxVTK web page it was claimed not to support wxWidgets 2.8= for the moment. However, I did use the wxVTKRenderWindowInteractor.cxx with= my wxWidget 2.8 application. It seemed to work ok, although I haven't teste= d it thoroughly. So I wonder if it actually supports 2.8 now, or if not, is= there anything I should be careful with? Many thanks David ----------------------------------------------------------------------------= --------- Keep up to date with what's happening in Australian sport visit http://www.a= usport.gov.au This message is intended for the addressee named and may contain confidentia= l and privileged information. If you are not the intended recipient please n= ote that any form of distribution, copying or use of this communication or t= he information in it is strictly prohibited and may be unlawful. If you rece= ive this message in error, please delete it and notify the sender. ----------------------------------------------------------------------------= --------- |
From: Deli G. \(David\) <del...@du...> - 2008-01-02 10:51:57
|
Hi, I realized on the wxVTK web page it was claimed not to support wxWidgets 2.8 for the moment. However, I did use the wxVTKRenderWindowInteractor.cxx with my wxWidget 2.8 application. It seemed to work ok, although I haven't tested it thoroughly. So I wonder if it actually supports 2.8 now, or if not, is there anything I should be careful with? Many thanks David |
From: Marco <tsu...@si...> - 2008-01-02 09:48:38
|
Mathieu Malaterre ha scritto: > I have seen those kind of weird bugs happen when there is a mismatch > of gtl version (you are including gtk 1.X at compile time, and linking > against gtk 2.x at link time...) > At some point wxGTK 2.4 had some issues, but wxGTK 2.6.3 should be fine. > The last thing I have seen is that KDE does not behave totally like > GNOME, when talking to the X11 server. I am using GNOME. > Last but not least, are you sure you configured your hardware > accelerated OpenGL driver correctly, ie can you run glxgears ? Yes, It works. Going a little bit deeper in the debugging I see it crashes trying to unregister the render window. >>> On Dec 31, 2007 12:16 PM, Marco <tsu...@si...> wrote: >>>> Dear all, >>>> >>>> I am trying to run your sample applications without any modification. >>>> Everything works fine until I close the window when the application >>>> crashes. Debugging the code, I see it crashes trying to delete the >>>> wxVTKRenderWindowInteractor in the wxFrame destructor. Any advice? >>>> Here is my system configuration: >>>> >>>> Ubuntu 7.10 >>>> Linux 2.6.22 >>>> gcc 4.1.3 >>>> vtk 5.0.3 >>>> wxGTK 2.6.3 >>>> wxVTK 1.2 |
From: Mathieu M. <mat...@gm...> - 2008-01-02 08:23:56
|
I have seen those kind of weird bugs happen when there is a mismatch of gtl version (you are including gtk 1.X at compile time, and linking against gtk 2.x at link time...) At some point wxGTK 2.4 had some issues, but wxGTK 2.6.3 should be fine. The last thing I have seen is that KDE does not behave totally like GNOME, when talking to the X11 server. Last but not least, are you sure you configured your hardware accelerated OpenGL driver correctly, ie can you run glxgears ? -Mathieu On Jan 1, 2008 11:10 PM, Marco <tsu...@si...> wrote: > wxGTK 1.X? > > Do you mean gtk 1.X? > > I have both gtk 1.2 and 2.0 installed on my system but I am using > > gtk 2.0 and wxGTK 2.6. > > > > Mathieu Malaterre ha scritto: > > Do you have a wxGTK 1.X installed on your system ? > > > > Thanks, > > -Mathieu > > > > On Dec 31, 2007 12:16 PM, Marco <tsu...@si...> wrote: > >> Dear all, > >> > >> I am trying to run your sample applications without any modification. > >> Everything works fine until I close the window when the application > >> crashes. Debugging the code, I see it crashes trying to delete the > >> wxVTKRenderWindowInteractor in the wxFrame destructor. Any advice? > >> Here is my system configuration: > >> > >> Ubuntu 7.10 > >> Linux 2.6.22 > >> gcc 4.1.3 > >> vtk 5.0.3 > >> wxGTK 2.6.3 > >> wxVTK 1.2 > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Wxvtk-users mailing list > Wxv...@li... > https://lists.sourceforge.net/lists/listinfo/wxvtk-users > -- Mathieu |
From: Marco <tsu...@si...> - 2008-01-01 22:11:07
|
wxGTK 1.X? Do you mean gtk 1.X? I have both gtk 1.2 and 2.0 installed on my system but I am using gtk 2.0 and wxGTK 2.6. Mathieu Malaterre ha scritto: > Do you have a wxGTK 1.X installed on your system ? > > Thanks, > -Mathieu > > On Dec 31, 2007 12:16 PM, Marco <tsu...@si...> wrote: >> Dear all, >> >> I am trying to run your sample applications without any modification. >> Everything works fine until I close the window when the application >> crashes. Debugging the code, I see it crashes trying to delete the >> wxVTKRenderWindowInteractor in the wxFrame destructor. Any advice? >> Here is my system configuration: >> >> Ubuntu 7.10 >> Linux 2.6.22 >> gcc 4.1.3 >> vtk 5.0.3 >> wxGTK 2.6.3 >> wxVTK 1.2 |
From: Mathieu M. <mat...@gm...> - 2008-01-01 19:52:11
|
Do you have a wxGTK 1.X installed on your system ? Thanks, -Mathieu On Dec 31, 2007 12:16 PM, Marco <tsu...@si...> wrote: > Dear all, > > I am trying to run your sample applications without any modification. > Everything works fine until I close the window when the application > crashes. Debugging the code, I see it crashes trying to delete the > wxVTKRenderWindowInteractor in the wxFrame destructor. Any advice? > Here is my system configuration: > > Ubuntu 7.10 > Linux 2.6.22 > gcc 4.1.3 > vtk 5.0.3 > wxGTK 2.6.3 > wxVTK 1.2 > > Thank you in advance, > Marco > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Wxvtk-users mailing list > Wxv...@li... > https://lists.sourceforge.net/lists/listinfo/wxvtk-users > -- Mathieu |
From: Marco <tsu...@si...> - 2007-12-31 11:17:01
|
Dear all, I am trying to run your sample applications without any modification. Everything works fine until I close the window when the application crashes. Debugging the code, I see it crashes trying to delete the wxVTKRenderWindowInteractor in the wxFrame destructor. Any advice? Here is my system configuration: Ubuntu 7.10 Linux 2.6.22 gcc 4.1.3 vtk 5.0.3 wxGTK 2.6.3 wxVTK 1.2 Thank you in advance, Marco |
From: Mathieu M. <mat...@gm...> - 2007-10-22 12:19:47
|
http://www.carbondev.com/site/?page=64-bit+Carbon Cocoa is bearly working in wx, hopefully this will soon not be the case any more... -- Mathieu |
From: Philip S. <oh...@vt...> - 2007-10-18 23:39:37
|
Eer. I forgot to take out the std::cout statement... Please delete it. On Thursday 18 October 2007 1:41 pm, Philip Schuchardt wrote: > Ahh, Yea. It's Good that you pointed that out. > > It's a little dangerous because it takes the -- last -- wxMouse events > modifiers. No, you can't check wxMouse event in OnMouseWheelIdle because > it uses the net result of many wxMouse events. Also, OnMouseWheelIdle > takes an wxIdleEvent and not a wxMouseEvent. From my testing, it works > well. I was not physical quick enough to change the modifier between wheel > events. Originally, I was going to handle that case. After testing it, I > didn't feel that it was nessary. > > I've attached an updated version that supports accumulation of modifiers. > > Thanks, > Philip Schuchardt > > On Thursday 18 October 2007 11:08 am, Mathieu Malaterre wrote: > > Hi Philip, > > > > I am looking at your code, and I am not sure why you are doing this: > > ... > > + //Modifiers > > + shiftDown = event.ShiftDown(); > > + ctrlDown = event.ControlDown(); > > ... > > > > Isn't it a bit dangerous to store modifiers. Are you sure that it > > will work even after a OnLeave/OnEnter ? Why can't we check them again > > from OnMouseWheelIdle, are they lost ? > > > > Thanks, > > -Mathieu > > > > On 10/18/07, Nigel Nunn <nN...@au...> wrote: > > > Hi Philip, > > > > > > > I changed the wheel mouse code to accumulate wheelmouse events. > > > > This makes the wheel mouse more fluid. > > > > > > > > Philip Schuchardt > > > > > > Thanks -- nice adjustment! > > > Nigel > > > > > > > > > -----Original Message----- > > > From: wxv...@li... > > > On Behalf Of Philip Schuchardt > > > Sent: Thursday, 18 October 2007 12:59 AM > > > To: wxVTK Mail List > > > Subject: [wxVTK] Wheel mouse code update > > > > > > > > > > > > ----------------------------------------------------------------------- > > >-- This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a browser. > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > _______________________________________________ > > > Wxvtk-users mailing list > > > Wxv...@li... > > > https://lists.sourceforge.net/lists/listinfo/wxvtk-users |
From: Philip S. <oh...@vt...> - 2007-10-18 17:41:18
|
Ahh, Yea. It's Good that you pointed that out. It's a little dangerous because it takes the -- last -- wxMouse events modifiers. No, you can't check wxMouse event in OnMouseWheelIdle because it uses the net result of many wxMouse events. Also, OnMouseWheelIdle takes an wxIdleEvent and not a wxMouseEvent. From my testing, it works well. I was not physical quick enough to change the modifier between wheel events. Originally, I was going to handle that case. After testing it, I didn't feel that it was nessary. I've attached an updated version that supports accumulation of modifiers. Thanks, Philip Schuchardt On Thursday 18 October 2007 11:08 am, Mathieu Malaterre wrote: > Hi Philip, > > I am looking at your code, and I am not sure why you are doing this: > ... > + //Modifiers > + shiftDown = event.ShiftDown(); > + ctrlDown = event.ControlDown(); > ... > > Isn't it a bit dangerous to store modifiers. Are you sure that it > will work even after a OnLeave/OnEnter ? Why can't we check them again > from OnMouseWheelIdle, are they lost ? > > Thanks, > -Mathieu > > On 10/18/07, Nigel Nunn <nN...@au...> wrote: > > Hi Philip, > > > > > I changed the wheel mouse code to accumulate wheelmouse events. > > > This makes the wheel mouse more fluid. > > > > > > Philip Schuchardt > > > > Thanks -- nice adjustment! > > Nigel > > > > > > -----Original Message----- > > From: wxv...@li... > > On Behalf Of Philip Schuchardt > > Sent: Thursday, 18 October 2007 12:59 AM > > To: wxVTK Mail List > > Subject: [wxVTK] Wheel mouse code update > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Wxvtk-users mailing list > > Wxv...@li... > > https://lists.sourceforge.net/lists/listinfo/wxvtk-users |
From: Mathieu M. <mat...@gm...> - 2007-10-18 15:08:31
|
Hi Philip, I am looking at your code, and I am not sure why you are doing this: ... + //Modifiers + shiftDown = event.ShiftDown(); + ctrlDown = event.ControlDown(); ... Isn't it a bit dangerous to store modifiers. Are you sure that it will work even after a OnLeave/OnEnter ? Why can't we check them again from OnMouseWheelIdle, are they lost ? Thanks, -Mathieu On 10/18/07, Nigel Nunn <nN...@au...> wrote: > Hi Philip, > > > I changed the wheel mouse code to accumulate wheelmouse events. > > This makes the wheel mouse more fluid. > > > > Philip Schuchardt > > > Thanks -- nice adjustment! > Nigel > > > -----Original Message----- > From: wxv...@li... > On Behalf Of Philip Schuchardt > Sent: Thursday, 18 October 2007 12:59 AM > To: wxVTK Mail List > Subject: [wxVTK] Wheel mouse code update > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Wxvtk-users mailing list > Wxv...@li... > https://lists.sourceforge.net/lists/listinfo/wxvtk-users > -- Mathieu |
From: Nigel N. <nN...@au...> - 2007-10-18 14:53:33
|
Hi Philip, > I changed the wheel mouse code to accumulate wheelmouse events. =20 > This makes the wheel mouse more fluid. >=20 > Philip Schuchardt Thanks -- nice adjustment! Nigel -----Original Message----- From: wxv...@li... On Behalf Of Philip Schuchardt Sent: Thursday, 18 October 2007 12:59 AM To: wxVTK Mail List Subject: [wxVTK] Wheel mouse code update |
From: Philip S. <oh...@vt...> - 2007-10-17 14:56:04
|
I changed the wheel mouse code to accumulate wheelmouse events. This makes the wheel mouse more fluid. Philip Schuchardt |
From: Mathieu M. <mat...@gm...> - 2007-08-27 09:07:16
|
Hi Nigel, That indeed looks very interesting. Do you have a sf.net user account ? Thanks -Mathieu On 8/26/07, Nigel Nunn <nN...@au...> wrote: > > > > Hi Mathieu, > > RE: wxVTK on ohloh > > > I had some time to loose: > > And many of us do appreciate your time, so very well lost, Sir! > > Some news from the ranks: > > When Kitware released their new Qt-based Paraview v.3, I thought > it would be a good time to compare options for my new simulation > GUI, and looked again at Qt. This seemed much like I remember, > quite useable and apparently now available to Visual Studio 2005 > addicts like myself. > > Then I took a fresh look at wx. What a delight to find that wxAUI > has been fully realized! A few hours reading their Forum, a few > more setting up some panels for the framework to manage, a couple > more to clip in wxVtk, and I had a great little starter template > for the new simulation GUI. > > Then I thought "What if I had found something like this when fishing > about for a starting point for creating a Vtk-enabled workspace?". > So, since this uses the current codes (wxVtk, Vtk 5.0.3, wx 2.8.4) > under Visual Studio 2005 /SP1, perhaps we could turn it into to a > fresh sample to include at http://wxvtk.sourceforge.net/ ? > > thanks again, > Nigel > > > > -----Original Message----- > From: wxv...@li... > [On Behalf Of Mathieu Malaterre] > Sent: Sunday, 26 August 2007 9:09 PM > To: wxVTK Mail List > Subject: [wxVTK] wxVTK on ohloh > > > I had some time to loose: > > http://www.ohloh.net/projects/7907?p=wxVTK > > wxVTK is estimated at around 17,000 dollars =O > > -- > Mathieu > > > -- Mathieu |
From: Mathieu M. <mat...@gm...> - 2007-08-26 11:08:43
|
I had some time to loose: http://www.ohloh.net/projects/7907?p=wxVTK wxVTK is estimated at around 17,000 dollars =O -- Mathieu |
From: Sander N. <nie...@st...> - 2007-08-22 13:33:54
|
Hi Mathieu, On 22-aug-2007, at 15:15, Mathieu Malaterre wrote: > Can I ask just one quick question, about the OnKeyUp/OnChar thingy. > Did you notice that capital letter were being passed ? In our implementation we don't have capitalization issues (for the OnChar). However, mind that we are currently only testing this against wxPython 2.8 and VTK 5. So capitalization issues may be present with older wxWidgets/VTK versions. > Patch will be merged tonight. Be careful here. Since we haven't tested against older wxWidgets/VTK versions you may break backward compatibility by including this patch. Best regards, Sander |
From: Mathieu M. <mat...@gm...> - 2007-08-22 13:15:04
|
Hi Sander, Wow ! That is fantastic, thank you so much for the patch ! Can I ask just one quick question, about the OnKeyUp/OnChar thingy. Did you notice that capital letter were being passed ? Patch will be merged tonight. Thanks again, -Mathieu On 8/22/07, Sander Niemeijer <nie...@st...> wrote: > At our company we are currently using the wxVTK package. > > We use wxWidgets/VTK for the development of an ESA-funded open-source > application called VISAN (part of the BEAT toolbox: http:// > www.stcorp.nl/beat). > The current public available version of VISAN uses some hand-crafted > wxVTK bridge with Python bindings, but internally we have now moved > to wxPython 2.8, VTK 5 and wxVTK (since we moved more stuff to C++ > and wanted to include support for Gtk2 and Mac OS X Carbon). We are > now able to create working binaries for Windows, Linux (Gtk2), and > Mac OS X (Carbon). A new release of VISAN with these changes is due > in September. > > In order to get things to work we had to patch the wxVTK sources. > Attached you will find the patch that we used. > The primary change that we made in order to get wxVTK to work with > wxWidgets 2.8 was to move back to using wxGLCanvas again (i.e. remove > the '#if (!wxCHECK_VERSION(2, 8, 0))'). > > The timer warning is something we haven't seen. But we are using our > own interactor styles for most of our visualisations anyway, so that > may be the reason. > > > > Best regards, > Sander Niemeijer > > On 21-aug-2007, at 16:59, Mathieu Malaterre wrote: > > > 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 > >>>> > >>>> > >>> > >>> > >>> > >> > >> > > > > ---------------------------------------------------------------------- > > --- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a > > browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Wxvtk-users mailing list > > Wxv...@li... > > https://lists.sourceforge.net/lists/listinfo/wxvtk-users > > > > -- Mathieu |
From: Sander N. <nie...@st...> - 2007-08-22 07:54:56
|
At our company we are currently using the wxVTK package. We use wxWidgets/VTK for the development of an ESA-funded open-source application called VISAN (part of the BEAT toolbox: http:// www.stcorp.nl/beat). The current public available version of VISAN uses some hand-crafted wxVTK bridge with Python bindings, but internally we have now moved to wxPython 2.8, VTK 5 and wxVTK (since we moved more stuff to C++ and wanted to include support for Gtk2 and Mac OS X Carbon). We are now able to create working binaries for Windows, Linux (Gtk2), and Mac OS X (Carbon). A new release of VISAN with these changes is due in September. In order to get things to work we had to patch the wxVTK sources. Attached you will find the patch that we used. The primary change that we made in order to get wxVTK to work with wxWidgets 2.8 was to move back to using wxGLCanvas again (i.e. remove the '#if (!wxCHECK_VERSION(2, 8, 0))'). The timer warning is something we haven't seen. But we are using our own interactor styles for most of our visualisations anyway, so that may be the reason. |
From: Mathieu M. <mat...@gm...> - 2007-08-21 19:45:07
|
Hi Cem, Are you sure you read the README file ? It looks like you are mixing static and shared in between your wxwidget build and vtk build. Please check with the README file on what you should do. Thanks -Mathieu On 8/11/07, Cem DEMiRKIR <cde...@gm...> wrote: > > > Dear wxVTK users > How can I build wxVTK with wxWidgets 2.8.4 ? I've got the following > compiling errors when building wxVTK ? > > Best wishes > Cem DEMiRKIR > > My Configuration : winXP SP2, vs2005 VC8.0 > > ----- Build started: Project: wxSample, Configuration: Debug Win32 ------ > > Compiling... > > wxVTKRenderWindowInteractor.cxx > > z:\libraries\wxvtk\wxvtk\src\wxVTKRenderWindowInteractor.h(87) > : warning C4275: non dll-interface class 'wxWindow' used as base for > dll-interface class 'wxVTKRenderWindowInteractor' > > Z:\Libraries\wxWidgets\include\wx/msw/window.h(33) : see > declaration of 'wxWindow' > > z:\libraries\wxvtk\wxvtk\src\wxVTKRenderWindowInteractor.h(87) > : see declaration of 'wxVTKRenderWindowInteractor' > > ..\src\wxVTKRenderWindowInteractor.cxx(86) : warning C4273: > 'ms_classInfo' : inconsistent dll linkage > > z:\libraries\wxvtk\wxvtk\src\wxVTKRenderWindowInteractor.h(90) > : see previous definition of 'public: static wxClassInfo > wxVTKRenderWindowInteractor::ms_classInfo' > > ..\src\wxVTKRenderWindowInteractor.cxx(86) : error C2491: > 'wxVTKRenderWindowInteractor::ms_classInfo' : definition of > dllimport static data member not allowed > > ..\src\wxVTKRenderWindowInteractor.cxx(86) : warning C4273: > 'wxVTKRenderWindowInteractor::GetClassInfo' : inconsistent > dll linkage > > z:\libraries\wxvtk\wxvtk\src\wxVTKRenderWindowInteractor.h(90) > : see previous definition of 'GetClassInfo' > > ..\src\wxVTKRenderWindowInteractor.cxx(86) : warning C4273: > 'wxVTKRenderWindowInteractor::wxCreateObject' : > inconsistent dll linkage > > z:\libraries\wxvtk\wxvtk\src\wxVTKRenderWindowInteractor.h(90) > : see previous definition of 'wxCreateObject' > > ..\src\wxVTKRenderWindowInteractor.cxx(93) : warning C4273: > 'sm_eventTable' : inconsistent dll linkage > > z:\libraries\wxvtk\wxvtk\src\wxVTKRenderWindowInteractor.h(167) > : see previous definition of 'protected: static wxEventTable const > wxVTKRenderWindowInteractor::sm_eventTable' > > ..\src\wxVTKRenderWindowInteractor.cxx(93) : error C2491: > 'wxVTKRenderWindowInteractor::sm_eventTable' : definition > of dllimport static data member not allowed > > ..\src\wxVTKRenderWindowInteractor.cxx(93) : warning C4273: > 'wxVTKRenderWindowInteractor::GetEventTable' : inconsistent > dll linkage > > z:\libraries\wxvtk\wxvtk\src\wxVTKRenderWindowInteractor.h(167) > : see previous definition of 'GetEventTable' > > ..\src\wxVTKRenderWindowInteractor.cxx(93) : warning C4273: > 'sm_eventHashTable' : inconsistent dll linkage > > z:\libraries\wxvtk\wxvtk\src\wxVTKRenderWindowInteractor.h(167) > : see previous definition of 'protected: static wxEventHashTable > wxVTKRenderWindowInteractor::sm_eventHashTable' > > ....... > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Wxvtk-users mailing list > Wxv...@li... > https://lists.sourceforge.net/lists/listinfo/wxvtk-users > > -- Mathieu |
From: Catherine P. <cep...@gm...> - 2007-08-21 17:28:48
|
Mathieu, You are correct, the version of GTK I was using differed from that needed by wxWidgets. I have corrected this issue and everything is working. Thank you, Catherine On 8/21/07, Mathieu Malaterre <mat...@gm...> wrote: > On 8/20/07, Catherine Peloquin <cep...@gm...> wrote: > > Mathieu, > > > > Thank you for the quick response. I get the message "Command not > > found." when I try to use those commands. > > Ok then :) > You have to use either `locate` or `find` to find those commands. > Anyway my goal here is that I suspect you have a wx lib configured for > gtk2, but for some reason you have some gtk1.2. Who installed your > local version of wx windows (path indicate that it is in /usr/local), > which means you did not use your vendor package (debian, redhat). > > > I did realize that my last e-mail neglected to mention that I > > originally had issues finding PkgConfig. I changed CMakeLists.txt so > > it looks for GTK instead (as you instructed in response to Tim > > Hutton's message to the mailing list entitled "[wxVTK] [CMake] CMake > > error: PkgConfig" ), and am now getting the previous declaration > > errors. > > Ouch ! > Alright then: > * What is your version of cmake ? > * What is your version of wxwidget (see previous email) ? > * What is your version of gtk ? > * What gtk version is used for your wxwidget lib ? > * What is your distro (debian, redhat...) ? > * What version of wxVTK are you using ? If possible please take the > one from CVS. > > If you do not understand the above questions, please go grab your > sysadmin. Or whoever installed your wxwidget lib in /usr/local. > > Thanks > -Mathieu > |
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 > >> > >> > > > > > > > > |
From: Mathieu M. <mat...@gm...> - 2007-08-21 08:56:42
|
On 8/20/07, Catherine Peloquin <cep...@gm...> wrote: > Mathieu, > > Thank you for the quick response. I get the message "Command not > found." when I try to use those commands. Ok then :) You have to use either `locate` or `find` to find those commands. Anyway my goal here is that I suspect you have a wx lib configured for gtk2, but for some reason you have some gtk1.2. Who installed your local version of wx windows (path indicate that it is in /usr/local), which means you did not use your vendor package (debian, redhat). > I did realize that my last e-mail neglected to mention that I > originally had issues finding PkgConfig. I changed CMakeLists.txt so > it looks for GTK instead (as you instructed in response to Tim > Hutton's message to the mailing list entitled "[wxVTK] [CMake] CMake > error: PkgConfig" ), and am now getting the previous declaration > errors. Ouch ! Alright then: * What is your version of cmake ? * What is your version of wxwidget (see previous email) ? * What is your version of gtk ? * What gtk version is used for your wxwidget lib ? * What is your distro (debian, redhat...) ? * What version of wxVTK are you using ? If possible please take the one from CVS. If you do not understand the above questions, please go grab your sysadmin. Or whoever installed your wxwidget lib in /usr/local. Thanks -Mathieu |
From: Catherine P. <cep...@gm...> - 2007-08-20 21:36:58
|
Mathieu, Thank you for the quick response. I get the message "Command not found." when I try to use those commands. I did realize that my last e-mail neglected to mention that I originally had issues finding PkgConfig. I changed CMakeLists.txt so it looks for GTK instead (as you instructed in response to Tim Hutton's message to the mailing list entitled "[wxVTK] [CMake] CMake error: PkgConfig" ), and am now getting the previous declaration errors. Catherine > > On 8/20/07, Mathieu Malaterre <mat...@gm...> wrote: > > Hi Catherine, > > > > Can you send us the output of the following two commands: > > > > $ wx-config --libs > > $ wx-config --cppflags > > > > Thanks > > -Mathieu > > > > On 8/20/07, Catherine Peloquin <cep...@gm...> wrote: > > > Hello all, > > > > > > I am a new user to wxVTKRenderWindowInteractor. I generated a > > > makefile using ccmake without issues, but cannot get the example codes > > > provided with wxVTKRenderWindowInteractor to compile correctly. > > > > > > I am getting the error messages: > > > In file included from /usr/include/gtk-1.2/gdk/gdkprivate.h:33, > > > from /usr/include/gtk-1.2/gdk/gdkx.h:30, > > > from wxVTKRenderWindowInteractor.cpp:54: > > > /usr/include/gtk-1.2/gdk/gdktypes.h:52: error: conflicting declaration > > > 'typedef gulong GdkAtom' > > > /usr/local/wxWidgets-2.8.3/include/wx-2.8/wx/defs.h:2744: error: > > > 'GdkAtom' has a previous declaration as `typedef struct > > > _GdkAtom*GdkAtom' > > > /usr/include/gtk-1.2/gdk/gdktypes.h:52: error: declaration of `typedef > > > gulong GdkAtom' > > > /usr/local/wxWidgets-2.8.3/include/wx-2.8/wx/defs.h:2744: error: > > > conflicts with previous declaration `typedef struct _GdkAtom*GdkAtom' > > > /usr/include/gtk-1.2/gdk/gdktypes.h:52: error: declaration of `typedef > > > gulong GdkAtom' > > > /usr/local/wxWidgets-2.8.3/include/wx-2.8/wx/defs.h:2744: error: > > > conflicts with previous declaration `typedef struct _GdkAtom*GdkAtom' > > > /usr/include/gtk-1.2/gdk/gdktypes.h:57: error: conflicting declaration > > > 'typedef struct _GdkWindow GdkWindow' > > > ...and so on. > > > > > > Does anyone have any suggestions as to what I can to to resolve these errors? > > > > > > Thanks, > > > Catheirne Peloquin > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a browser. > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > _______________________________________________ > > > Wxvtk-users mailing list > > > Wxv...@li... > > > https://lists.sourceforge.net/lists/listinfo/wxvtk-users > > > > > > > > > -- > > Mathieu > > > |
From: Mathieu M. <mat...@gm...> - 2007-08-20 16:04:14
|
Hi Catherine, Can you send us the output of the following two commands: $ wx-config --libs $ wx-config --cppflags Thanks -Mathieu On 8/20/07, Catherine Peloquin <cep...@gm...> wrote: > Hello all, > > I am a new user to wxVTKRenderWindowInteractor. I generated a > makefile using ccmake without issues, but cannot get the example codes > provided with wxVTKRenderWindowInteractor to compile correctly. > > I am getting the error messages: > In file included from /usr/include/gtk-1.2/gdk/gdkprivate.h:33, > from /usr/include/gtk-1.2/gdk/gdkx.h:30, > from wxVTKRenderWindowInteractor.cpp:54: > /usr/include/gtk-1.2/gdk/gdktypes.h:52: error: conflicting declaration > 'typedef gulong GdkAtom' > /usr/local/wxWidgets-2.8.3/include/wx-2.8/wx/defs.h:2744: error: > 'GdkAtom' has a previous declaration as `typedef struct > _GdkAtom*GdkAtom' > /usr/include/gtk-1.2/gdk/gdktypes.h:52: error: declaration of `typedef > gulong GdkAtom' > /usr/local/wxWidgets-2.8.3/include/wx-2.8/wx/defs.h:2744: error: > conflicts with previous declaration `typedef struct _GdkAtom*GdkAtom' > /usr/include/gtk-1.2/gdk/gdktypes.h:52: error: declaration of `typedef > gulong GdkAtom' > /usr/local/wxWidgets-2.8.3/include/wx-2.8/wx/defs.h:2744: error: > conflicts with previous declaration `typedef struct _GdkAtom*GdkAtom' > /usr/include/gtk-1.2/gdk/gdktypes.h:57: error: conflicting declaration > 'typedef struct _GdkWindow GdkWindow' > ...and so on. > > Does anyone have any suggestions as to what I can to to resolve these errors? > > Thanks, > Catheirne Peloquin > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Wxvtk-users mailing list > Wxv...@li... > https://lists.sourceforge.net/lists/listinfo/wxvtk-users > -- Mathieu |
From: Catherine P. <cep...@gm...> - 2007-08-20 15:46:29
|
Hello all, I am a new user to wxVTKRenderWindowInteractor. I generated a makefile using ccmake without issues, but cannot get the example codes provided with wxVTKRenderWindowInteractor to compile correctly. I am getting the error messages: In file included from /usr/include/gtk-1.2/gdk/gdkprivate.h:33, from /usr/include/gtk-1.2/gdk/gdkx.h:30, from wxVTKRenderWindowInteractor.cpp:54: /usr/include/gtk-1.2/gdk/gdktypes.h:52: error: conflicting declaration 'typedef gulong GdkAtom' /usr/local/wxWidgets-2.8.3/include/wx-2.8/wx/defs.h:2744: error: 'GdkAtom' has a previous declaration as `typedef struct _GdkAtom*GdkAtom' /usr/include/gtk-1.2/gdk/gdktypes.h:52: error: declaration of `typedef gulong GdkAtom' /usr/local/wxWidgets-2.8.3/include/wx-2.8/wx/defs.h:2744: error: conflicts with previous declaration `typedef struct _GdkAtom*GdkAtom' /usr/include/gtk-1.2/gdk/gdktypes.h:52: error: declaration of `typedef gulong GdkAtom' /usr/local/wxWidgets-2.8.3/include/wx-2.8/wx/defs.h:2744: error: conflicts with previous declaration `typedef struct _GdkAtom*GdkAtom' /usr/include/gtk-1.2/gdk/gdktypes.h:57: error: conflicting declaration 'typedef struct _GdkWindow GdkWindow' ...and so on. Does anyone have any suggestions as to what I can to to resolve these errors? Thanks, Catheirne Peloquin |