[Paraview] Understanding the source code
Hi all, Is the book geared to understand how to use paraview or understanding the code. I am a imaging research developer but looking at the 2.6 million lines of code in 8820 files in the Visual Studio project that contains the cvs paraview is not an easy task especially when there are deadlines.. -- John M. Drescher ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] segmentation fault
> I recompiled with debug and the seg fault went away. I then > recompiled it with the standard build and the seg fault was still > gone. At this point I'm fairly confused as to what caused the > original seg fault but I'm willing to chalk it up to the mysterious > force that works to extend a grad student's time in school to > unreasonable levels. > The same force sometimes applies to those who have been on the job for 13 years.. John ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] Building the current cvs / utf8.h not found
On Fri, Apr 24, 2009 at 11:16 AM, Timothy M. Shead wrote: > John Drescher wrote: >> >> I updated my cvs a few weeks back and since then I have not been able >> to build paraview because utf8.h is not found. >> >> This is on VS2005 under XPSP3 >> >> >> 1>-- Build started: Project: vtkCommon, Configuration: Debug Win32 >> -- >> 1>Compiling... >> 1>vtkUnicodeString.cxx >> >> 1>..\..\..\..\..\CMakeBased\Qt\ParaView3\VTK\Common\vtkUnicodeString.cxx(25) >> : fatal error C1083: Cannot open include file: 'utf8.h': No such file >> or directory > > John: > > You might verify the following: > > * That VTK/Utilities/utf8/source/utf8.h exists in your source tree. > > * That VTK/vtkIncludeDirectories.cmake line 194 looks like > > # Include UTF-8 support > SET(VTK_INCLUDE_DIRS_SOURCE_TREE ${VTK_INCLUDE_DIRS_SOURCE_TREE} > ${VTK_SOURCE_DIR}/Utilities/utf8/source) > > My suspicion is that one or both are missing, in which case your source tree > somehow isn't completely synced with CVS. > Thank you. Very much! I had no VTK/Utilities/utf8 folder at all. I just updated and it grabbed that folder. I will try to figure out why cvs did not sync everything. John ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] Building the current cvs / utf8.h not found
On Fri, Apr 24, 2009 at 11:38 AM, David E DeMarle wrote: > You probably just forgot the "-d" option to cvs update. Without that > it will not create new directories in your working directory. > On Fri, Apr 24, 2009 at 11:38 AM, David Cole wrote: >You have to use "-d" with your cvs updates to get new directories >I always use: >cvs up -dAP Thanks, all. That was it. I forgot that because I mostly use cvs through a GUI and this time I did just a cvs up from a command window. I have been doing a lot of git pull from linux lately so I forgot the cvs options are needed to get new folders.. John ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] Why 2 CMakeLists files ?
On Mon, Jan 4, 2010 at 8:55 AM, Fred Fred wrote: > On this page: > http://www.paraview.org/Wiki/Paraview_Make_building_Paraview_plugin_optional > 2 CMakeLists.txt files appear, is it a mistake? should one of them be a link > on the other one? what else? > Having never made a paraview filter but made hundreds of CMakeLists.txt files it looks to me this is about organizing the code. In my projects I have a CMakeLists.txt file for every subdirectory in the source code. You do not have to do this that way its a matter of preference and in my opinion makes the build system more manageable. John ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] ParaView fails to run under Windows7 + MSVC2008
> I ran the debug version of paraview in MSVC and had this error: > "application error > The application was unable to start correctly (0xc07b). click OK to > close the application." > Any idea? > Best, > x It crashed. Did you try debugging? Did you verify your Qt was in your path? John ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] ParaView fails to run under Windows7 + MSVC2008
On Mon, Aug 23, 2010 at 10:50 AM, Dr. X wrote: > Hi John, > Thanks. > I can run any Qt demo app. on that machine. And yes, C:\Qt\bin is in my > path. > Other possibilities? > x In C:\Qt\bin Does QtCored4.dll exist as well as QtCore4.dll John ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] ParaView fails to run under Windows7 + MSVC2008
> Was Qt compiled from the Visual Studio 2008 x64 command prompt, rather > than the Visual Studio 2008 command prompt? > Good point. Also, I also believe if you compile Qt using the IDE you get 32 bit Qt only even if you configured it from a VS 2008 x64 command prompt. At least I vaguely remember having this issue. John ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] [CMake] Can't build cmake 2.8.1 out of source
> Nuke everything and start again from a fresh source directory. I have seen > this with dirty build folders that were some how messed up from in source > bootstraping then running cmake to configure cmake. Hope that helps. > I have the same "No native data type can represent a 64-bit integer" on the latest git (20 minutes ago) paraview and cmake-2.8.3_rc1 under windows and 64 bit visual studio 2008. I will try to nuke the build folder first. John ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] [CMake] Can't build cmake 2.8.1 out of source
On Mon, Oct 25, 2010 at 12:24 PM, John Drescher wrote: >> Nuke everything and start again from a fresh source directory. I have seen >> this with dirty build folders that were some how messed up from in source >> bootstraping then running cmake to configure cmake. Hope that helps. >> > > I have the same "No native data type can represent a 64-bit integer" > on the latest git (20 minutes ago) paraview and cmake-2.8.3_rc1 under > windows and 64 bit visual studio 2008. I will try to nuke the build > folder first. > Oops. Sorry. I messed up the search. I thought this was a paraview thread.. John ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] bug in vtkLookupTable?
On Wed, Dec 8, 2010 at 4:27 PM, Rafael Küng wrote: > Hi There > > I'm trying to get colored points and tracks with a reader, but i only get > the first point colored.. can somebody please give me a hint? It looks to me > that the SetTableRange(d,d) is not doing what it's supposed to do... (pv > 3.8.0) > > In position (vtkPoints) i've got 10 points, connected with lines. I would > like to color each point according to it's snapid (vtkIdTypeArray). > So, it does some coloring, but only on the line between the 1st point > (SnapId=0) and the second point (SnapId 1).. > > Many thanks > Rafael Kueng > University of Zuerich > > > My code: > > - > vtkPolyData * out = vtkPolyData::GetData(outputVector); > > //...generate points... > > vtkSmartPointer lut = > vtkSmartPointer::New(); > lut->Build(); > lut->SetTableRange(0,9); > lut->SetNumberOfTableValues(10); > lut->SetTableValue(0,1,0,0); > lut->SetTableValue(1,1,1,0); > lut->SetTableValue(2,1,1,1); > lut->SetTableValue(3,0,1,1); > //... > Put the following line here instead of at the top. lut->Build(); > SnapId->SetLookupTable(lut2); > > out->SetPoints(Position); > out->SetVerts(Cells); > out->SetLines(Tracks); > out->GetPointData()->AddArray(SnapId); > > - > > i also tried lut->build after setting the table values, doesn't make any > difference.. > ___ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview > -- John M. Drescher ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] GetPolyData on a BoxWidget
> The bit level was not specified, and I had no choice for the compiler... > I tried compiling using the 32 bit version of my compiler and it worked. > In visual studio you can do that by opening up a 32 bit or 64 bit command prompt for your compiler. John ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] GetPolyData on a BoxWidget
On Wed, Jun 8, 2011 at 8:33 AM, Laurent Paul wrote: > No, I mean 32 or 64 bits and VS2010 on the Qt download page. > Sorry I was I was talking about building Qt because I know the download page is limited.. To build Qt you open up a command for your compiler (Visual Studio 2008 x64 Win64 Command prompt ...) and execute configure in the source folder. I now use the following options on vs2008 configure -debug-and-release -no-webkit -opensource -fast -no-incredibuild-xge -mp -no-dbus -platform win32-msvc2008 then after the configure stage nmake will build Qt John ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] GetPolyData on a BoxWidget
On Wed, Jun 8, 2011 at 9:00 AM, Laurent Paul wrote: > Ouch... > > I have configured the project but without any option and it has worked. > Running nmake fails because cl tries to use a temp directory that contains > '&'... > Do you know how to make that temp directory pointing elsewhere? > TEMP is an environment variable in the command prompt you are running in. You should be able to use the set command to change the value of temp. And maybe TMP John ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
[Paraview] Fwd: GetPolyData on a BoxWidget
-- Forwarded message -- From: John Drescher Date: Thu, Jun 9, 2011 at 9:48 AM Subject: Re: [Paraview] GetPolyData on a BoxWidget To: Laurent Paul On Thu, Jun 9, 2011 at 3:18 AM, Laurent Paul wrote: > Hi John, > > I am having hard times building Qt... > I have launched the command prompt of SDK 7.1 to get the 64 bits version of > the compiler (I use VS2010 Express edition, so the 64bits version is not > natively distributed). I have already configured some projects using this > comand prompt without any problem. > Yesterday, I have launch configure in this command prompt but without any > option... > Then, I have run nmake and it has finally built the project (in a couple of > hours!). > But it seems that this the 32 bits version... I'm not really sure (how to?) > but I see 'win32' almost everywhere. > Do you think it really build a 32 bits version using the 64 bits command > prompt? > I am sorry, I have no experience with express versions of visual studio. In the retail versions of VS2005 and greater there are Visual Studio x64 (and 32 bit ones also) command prompts in the tools menu for each compiler. Opening up the x64 command prompt sets a few environment variables that set cc and nmake to build 64 bit applications. > Then I tried to configure using the option -platform win64-msvc2010 but > configure refuses to run. It should be win32-msvc2010 even on 64 bit builds. >It displays the help option ! > I dont' really understand what happens. > Anyway, I gonna try to build paraview using my built version of Qt. John -- John M. Drescher ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
[Paraview] Fwd: GetPolyData on a BoxWidget
-- Forwarded message -- From: John Drescher Date: Fri, Jun 10, 2011 at 7:39 AM Subject: Re: [Paraview] GetPolyData on a BoxWidget To: Laurent Paul On Fri, Jun 10, 2011 at 4:23 AM, Laurent Paul wrote: > Hi guys, > > Me again! > > My config is : Windows 7 64 bits, VS2010 (and SDK 7.1 to get the 64 bits > version compiler). > I managed to build Qt and Paraview... unfortunatelly, paraview crashes just > after the splash screen :-\ > I was suspecting the Qt version to be responsible since I have installed the > binaries Qt4.7.3 built using VS2008 (32 bits?). > Perhaps an issue with the VS2008 Version or the 4.7.3 that was not tested > with paraview. > > Then, I have looked for sources in this page : > ftp://ftp.trolltech.no/qt/source/ (I have also checked that one that is > identical ftp://ftp.qt.nokia.com/qt/source/) > The most recent source version is the 4.5.3 for windows (and also for the > 'all' distribution), open source. I have built it but when I run CMake > to configure paraview project, it complains because it needs Qt 4.6.0 or > greater. > How can I do? There is no sources for 4.6.0. The only Qt4.6.0 or greater > available as sources are for 'everywhere', 'mac' 'symbian'. I have tried > using the 'everywhere' distribution V 4.7.3, and paraview doesn't start. I > have also tried using 'everywhere-4.6.2, but building exits with an error. > > Can you advice me? I can tell you that the everywhere-opensource-4.6.X and everywhere-opensource-4.7.X downloads work with visual studio since I use them daily with VS2005 x32, VS2008 x32 and x64 and vs2010 x64 with my two large projects (on a handful of machines) that use Qt, cmake, vtk ... You can also download a binary version and recompile for a different compiler but I have not done that in a few releases. My advice is make sure that you are using the expected Qt version when running paraview. If you have any other qt dlls on you system zip them up. Also do not mix debug and release or compiler versions. Remember that with Visual Studio you can not safely mix compiler versions and you also can not safely mix debug and release in the same application. John -- John M. Drescher ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] Fatal error LNK1104: cannot open file 'python31.lib'
> I'm tring to build Paraview 3.10 (and python 3.1) on a Windows7 64bit OS > with MSVC2008. > In Cmake I set: > //Path to a program. > PYTHON_EXECUTABLE:FILEPATH=C:/Python31/python.exe > > //Path to a file. > PYTHON_INCLUDE_DIR:PATH=C:/Python31/include > > //Path to a library. > PYTHON_LIBRARY:FILEPATH=C:/Python31/libs/libpython31.a > > but in Degub mode or Release mode i got this error: > > LINK : fatal error LNK1104: cannot open file 'python31.lib'. > > What's wrong? Hope somebody could help me.. > Thanks a lot > Concetta > Looks like you are mixing compilers. I mean .a files are from gcc and .lib files are from Visual Studio. These are not compatible. John ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] paraview not running!!!
On Thu, Sep 29, 2011 at 1:18 PM, naveen kumar wrote: > Dear Paraview Users, > > i am new to paraviewer family. > recently i installed the paraview (paraview 3.10.1 and 3.8.1 32bit) in > scietific linux 5.2 using wine. > The installation was successful but when i run it, it shows the initial > logo of the paraview and disapears. > > how to overcome this problem pleas help me. > run it from the terminal and see what the error message is. John ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
[Paraview] Fwd: paraview not running!!!
-- Forwarded message -- From: naveen kumar Date: Thu, Sep 29, 2011 at 1:40 PM Subject: Re: [Paraview] paraview not running!!! To: John Drescher Dear Jhon, The screen output is as below i am not getting what to do, plz help me [naveen@localhost bin]$ wine paraview.exe libGL warning: 3D driver claims to not support visual 0x5b fixme:system:SystemParametersInfoW Unimplemented action: 8202 (SPI_GETFONTSMOOTHINGTYPE) fixme:system:SetProcessDPIAware stub! fixme:system:SystemParametersInfoW Unimplemented action: 8204 (SPI_GETFONTSMOOTHINGCONTRAST) fixme:userenv:GetUserProfileDirectoryW 0x280 (nil) 0xf7fb50 fixme:userenv:GetUserProfileDirectoryW 0x290 (nil) 0xf7fb50 fixme:win:FlashWindowEx 0xf7f4f0 X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 145 (XFree86-DRI) Minor opcode of failed request: 7 () Value in failed request: 0x5d Serial number of failed request: 584 Current serial number in output stream: 584 with regards Naveen . On Thu, Sep 29, 2011 at 10:51 PM, John Drescher wrote: > > On Thu, Sep 29, 2011 at 1:18 PM, naveen kumar wrote: > > Dear Paraview Users, > > > > i am new to paraviewer family. > > recently i installed the paraview (paraview 3.10.1 and 3.8.1 32bit) in > > scietific linux 5.2 using wine. > > The installation was successful but when i run it, it shows the initial > > logo of the paraview and disapears. > > > > how to overcome this problem pleas help me. > > > > run it from the terminal and see what the error message is. > > John -- John M. Drescher ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] need book to understand vtk-file formats?
On Tue, Oct 25, 2011 at 10:19 AM, Torsten Lange wrote: > Hello, > > I asked a student to get familiar with vtk formats to later write scripts to > extract geometry and scalar/property data from a simulation tool to be > visualized in PARAVIEW. > > There are two books offered related to vtk (Textbook and User's Guide). Would > one of those be helpful for the student? Or are the online sources sufficient? > Or maybe other books? > I believe that neither of these explain the file formats. John ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] need book to understand vtk-file formats?
> Ok, thank you for all response! > Sorry for my noise. I guess I should not be commenting on a book that I have 20 miles away from me at work. I am glad the others cleared that up.. John ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] Crash on vtr file load
> I've downloaded your vtr file and it opened it with my build of > paraview (Linux, 64bit, git-master). The file opens and the clip > filter works as expected. The memory usage for ParaView is 1-1.5GB so > I don't think lack of memory on your machine is an issue. > > I also tried it with the 3.12 binaries from paraview.org and > everything worked as expected. > > Perhaps this is a Windows issue? > 1-1.5GB is enough to get an out of memory on 32 bit windows if the memory is for the image needs to be allocated in a single buffer. This is a result of address space fragmentation and the default 2GB maximum address space limit per process. John ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview