wxvtk-users Mailing List for wxVTKRenderWindowInteractor (Page 6)
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: Mathieu M. <mat...@gm...> - 2008-10-21 14:15:51
|
On Tue, Oct 21, 2008 at 3:52 PM, genesy genesy <ge...@gm...> wrote: > Hi, > > I compiled my VTK with VTK_USE_HYBRID=ON > and this was sufficient to fulfill the requirements. > > In linking phase I receive this: > > [ 8%] Building CXX object > CMakeFiles/wxImagePlaneWidget.dir/Sample/wxImagePlaneWidget.cxx.o > [ 16%] Building CXX object > CMakeFiles/wxImagePlaneWidget.dir/src/wxVTKRenderWindowInteractor.cxx.o > Linking CXX executable > bin/wxImagePlaneWidget.app/Contents/MacOS/wxImagePlaneWidget > /usr/bin/ld: Undefined symbols: > vtkImagePlaneWidget::SetSliceIndex(int) > vtkImagePlaneWidget::GetWindowLevel(double*) > vtkImagePlaneWidget::GetResliceOutput() > vtkImagePlaneWidget::SetSlicePosition(double) > vtkImagePlaneWidget::SetPlaneOrientation(int) > vtkImagePlaneWidget::SetResliceInterpolate(int) > vtkImagePlaneWidget::New() > vtkImagePlaneWidget::SetPicker(vtkCellPicker*) > > What is wrong ? $ cvs ci -m"COMP: fix comp on vtk 4.4" CMakeLists.txt ~/Projects/wxVTK Checking in CMakeLists.txt; /cvsroot/wxvtk/wxVTK/CMakeLists.txt,v <-- CMakeLists.txt new revision: 1.33; previous revision: 1.32 done Mailing wxv...@li...... Generating notification message... Generating notification message... done. fixed thanks ! -- Mathieu |
From: Mathieu M. <ma...@us...> - 2008-10-21 14:15:41
|
Update of /cvsroot/wxvtk/wxVTK In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv27448 Modified Files: CMakeLists.txt Log Message: COMP: fix comp on vtk 4.4 Index: CMakeLists.txt =================================================================== RCS file: /cvsroot/wxvtk/wxVTK/CMakeLists.txt,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** CMakeLists.txt 21 Oct 2008 08:12:20 -0000 1.32 --- CMakeLists.txt 21 Oct 2008 14:15:28 -0000 1.33 *************** *** 115,118 **** --- 115,120 ---- IF( "${VTK_MAJOR_VERSION}" STREQUAL "5") LINK_LIBRARIES( vtkWidgets ) + ELSE( "${VTK_MAJOR_VERSION}" STREQUAL "5") + LINK_LIBRARIES( vtkHybrid ) ENDIF( "${VTK_MAJOR_VERSION}" STREQUAL "5") |
From: genesy g. <ge...@gm...> - 2008-10-21 13:52:14
|
Hi, I compiled my VTK with VTK_USE_HYBRID=ON and this was sufficient to fulfill the requirements. In linking phase I receive this: [ 8%] Building CXX object CMakeFiles/wxImagePlaneWidget.dir/Sample/wxImagePlaneWidget.cxx.o [ 16%] Building CXX object CMakeFiles/wxImagePlaneWidget.dir/src/wxVTKRenderWindowInteractor.cxx.o Linking CXX executable bin/wxImagePlaneWidget.app/Contents/MacOS/wxImagePlaneWidget /usr/bin/ld: Undefined symbols: vtkImagePlaneWidget::SetSliceIndex(int) vtkImagePlaneWidget::GetWindowLevel(double*) vtkImagePlaneWidget::GetResliceOutput() vtkImagePlaneWidget::SetSlicePosition(double) vtkImagePlaneWidget::SetPlaneOrientation(int) vtkImagePlaneWidget::SetResliceInterpolate(int) vtkImagePlaneWidget::New() vtkImagePlaneWidget::SetPicker(vtkCellPicker*) What is wrong ? thanks G. |
From: Mathieu M. <ma...@us...> - 2008-10-21 08:12:33
|
Update of /cvsroot/wxvtk/wxVTK In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv5098 Modified Files: CMakeLists.txt Log Message: DOC: fix comment Index: CMakeLists.txt =================================================================== RCS file: /cvsroot/wxvtk/wxVTK/CMakeLists.txt,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** CMakeLists.txt 20 Oct 2008 12:41:16 -0000 1.31 --- CMakeLists.txt 21 Oct 2008 08:12:20 -0000 1.32 *************** *** 18,22 **** IF(NOT VTK_USE_HYBRID) ! MESSAGE(FATAL_ERROR "You need to turn VTK_USE_HYBRID ON to vtkImagePlaneWidget.h") ENDIF(NOT VTK_USE_HYBRID) --- 18,22 ---- IF(NOT VTK_USE_HYBRID) ! MESSAGE(FATAL_ERROR "You need to turn VTK_USE_HYBRID:ON (for vtkImagePlaneWidget.h)") ENDIF(NOT VTK_USE_HYBRID) |
From: genesy g. <ge...@gm...> - 2008-10-21 07:08:58
|
Hi all, when I do ccmake I receive this message: CMake Error at CMakeLists.txt:20 (MESSAGE): You need to turn VTK_USE_HYBRID ON to vtkImagePlaneWidget.h thanks a lot for your help! SO: MacOsX 10.4.11 xcode: 2.4.1 gcc version: 4.0.1 wx-config --version-full : 2.6.3.1 VTK 4.4 Carbon ccmake version 2.6-patch 1 G. |
From: Mathieu M. <mat...@gm...> - 2008-10-20 12:47:23
|
On Mon, Oct 20, 2008 at 2:33 PM, genesy genesy <ge...@gm...> wrote: > Hi all, > > the first problem I met compiling the code was: > > Scanning dependencies of target wxImagePlaneWidget > [ 8%] Building CXX object > CMakeFiles/wxImagePlaneWidget.dir/Sample/wxImagePlaneWidget.cxx.o > /Users/xael/wxVTK_latest/wxVTK/Sample/wxImagePlaneWidget.cxx:29:33: error: > vtkImagePlaneWidget.h: No such file or directory Fixed: $ cvs ci -m"ENH: warn user" CMakeLists.txt ~/Projects/wxVTK Checking in CMakeLists.txt; /cvsroot/wxvtk/wxVTK/CMakeLists.txt,v <-- CMakeLists.txt new revision: 1.31; previous revision: 1.30 done Mailing wxv...@li...... Generating notification message... Generating notification message... done. > /Users/xael/wxVTK_latest/wxVTK/Sample/wxImagePlaneWidget.cxx:42:30: error: > vtkTestUtilities.h: No such file or directory > ..... > make: *** [all] Error 2 fixed $ cvs ci -m"COMP: fix for VTK 4.4 vtkTestUtilities.h / vtkRegressionTestImage.h" ~/Projects/wxVTK/Sample ? wxLeaks.cxx Checking in wxImagePlaneWidget.cxx; /cvsroot/wxvtk/wxVTK/Sample/wxImagePlaneWidget.cxx,v <-- wxImagePlaneWidget.cxx new revision: 1.8; previous revision: 1.7 done Checking in wxImageViewer.cxx; /cvsroot/wxvtk/wxVTK/Sample/wxImageViewer.cxx,v <-- wxImageViewer.cxx new revision: 1.7; previous revision: 1.6 done Checking in wxMedical3.cxx; /cvsroot/wxvtk/wxVTK/Sample/wxMedical3.cxx,v <-- wxMedical3.cxx new revision: 1.7; previous revision: 1.6 done Checking in wxVTKNotebook.h; /cvsroot/wxvtk/wxVTK/Sample/wxVTKNotebook.h,v <-- wxVTKNotebook.h new revision: 1.2; previous revision: 1.1 done confused about file wxVTKNotebook.cxx -- ignoring Mailing wxv...@li...... Generating notification message... Generating notification message... done. > I know .. I should have to post early.. but the tricks I used to turn > around didn't work as effectively as I hopped :-) > > > > SO: MacOsX 10.4.11 > xcode: 2.4.1 > gcc version: 4.0.1 > wx-config --version-full : 2.6.3.1 > VTK 4.4 Carbon > ccmake version 2.6-patch 1 > > all the best thanks, -- Mathieu |
From: Mathieu M. <ma...@us...> - 2008-10-20 12:46:35
|
Update of /cvsroot/wxvtk/wxVTK/Sample In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv32373 Modified Files: wxImagePlaneWidget.cxx wxImageViewer.cxx wxMedical3.cxx wxVTKNotebook.h Log Message: COMP: fix for VTK 4.4 vtkTestUtilities.h / vtkRegressionTestImage.h Index: wxVTKNotebook.h =================================================================== RCS file: /cvsroot/wxvtk/wxVTK/Sample/wxVTKNotebook.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** wxVTKNotebook.h 1 Jul 2008 08:55:40 -0000 1.1 --- wxVTKNotebook.h 20 Oct 2008 12:46:31 -0000 1.2 *************** *** 13,17 **** enum { ! GridSize = 20 }; --- 13,17 ---- enum { ! GridSize = 15 }; Index: wxImagePlaneWidget.cxx =================================================================== RCS file: /cvsroot/wxvtk/wxVTK/Sample/wxImagePlaneWidget.cxx,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** wxImagePlaneWidget.cxx 28 Apr 2005 03:41:22 -0000 1.7 --- wxImagePlaneWidget.cxx 20 Oct 2008 12:46:31 -0000 1.8 *************** *** 40,44 **** #include "vtkImageReslice.h" #include "vtkTesting.h" ! #include "vtkTestUtilities.h" #include "vtkImageData.h" --- 40,44 ---- #include "vtkImageReslice.h" #include "vtkTesting.h" ! #include "vtkRegressionTestImage.h" #include "vtkImageData.h" Index: wxImageViewer.cxx =================================================================== RCS file: /cvsroot/wxvtk/wxVTK/Sample/wxImageViewer.cxx,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** wxImageViewer.cxx 28 Apr 2005 03:41:22 -0000 1.6 --- wxImageViewer.cxx 20 Oct 2008 12:46:31 -0000 1.7 *************** *** 30,34 **** #include "vtkImageData.h" #include "vtkTesting.h" ! #include "vtkTestUtilities.h" --- 30,34 ---- #include "vtkImageData.h" #include "vtkTesting.h" ! #include "vtkRegressionTestImage.h" Index: wxMedical3.cxx =================================================================== RCS file: /cvsroot/wxvtk/wxVTK/Sample/wxMedical3.cxx,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** wxMedical3.cxx 28 Apr 2005 03:41:22 -0000 1.6 --- wxMedical3.cxx 20 Oct 2008 12:46:31 -0000 1.7 *************** *** 39,43 **** #include "vtkImageActor.h" #include "vtkTesting.h" ! #include "vtkTestUtilities.h" // the application icon --- 39,43 ---- #include "vtkImageActor.h" #include "vtkTesting.h" ! #include "vtkRegressionTestImage.h" // the application icon |
From: Mathieu M. <ma...@us...> - 2008-10-20 12:41:24
|
Update of /cvsroot/wxvtk/wxVTK In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv32064 Modified Files: CMakeLists.txt Log Message: ENH: warn user Index: CMakeLists.txt =================================================================== RCS file: /cvsroot/wxvtk/wxVTK/CMakeLists.txt,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** CMakeLists.txt 26 Aug 2008 16:32:21 -0000 1.30 --- CMakeLists.txt 20 Oct 2008 12:41:16 -0000 1.31 *************** *** 17,20 **** --- 17,24 ---- INCLUDE(${VTK_USE_FILE}) + IF(NOT VTK_USE_HYBRID) + MESSAGE(FATAL_ERROR "You need to turn VTK_USE_HYBRID ON to vtkImagePlaneWidget.h") + ENDIF(NOT VTK_USE_HYBRID) + #----------------------------------------------------------------------------- SET (EXECUTABLE_OUTPUT_PATH ${wxVTKSample_BINARY_DIR}/bin CACHE PATH "Single output directory for building all executables.") |
From: genesy g. <ge...@gm...> - 2008-10-20 12:33:25
|
Hi all, the first problem I met compiling the code was: Scanning dependencies of target wxImagePlaneWidget [ 8%] Building CXX object CMakeFiles/wxImagePlaneWidget.dir/Sample/wxImagePlaneWidget.cxx.o /Users/xael/wxVTK_latest/wxVTK/Sample/wxImagePlaneWidget.cxx:29:33: error: vtkImagePlaneWidget.h: No such file or directory /Users/xael/wxVTK_latest/wxVTK/Sample/wxImagePlaneWidget.cxx:42:30: error: vtkTestUtilities.h: No such file or directory ..... make: *** [all] Error 2 I know .. I should have to post early.. but the tricks I used to turn around didn't work as effectively as I hopped :-) SO: MacOsX 10.4.11 xcode: 2.4.1 gcc version: 4.0.1 wx-config --version-full : 2.6.3.1 VTK 4.4 Carbon ccmake version 2.6-patch 1 all the best G. |
From: Mathieu M. <mat...@gm...> - 2008-10-20 11:24:53
|
On Mon, Oct 20, 2008 at 1:18 PM, genesy genesy <ge...@gm...> wrote: > Hi all, > > I' compiling the latest CVS Version (thanks Mathieu!) > These are my "new" errors : > > > /Users/xael/wxVTK/src/wxVTKRenderWindowInteractor.cxx: In member function > 'void wxVTKRenderWindowInteractor::OnPaint(wxPaintEvent&)': > /Users/xael/wxVTK/src/wxVTKRenderWindowInteractor.cxx:393: error: 'class > vtkCarbonRenderWindow' has no member named 'UpdateGLRegion' Fixed: $ cvs ci -m"COMP: fix compilation on VTK 4.4" ~/Projects/wxVTK/src ? .wxVTKRenderWindowInteractor.cxx.swp Checking in wxVTKRenderWindowInteractor.cxx; /cvsroot/wxvtk/wxVTK/src/wxVTKRenderWindowInteractor.cxx,v <-- wxVTKRenderWindowInteractor.cxx new revision: 1.43; previous revision: 1.42 done Mailing wxv...@li...... Generating notification message... Generating notification message... done. > /Users/xael/wxVTK/src/wxVTKRenderWindowInteractor.cxx: In member function > 'void wxVTKRenderWindowInteractor::OnMouseWheel(wxMouseEvent&)': > /Users/xael/wxVTK/src/wxVTKRenderWindowInteractor.cxx:703: error: > 'MouseWheelForwardEvent' is not a member of 'vtkCommand' > /Users/xael/wxVTK/src/wxVTKRenderWindowInteractor.cxx:708: error: > 'MouseWheelBackwardEvent' is not a member of 'vtkCommand' Fixed: $ cvs ci -m"COMP: fix compilation on VTK 4.4 (mouse wheel)" ~/Projects/wxVTK/src ? .wxVTKRenderWindowInteractor.h.swp ? .wxVTKRenderWindowInteractor.cxx.swp Checking in wxVTKRenderWindowInteractor.cxx; /cvsroot/wxvtk/wxVTK/src/wxVTKRenderWindowInteractor.cxx,v <-- wxVTKRenderWindowInteractor.cxx new revision: 1.44; previous revision: 1.43 done Mailing wxv...@li...... Generating notification message... Generating notification message... done. thanks ! -- Mathieu |
From: Mathieu M. <ma...@us...> - 2008-10-20 11:24:18
|
Update of /cvsroot/wxvtk/wxVTK/src In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv26197 Modified Files: wxVTKRenderWindowInteractor.cxx Log Message: COMP: fix compilation on VTK 4.4 (mouse wheel) Index: wxVTKRenderWindowInteractor.cxx =================================================================== RCS file: /cvsroot/wxvtk/wxVTK/src/wxVTKRenderWindowInteractor.cxx,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** wxVTKRenderWindowInteractor.cxx 20 Oct 2008 11:23:03 -0000 1.43 --- wxVTKRenderWindowInteractor.cxx 20 Oct 2008 11:24:06 -0000 1.44 *************** *** 695,699 **** { // Mouse wheel was only added after VTK 4.4 (I think...) ! #if VTK_MAJOR_VERSION > 4 || (VTK_MAJOR_VERSION == 4 && VTK_MINOR_VERSION > 2) // new style //Set vtk event information ... The numebr of wheel rotations is stored in --- 695,699 ---- { // Mouse wheel was only added after VTK 4.4 (I think...) ! #if VTK_MAJOR_VERSION > 4 || (VTK_MAJOR_VERSION == 4 && VTK_MINOR_VERSION > 4) // new style //Set vtk event information ... The numebr of wheel rotations is stored in |
From: Mathieu M. <ma...@us...> - 2008-10-20 11:23:10
|
Update of /cvsroot/wxvtk/wxVTK/src In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv26123 Modified Files: wxVTKRenderWindowInteractor.cxx Log Message: COMP: fix compilation on VTK 4.4 Index: wxVTKRenderWindowInteractor.cxx =================================================================== RCS file: /cvsroot/wxvtk/wxVTK/src/wxVTKRenderWindowInteractor.cxx,v retrieving revision 1.42 retrieving revision 1.43 diff -C2 -d -r1.42 -r1.43 *** wxVTKRenderWindowInteractor.cxx 25 Aug 2008 00:27:39 -0000 1.42 --- wxVTKRenderWindowInteractor.cxx 20 Oct 2008 11:23:03 -0000 1.43 *************** *** 391,395 **** --- 391,398 ---- if( rwin ) { + #if VTK_MAJOR_VERSION > 4 || (VTK_MAJOR_VERSION == 4 && VTK_MINOR_VERSION > 4) + // Must be somewhere after VTK 4.4 rwin->UpdateGLRegion(); + #endif } #endif |
From: genesy g. <ge...@gm...> - 2008-10-20 11:19:03
|
Hi all, I' compiling the latest CVS Version (thanks Mathieu!) These are my "new" errors : /Users/xael/wxVTK/src/wxVTKRenderWindowInteractor.cxx: In member function 'void wxVTKRenderWindowInteractor::OnPaint(wxPaintEvent&)': /Users/xael/wxVTK/src/wxVTKRenderWindowInteractor.cxx:393: error: 'class vtkCarbonRenderWindow' has no member named 'UpdateGLRegion' /Users/xael/wxVTK/src/wxVTKRenderWindowInteractor.cxx: In member function 'void wxVTKRenderWindowInteractor::OnMouseWheel(wxMouseEvent&)': /Users/xael/wxVTK/src/wxVTKRenderWindowInteractor.cxx:703: error: 'MouseWheelForwardEvent' is not a member of 'vtkCommand' /Users/xael/wxVTK/src/wxVTKRenderWindowInteractor.cxx:708: error: 'MouseWheelBackwardEvent' is not a member of 'vtkCommand' make[2]: *** [CMakeFiles/wxImagePlaneWidget.dir/src/wxVTKRenderWindowInteractor.cxx.o] Error 1 make[1]: *** [CMakeFiles/wxImagePlaneWidget.dir/all] Error 2 make: *** [all] Error 2 How can I solve this problem? Is there an "UpdateGLRegion" equivalent for vtkCarbonRenderWindow (VTK4.4)? SO: MacOsX 10.4.11 xcode: 2.4.1 gcc version: 4.0.1 wx-config --version-full : 2.6.3.1 VTK 4.4 Carbon ccmake version 2.6-patch 1 bye G. |
From: Mathieu M. <mat...@gm...> - 2008-10-19 20:36:11
|
On Sun, Sep 14, 2008 at 4:02 PM, Nigel Nunn <Nig...@au...> wrote: > Hi Doug > >> I just rebuilt VTK with Carbon and got things to build >> except for wxVTKNotebook. It failed here: >> >> [...] >> >> Aside from this everything is working much better. > > > Time has come for me to get our wxVtk simulation environment > up and running on some Mac systems. It uses wxAUI to manage > advanced docking behaviour. Currently it runs sweetly under > Win32 using VC++ 2005 (32-bit ansi), and colleagues report > so far so good using gcc on Debian (64-bit unicode). > > I wonder if you (or others) would be interested to help add > a new sample/starter application to the wxVtk distribution? Definitely ! Please commit anything you need / want . thanks a bunch ! |
From: Mathieu M. <mat...@gm...> - 2008-10-19 20:33:06
|
Hi Senthil, You should really read: http://www.catb.org/~esr/faqs/smart-questions.html So I am going to guess since you are using Visual Leak that your are on Win32. If you are on Win32, you may be suffering from the well know issue with MFC: http://www.vtk.org/pipermail/vtkusers/2007-May/090968.html False memory leak reports are caused by VTK dlls loading *before* MFC dlls. You have to use the linker's /delayload flag to avoid this issue. The /delayload flag should be correct by default in the MFC examples if you are using CVS VTK... If you are using a previous version of VTK (5.0 or earlier) then you will have to figure out a way to link with that flag. See the CVS version of files in VTK/GUISupport/MFC for details. Or grep the VTK source tree for "DELAYLOAD" Let us know if this solve your issue Thanks On Thu, Oct 9, 2008 at 12:49 AM, Premraj, Senthil Kumar <sen...@ui...> wrote: > Hello, > > > > I wrote an application in just a command line format using vtk and I was not > getting any memory leaks in it even if I did not call Delete() on any of the > filters or datastructures. But a similar code written with wxwidgets is > giving me tons and tons of memory leaks. I am using VTK 5.03 and wxwidgets > 2.6.3. All I am doing is creating an empty vtkPolyData* using the New() > method and pass the pointer around through various classes to bring it back > for displaying in my wxwidgets application( I don't do anything with it in > the wxwidgets class). When I close the application, VisualLeak detector is > pointing to the New() method like 12 times even though it should be called > only once. If I try to delete the polydata there is no memory leaks but of > course the second I actually do something to the polydata like make an ITK > image into that polydata, then the Delete() call makes my application crash. > If anyone could help me with it, it would be great. Thanks a lot in advance. > > > > Senthil > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Wxvtk-users mailing list > Wxv...@li... > https://lists.sourceforge.net/lists/listinfo/wxvtk-users > > -- Mathieu |
From: Mathieu M. <mat...@gm...> - 2008-10-19 20:15:59
|
Hi Catherine, On Wed, Oct 15, 2008 at 5:55 PM, Catherine Peloquin <pel...@ia...> wrote: > Hello all, > > I am using the wxVTKRenderWindowInteractor and need to get the > transformation matrix for the current view. How might I go about doing > this? I do not know :( But this looks like a VTK-only question. wxVTKRWI simply acts as any vtkRWI. It simply binds to wxWidgets instead of X, Carbon, Cocoa or any default VTK type vtkRWI. 2cts -- Mathieu |
From: Mathieu M. <mat...@gm...> - 2008-10-19 20:14:31
|
Hi G. Get the version from CVS. It should contains the proper fix. Thanks, On Thu, Oct 16, 2008 at 12:56 PM, genesy genesy <ge...@gm...> wrote: > Hi all, > I ' m trying to compile wxVTK1.3 on my mac... > > SO: 10.4.11 > xcode: 2.4.1 > gcc version: 4.0.1 > wx-config --version-full : 2.6.3.1 > VTK 4.4 > ccmake version 2.6-patch 1 > > At cmake time I obtain this error: > > CMake Error at CMakeLists.txt:114 (INSTALL): > install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable > target "wxSplitSample". > > Should I change something in CMakeLists.txt ? > > > thanks in advance > > G. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Wxvtk-users mailing list > Wxv...@li... > https://lists.sourceforge.net/lists/listinfo/wxvtk-users > > -- Mathieu |
From: genesy g. <ge...@gm...> - 2008-10-16 10:57:05
|
Hi all, I ' m trying to compile wxVTK1.3 on my mac... SO: 10.4.11 xcode: 2.4.1 gcc version: 4.0.1 wx-config --version-full : 2.6.3.1 VTK 4.4 ccmake version 2.6-patch 1 At cmake time I obtain this error: CMake Error at CMakeLists.txt:114 (INSTALL): install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable target "wxSplitSample". Should I change something in CMakeLists.txt ? thanks in advance G. |
From: Catherine P. <pel...@ia...> - 2008-10-15 15:57:01
|
Hello all, I am using the wxVTKRenderWindowInteractor and need to get the transformation matrix for the current view. How might I go about doing this? Thanks, Catherine |
From: Premraj, S. K. <sen...@ui...> - 2008-10-08 23:11:45
|
Hello, I wrote an application in just a command line format using vtk and I was not getting any memory leaks in it even if I did not call Delete() on any of the filters or datastructures. But a similar code written with wxwidgets is giving me tons and tons of memory leaks. I am using VTK 5.03 and wxwidgets 2.6.3. All I am doing is creating an empty vtkPolyData* using the New() method and pass the pointer around through various classes to bring it back for displaying in my wxwidgets application( I don't do anything with it in the wxwidgets class). When I close the application, VisualLeak detector is pointing to the New() method like 12 times even though it should be called only once. If I try to delete the polydata there is no memory leaks but of course the second I actually do something to the polydata like make an ITK image into that polydata, then the Delete() call makes my application crash. If anyone could help me with it, it would be great. Thanks a lot in advance. Senthil |
From: Nigel N. <Nig...@au...> - 2008-09-14 14:02:43
|
Hi Doug > I just rebuilt VTK with Carbon and got things to build > except for wxVTKNotebook. It failed here: > > [...] > > Aside from this everything is working much better. Time has come for me to get our wxVtk simulation environment up and running on some Mac systems. It uses wxAUI to manage advanced docking behaviour. Currently it runs sweetly under Win32 using VC++ 2005 (32-bit ansi), and colleagues report so far so good using gcc on Debian (64-bit unicode). I wonder if you (or others) would be interested to help add a new sample/starter application to the wxVtk distribution? The attached jpeg shows the sort of layout others may find useful as a starting point for their own app. Nigel -- ------------------------------------------------------------------------------------- Follow our Paralympic Beijing success - www.ausport.gov.au/media This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender. ------------------------------------------------------------------------------------- |
From: Doug M. <mc...@ia...> - 2008-09-14 01:36:39
|
On Aug 25, 2008, at 4:32 AM, Mathieu Malaterre wrote: > On Mon, Aug 25, 2008 at 2:46 AM, Doug McCorkle <mc...@ia...> > wrote: >> >> On Aug 24, 2008, at 6:53 PM, Mathieu Malaterre wrote: >> >>> Doug, >>> >>> I am getting lost with all the emails. I do not have access to a >>> MacOSX system, so please bare with me a little more :) >>> >>> So far we have: >>> 1. You have properly configured / build installed wxCocoa port >>> (please >>> send the cmd line you used to configure wx) >> >> I built wxMac which I believe uses Carbon. >> >>> >>> 2. the wxGLCanvas examples seems to be working for you for Cocoa >> >> I believe this is using Carbon. >> >>> >>> 3. Even setting both the view and window for Cocoa to display in is >>> not enough (send your copy of wxVTK, or type 'cvs di' and send the >>> diff). >> >> I would like to figure out if I am building what is needed for wxVTK >> properly. > > > A couple of people are using VTK Carbon + wxVTK on MacOSX, AFAIK it > should work out of the box. Build VTK with carbon on, and wx with > carbon on. I just rebuilt VTK with Carbon and got things to build except for wxVTKNotebook. It failed here: /Volumes/data/Volumes/data/Volumes/data/stuff/data/VE_Suite_Deps/wxVTK/ wxVTK/Sample/wxVTKNotebook.cxx: In member function ‘void MyFrame::FillVTK(wxPanel*, wxGridSizer*)’: /Volumes/data/Volumes/data/Volumes/data/stuff/data/VE_Suite_Deps/wxVTK/ wxVTK/Sample/wxVTKNotebook.cxx:215: error: ‘wxGetDisplay’ was not declared in this scope I commented it out and still get these warnings when running apps: ERROR: In /stuff/data/VE_Suite_Deps/vtk-5.2/VTK/Rendering/ vtkInteractorStyle.cxx, line 392 vtkInteractorStyleJoystickCamera (0x3666d00): Timer start failed ERROR: In /stuff/data/VE_Suite_Deps/vtk-5.2/VTK/Rendering/ vtkInteractorStyle.cxx, line 392 vtkInteractorStyleJoystickCamera (0x3666d00): Timer start failed and these: Warning: In /stuff/data/VE_Suite_Deps/vtk-5.2/VTK/Rendering/ vtkCarbonRenderWindow.h, line 169 vtkCarbonRenderWindow (0x3846c00): SetNextWindowId not implemented (WindowRemap not implemented). Warning: In /stuff/data/VE_Suite_Deps/vtk-5.2/VTK/Rendering/ vtkCarbonRenderWindow.cxx, line 1076 vtkCarbonRenderWindow (0x3846c00): Can't remap the window. Aside from this everything is working much better. Doug |
From: Mathieu M. <mat...@gm...> - 2008-08-26 16:41:47
|
Hello there, I only realized recently that there are actually 46 people on the wxVTK mailing list. The only reason I can think of, is that people are somewhat watching out for new release or issues that are raised in the mailing list(*). To make the dev process of wxVTK a little more transparent I added a hook script that will send a mail for each commit to wxVTK CVS. If you believe this is too much noise, please say so now, and I could create a separate mailing list. And I am also glad to announce that Nigel Nunn is now officially part of the dev team. He has now CVS write access to wxVTK. Nigel has been using wxVTK for almost day one (sometime early 2003) as far as I can remember. Welcome aboard Nigel ! Regards, -- Mathieu |
From: Mathieu M. <ma...@us...> - 2008-08-26 16:32:28
|
Update of /cvsroot/wxvtk/wxVTK In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv22496 Modified Files: CMakeLists.txt Log Message: ENH: Compile wxVTKNotebook now. Also add a note with issue with debian and glcanvas.h Index: CMakeLists.txt =================================================================== RCS file: /cvsroot/wxvtk/wxVTK/CMakeLists.txt,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** CMakeLists.txt 10 Aug 2008 22:19:11 -0000 1.29 --- CMakeLists.txt 26 Aug 2008 16:32:21 -0000 1.30 *************** *** 58,61 **** --- 58,65 ---- FIND_PACKAGE(wxWidgets COMPONENTS base core adv ${WXGLCANVASLIBS}) + # wx is a pain... + # if you include glcanvas.h it include GL/glu.h ... sigh I have to install glu on my linux box: + # sudo apt-get install libglu1-mesa-dev + # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493713 IF(wxWidgets_FOUND) INCLUDE( ${wxWidgets_USE_FILE} ) *************** *** 93,96 **** --- 97,105 ---- ) + SET(SRCS_VTKNotebook + Sample/wxVTKNotebook.cxx + src/wxVTKRenderWindowInteractor.cxx + ) + IF(NOT VTK_USE_RENDERING) MESSAGE(FATAL_ERROR "Cannot build wxVTK without vtkRendering (vtkWidgets)") *************** *** 111,114 **** --- 120,124 ---- ADD_EXECUTABLE(wxImageViewer ${GUI_EXECUTABLE} ${SRCS_ImageViewer}) ADD_EXECUTABLE(wxMedical3 ${GUI_EXECUTABLE} ${SRCS_Medical3}) + ADD_EXECUTABLE(wxVTKNotebook ${GUI_EXECUTABLE} ${SRCS_VTKNotebook}) INSTALL(TARGETS |
From: Nigel N. <nn...@gm...> - 2008-08-25 19:34:02
|
Hi Doug, Some explanation about wxOSX (wxMac <-- wxCocoa) can be found here: http://wiki.wxwidgets.org/Development:_wxMac Nigel |