Re: [Paraview] Superbuild and Windows
I used a system Python which is pointed at a Python we distribute with Mantid on Windows. BTW, do you want me to pass along the patches I have for the USE_SYSTEM_matplotlib issues I run into, or should I just handle those in a Superbuild fork? Thanks, M On Sep 11, 2014, at 1:21 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.commailto:utkarsh.ayac...@kitware.com wrote: Michael, with VS2012, what was your selection for Python? Were you using system Python or did you let the superbuild build its own? Utkarsh On Fri, Sep 5, 2014 at 4:58 PM, Reuter, Michael A. reute...@ornl.govmailto:reute...@ornl.gov wrote: I’m working with VS2012. Thanks for the update on Mavericks. M On Sep 5, 2014, at 4:32 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.commailto:utkarsh.ayac...@kitware.com wrote: Great! Which VS was this? The Pygments thing should be tracked down. I'll see what's happening there. BTW, I am making progress on Mavericks build. I think I have most things ironed out. I'll send an updated email once I have dashboard testing it. Utkarsh On Fri, Sep 5, 2014 at 4:29 PM, Reuter, Michael A. reute...@ornl.govmailto:reute...@ornl.gov wrote: I switched to Ninja and shortened up the paths, but what really got things working was passing the VTK_USE_SYSTEM_PYGMENTS down to the ParaView CMake config via the PV_EXTRA_CMAKE_ARGS. After that, the build went smoothly. I hit a snag on creating the package because I’m triggering the USE_SYSTEM_matplotlib option and the Projects/win32/paraview.bundle.cmake does not trap the copying of matplotlib related items when this flag is used. I see a similar issue in the Projects/apple/paraview.bundle.cmake file as well. I added a AND NOT USE_SYSTEM_matplotlib to the if (matplotlib_ENABLED) line and that fixed the generated cmake_install.cmake file and the package created fine. I’ve tested the resulting package and so far so good. M On Sep 3, 2014, at 10:24 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.commailto:utkarsh.ayac...@kitware.commailto:utkarsh.ayac...@kitware.com wrote: Michael, Are you using VS generator? Can you switch to using Ninja? You can still use the MSVC compilers. The error is popping up when the build is trying to compiler the pygments *.py files. You'll get the same error later when it's trying to compile the ParaView *.py files. Also, another thing to note is that Windows has issues with long paths. So I'd suggest moving the superbuild source and build directories to something lower to avoid those e.g. C:/tmp/pvs-src and C:/tmp/pvs-build. Finally, if you're using VS2012, you'll need to use a system Python. Currently. the Python included in the superbuild is intended for VS2008. Also VS2012, is currently untested. As a first pass, if possible, I'd suggest using VS 2008. Once that's working, you can give VS2012 try. Hopefully, it should work (except the Python caveat), but I am always wary of VS version differences. Utkarsh On Wed, Sep 3, 2014 at 10:07 AM, Reuter, Michael A. reute...@ornl.govmailto:reute...@ornl.govmailto:reute...@ornl.gov wrote: Hi, I’m having an issue with the ParaView Superbuild on Windows (VS2012). I get this error during the build process: 322 Compiling Python package 'pygments' 322 Listing C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib/site-packages/pygments ... 322 Listing C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib/site-packages/pygments\filters ... 322 Listing C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib/site-packages/pygments\formatters ... 322 Listing C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib/site-packages/pygments\lexers ... 322 Listing C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib/site-packages/pygments\styles ... 322 ImportError: No module named site 9C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(172,5): error MSB6006: cmd.exe exited with code 1. [C:\Users\2zr\Build\ParaView-Superbuild\paraview.vcxproj] 322 322Build FAILED. However, the site module exists when I run python. I’m building from a script so I can control the environment. Everything else seems to build just fine. However, nothing appears in the install directory for cpack to find. I can’t tell if this build error is disrupting the process or something else is going wrong. What controls the pygments build so I can shut it off for now? Thanks, M Dr. Michael Reuter Scientific Data Analysis Group Neutron Data Analysis and Visualization Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.govmailto:reute...@ornl.govmailto:reute...@ornl.gov ___ Powered by www.kitware.comhttp://www.kitware.comhttp://www.kitware.com Visit other Kitware open-source projects at http
Re: [Paraview] Superbuild and Windows
The patches are attached. They aren’t much but they help get the package (on Windows and OSX) built without issues. The package I made against the system Python seems to work OK although I have not exhaustively tested it. The python interpreter interaction inside ParaView seems to work fine with the few tests and examples I ran on it. M apple_system_matplotlib.patch Description: apple_system_matplotlib.patch win32_system_matplotlib.patch Description: win32_system_matplotlib.patch On Sep 11, 2014, at 10:56 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote:Michael,The patches would be great! I don't think we tested with system Python on Windows.UtkarshOn Thu, Sep 11, 2014 at 8:34 AM, Reuter, Michael A. reute...@ornl.gov wrote:I used a system Python which is pointed at a Python we distribute with Mantid on Windows. BTW, do you want me to pass along the patches I have for the USE_SYSTEM_matplotlib issues I run into, or should I just handle those in a Superbuild fork? Thanks, M On Sep 11, 2014, at 1:21 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.commailto:utkarsh.ayac...@kitware.com wrote: Michael, with VS2012, what was your selection for Python? Were you using system Python or did you let the superbuild build its own? Utkarsh On Fri, Sep 5, 2014 at 4:58 PM, Reuter, Michael A. reute...@ornl.govmailto:reute...@ornl.gov wrote: I’m working with VS2012. Thanks for the update on Mavericks. M On Sep 5, 2014, at 4:32 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.commailto:utkarsh.ayac...@kitware.com wrote: Great! Which VS was this? The Pygments thing should be tracked down. I'll see what's happening there. BTW, I am making progress on Mavericks build. I think I have most things ironed out. I'll send an updated email once I have dashboard testing it. Utkarsh On Fri, Sep 5, 2014 at 4:29 PM, Reuter, Michael A. reute...@ornl.govmailto:reute...@ornl.gov wrote: I switched to Ninja and shortened up the paths, but what really got things working was passing the VTK_USE_SYSTEM_PYGMENTS down to the ParaView CMake config via the PV_EXTRA_CMAKE_ARGS. After that, the build went smoothly. I hit a snag on creating the package because I’m triggering the USE_SYSTEM_matplotlib option and the Projects/win32/paraview.bundle.cmake does not trap the copying of matplotlib related items when this flag is used. I see a similar issue in the Projects/apple/paraview.bundle.cmake file as well. I added a AND NOT USE_SYSTEM_matplotlib to the if (matplotlib_ENABLED) line and that fixed the generated cmake_install.cmake file and the package created fine. I’ve tested the resulting package and so far so good. M On Sep 3, 2014, at 10:24 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.commailto:utkarsh.ayac...@kitware.commailto:utkarsh.ayac...@kitware.com wrote: Michael, Are you using VS generator? Can you switch to using Ninja? You can still use the MSVC compilers. The error is popping up when the build is trying to compiler the pygments *.py files. You'll get the same error later when it's trying to compile the ParaView *.py files. Also, another thing to note is that Windows has issues with long paths. So I'd suggest moving the superbuild source and build directories to something lower to avoid those e.g. C:/tmp/pvs-src and C:/tmp/pvs-build. Finally, if you're using VS2012, you'll need to use a system Python. Currently. the Python included in the superbuild is intended for VS2008. Also VS2012, is currently untested. As a first pass, if possible, I'd suggest using VS 2008. Once that's working, you can give VS2012 try. Hopefully, it should work (except the Python caveat), but I am always wary of VS version differences. Utkarsh On Wed, Sep 3, 2014 at 10:07 AM, Reuter, Michael A. reute...@ornl.govmailto:reute...@ornl.govmailto:reute...@ornl.gov wrote: Hi, I’m having an issue with the ParaView Superbuild on Windows (VS2012). I get this error during the build process: 322 Compiling Python package 'pygments' 322 Listing C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib/site-packages/pygments ... 322 Listing C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib/site-packages/pygments\filters ... 322 Listing C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib/site-packages/pygments\formatters ... 322 Listing C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib/site-packages/pygments\lexers ... 322 Listing C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib/site-packages/pygments\styles ... 322 ImportError: No module named site 9C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(172,5): error MSB6006: "cmd.exe" exited with code 1. [C:\Users\2zr\Build\ParaView-Superbuild\paraview.vcxproj] 322 322Build FAILED.
Re: [Paraview] Superbuild and OSX
After updating the Superbuild code and cleaning house, I was still seeing the ParaView CMake configure failure I reported before. I did a bit of digging and found that the generated pv-paraview-build.cmake was trying to execute the following command: step_command-NOTFOUND. It seems to be related to trying to use ninja instead of make files. I switched to make files and the build is in progress. Thanks, M On Sep 7, 2014, at 1:58 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.commailto:utkarsh.ayac...@kitware.com wrote: Alright, Superbuild + Mavericks is now working as expected. It's now tested on the dashboards too: http://open.cdash.org/buildSummary.php?buildid=3479885 If looking for options to turn on, here's a good start: http://open.cdash.org/viewNotes.php?buildid=3479885 Utkarsh On Thu, Sep 4, 2014 at 9:22 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Sorry, I did mean Mavericks :)..I can never keep the MacOS names straight. On Thu, Sep 4, 2014 at 8:00 AM, Reuter, Michael A. reute...@ornl.gov wrote: Thanks for the update. I’m actually building on Mavericks, but our project is still supporting Mountain Lion so it will be good to have it work there. M On Sep 3, 2014, at 11:57 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.commailto:utkarsh.ayac...@kitware.com wrote: Michael, Hold off on using the superbuild on MountainLion for now. I'll track the issues down and then let you know. Utkarsh On Wed, Sep 3, 2014 at 6:23 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.commailto:utkarsh.ayac...@kitware.com wrote: Michael, Let me try this on a Moutain Lion myself and I'll let you know. What projects are you turning on in your build? Utkarsh On Wed, Sep 3, 2014 at 2:40 PM, Reuter, Michael A. reute...@ornl.govmailto:reute...@ornl.gov wrote: This gets around the clang argument problem, but the ParaView CMake configuration step still fails for an unknown reason. M On Sep 3, 2014, at 10:28 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.commailto:utkarsh.ayac...@kitware.commailto:utkarsh.ayac...@kitware.com wrote: Cherry-pick this fix for now : http://review.source.kitware.com/#/c/16665/ It'll go into master soon. Ben, anything this fix is waiting on? Utkarsh On Wed, Sep 3, 2014 at 9:42 AM, Reuter, Michael A. reute...@ornl.govmailto:reute...@ornl.govmailto:reute...@ornl.gov wrote: Hi, I’m having trouble getting the git-master version of the Superbuild running on OSX (10.9) with clang (5.1). Setting the CMAKE_OSX_SYSROOT variable causes the following error during CMake (2.8.12.2) generation for the ParaView subproject: -- The C compiler identification is unknown -- The CXX compiler identification is unknown -- Check for working C compiler using: Ninja -- Check for working C compiler using: Ninja -- broken CMake Error at /Applications/CMake 2.8-12.app/Contents/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message): The C compiler /usr/bin/cc is not able to compile a simple test program. It fails with the following output: Change Dir: /Users/2zr/build/ParaView-Superbuild/paraview/src/paraview-build/CMakeFiles/CMakeTmp Run Build Command:/usr/local/bin/ninja cmTryCompileExec4050157075 [1/2] Building C object CMakeFiles/cmTryCompileExec4050157075.dir/testCCompiler.c.o FAILED: /usr/bin/cc -fPIC -arch x86_64 -mmacosx-version-min=10.9 -sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -o CMakeFiles/cmTryCompileExec4050157075.dir/testCCompiler.c.o -c testCCompiler.c clang: error: unknown argument: '-sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk' [-Wunused-command-line-argument-hard-error-in-future] clang: note: this will be a hard error (cannot be downgraded to a warning) in the future ninja: build stopped: subcommand failed. Even if I empty the CMAKE_OSX_SYSROOT variable, the system still tries to pass an empty -sysroot flag to clang causing it to choke. I removed the sysroot flag from the top-level CMakeLists.txt, but then the ParaView CMake setup fails for a reason I can’t seem to understand. I’m attaching the log showing the CMake output. The only obvious thing I see is the Fortran compiler. Is that required? Thanks, M Dr. Michael Reuter Scientific Data Analysis Group Neutron Data Analysis and Visualization Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.govmailto:reute...@ornl.govmailto:reute...@ornl.gov ___ Powered by www.kitware.comhttp://www.kitware.comhttp://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://public.kitware.com/mailman/listinfo/paraview ___ Powered
[Paraview] Replacement for colorByArray
Hi, I have an application that I’m trying to conform back to git-master in preparation for the version 4.2 release. In the application, I used the pqPipelineRepresentation::colorByArray function to preset the colormap array before the data is rendered. I see that this function has been removed. I did a bit of digging and tried to use the following as a replacement (signal is our default array name): pqDataRepresentation *drep = objectBuilder-createDataRepresentation(…); vtkSMPropertyHelper(drep-getProxy(), “Representation”).Set(“Surface”); vtkSMPropertyHelper(drep-getProxy(), “ColorArrayName”).Set(“signal”); drep-getProxy()-UpdateVTKObjects(); However, this doesn’t seem to set the correct array as the view shows Solid Color for the array when it renders. I’m either invoking things incorrectly or at the wrong time, but I don’t know what. What am I missing or is there a more appropriate alternative to this method? Thanks, M Dr. Michael Reuter Scientific Data Analysis Group Neutron Data Analysis and Visualization Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.govmailto:reute...@ornl.gov ___ 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://public.kitware.com/mailman/listinfo/paraview
Re: [Paraview] Replacement for colorByArray
Hi Yumin, Thanks for the pointer as now the array is set. My next problem is that the transfer function range is (0, 1) and not the range of my array. I tried using vtkSMPVRepresentationProxy::RescaleTransferFunctionToDataRange, but ParaView gives a Could not determine array range warning. I wedged a UpdateVTKObjects() between the two calls but that didn’t help. What’s the right way to do this? As a larger issue, I’m seeing that my old (PV 3.98.1 based) application is not liking how PV 4.2 is handling things. Is there any documentation or good examples of how things should be done for 4.2? My focus is on how to programmatically do things like: source and filter creation, pipeline construction and manipulation, manage different views, color map/transfer function manipulation, camera resetting. Now is the perfect time for a bit of a rewrite, but I’d definitely like to align things to how 4.2 wants things done. Thanks, M On Sep 5, 2014, at 9:40 AM, Yumin Yuan yumin.y...@kitware.commailto:yumin.y...@kitware.com wrote: Hi Michael, Checkout out vtkSMPVRepresentationProxy::SetScalarColoring(...). I think that's what you are looking for. Yumin On Fri, Sep 5, 2014 at 9:24 AM, Reuter, Michael A. reute...@ornl.govmailto:reute...@ornl.gov wrote: Hi, I have an application that I’m trying to conform back to git-master in preparation for the version 4.2 release. In the application, I used the pqPipelineRepresentation::colorByArray function to preset the colormap array before the data is rendered. I see that this function has been removed. I did a bit of digging and tried to use the following as a replacement (signal is our default array name): pqDataRepresentation *drep = objectBuilder-createDataRepresentation(…); vtkSMPropertyHelper(drep-getProxy(), “Representation”).Set(“Surface”); vtkSMPropertyHelper(drep-getProxy(), “ColorArrayName”).Set(“signal”); drep-getProxy()-UpdateVTKObjects(); However, this doesn’t seem to set the correct array as the view shows Solid Color for the array when it renders. I’m either invoking things incorrectly or at the wrong time, but I don’t know what. What am I missing or is there a more appropriate alternative to this method? Thanks, M Dr. Michael Reuter Scientific Data Analysis Group Neutron Data Analysis and Visualization Division Oak Ridge National Laboratory Office: 1-865-241-7216tel:1-865-241-7216 Fax: 1-865-574-6080tel:1-865-574-6080 Email: reute...@ornl.govmailto:reute...@ornl.govmailto:reute...@ornl.govmailto:reute...@ornl.gov ___ Powered by www.kitware.comhttp://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://public.kitware.com/mailman/listinfo/paraview ___ 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://public.kitware.com/mailman/listinfo/paraview
Re: [Paraview] Superbuild and Windows
I switched to Ninja and shortened up the paths, but what really got things working was passing the VTK_USE_SYSTEM_PYGMENTS down to the ParaView CMake config via the PV_EXTRA_CMAKE_ARGS. After that, the build went smoothly. I hit a snag on creating the package because I’m triggering the USE_SYSTEM_matplotlib option and the Projects/win32/paraview.bundle.cmake does not trap the copying of matplotlib related items when this flag is used. I see a similar issue in the Projects/apple/paraview.bundle.cmake file as well. I added a AND NOT USE_SYSTEM_matplotlib to the if (matplotlib_ENABLED) line and that fixed the generated cmake_install.cmake file and the package created fine. I’ve tested the resulting package and so far so good. M On Sep 3, 2014, at 10:24 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.commailto:utkarsh.ayac...@kitware.com wrote: Michael, Are you using VS generator? Can you switch to using Ninja? You can still use the MSVC compilers. The error is popping up when the build is trying to compiler the pygments *.py files. You'll get the same error later when it's trying to compile the ParaView *.py files. Also, another thing to note is that Windows has issues with long paths. So I'd suggest moving the superbuild source and build directories to something lower to avoid those e.g. C:/tmp/pvs-src and C:/tmp/pvs-build. Finally, if you're using VS2012, you'll need to use a system Python. Currently. the Python included in the superbuild is intended for VS2008. Also VS2012, is currently untested. As a first pass, if possible, I'd suggest using VS 2008. Once that's working, you can give VS2012 try. Hopefully, it should work (except the Python caveat), but I am always wary of VS version differences. Utkarsh On Wed, Sep 3, 2014 at 10:07 AM, Reuter, Michael A. reute...@ornl.govmailto:reute...@ornl.gov wrote: Hi, I’m having an issue with the ParaView Superbuild on Windows (VS2012). I get this error during the build process: 322 Compiling Python package 'pygments' 322 Listing C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib/site-packages/pygments ... 322 Listing C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib/site-packages/pygments\filters ... 322 Listing C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib/site-packages/pygments\formatters ... 322 Listing C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib/site-packages/pygments\lexers ... 322 Listing C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib/site-packages/pygments\styles ... 322 ImportError: No module named site 9C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(172,5): error MSB6006: cmd.exe exited with code 1. [C:\Users\2zr\Build\ParaView-Superbuild\paraview.vcxproj] 322 322Build FAILED. However, the site module exists when I run python. I’m building from a script so I can control the environment. Everything else seems to build just fine. However, nothing appears in the install directory for cpack to find. I can’t tell if this build error is disrupting the process or something else is going wrong. What controls the pygments build so I can shut it off for now? Thanks, M Dr. Michael Reuter Scientific Data Analysis Group Neutron Data Analysis and Visualization Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.govmailto:reute...@ornl.gov ___ Powered by www.kitware.comhttp://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://public.kitware.com/mailman/listinfo/paraview ___ 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://public.kitware.com/mailman/listinfo/paraview
Re: [Paraview] Superbuild and OSX
Thanks for the update. I’m actually building on Mavericks, but our project is still supporting Mountain Lion so it will be good to have it work there. M On Sep 3, 2014, at 11:57 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.commailto:utkarsh.ayac...@kitware.com wrote: Michael, Hold off on using the superbuild on MountainLion for now. I'll track the issues down and then let you know. Utkarsh On Wed, Sep 3, 2014 at 6:23 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.commailto:utkarsh.ayac...@kitware.com wrote: Michael, Let me try this on a Moutain Lion myself and I'll let you know. What projects are you turning on in your build? Utkarsh On Wed, Sep 3, 2014 at 2:40 PM, Reuter, Michael A. reute...@ornl.govmailto:reute...@ornl.gov wrote: This gets around the clang argument problem, but the ParaView CMake configuration step still fails for an unknown reason. M On Sep 3, 2014, at 10:28 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.commailto:utkarsh.ayac...@kitware.commailto:utkarsh.ayac...@kitware.com wrote: Cherry-pick this fix for now : http://review.source.kitware.com/#/c/16665/ It'll go into master soon. Ben, anything this fix is waiting on? Utkarsh On Wed, Sep 3, 2014 at 9:42 AM, Reuter, Michael A. reute...@ornl.govmailto:reute...@ornl.govmailto:reute...@ornl.gov wrote: Hi, I’m having trouble getting the git-master version of the Superbuild running on OSX (10.9) with clang (5.1). Setting the CMAKE_OSX_SYSROOT variable causes the following error during CMake (2.8.12.2) generation for the ParaView subproject: -- The C compiler identification is unknown -- The CXX compiler identification is unknown -- Check for working C compiler using: Ninja -- Check for working C compiler using: Ninja -- broken CMake Error at /Applications/CMake 2.8-12.app/Contents/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message): The C compiler /usr/bin/cc is not able to compile a simple test program. It fails with the following output: Change Dir: /Users/2zr/build/ParaView-Superbuild/paraview/src/paraview-build/CMakeFiles/CMakeTmp Run Build Command:/usr/local/bin/ninja cmTryCompileExec4050157075 [1/2] Building C object CMakeFiles/cmTryCompileExec4050157075.dir/testCCompiler.c.o FAILED: /usr/bin/cc -fPIC -arch x86_64 -mmacosx-version-min=10.9 -sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -o CMakeFiles/cmTryCompileExec4050157075.dir/testCCompiler.c.o -c testCCompiler.c clang: error: unknown argument: '-sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk' [-Wunused-command-line-argument-hard-error-in-future] clang: note: this will be a hard error (cannot be downgraded to a warning) in the future ninja: build stopped: subcommand failed. Even if I empty the CMAKE_OSX_SYSROOT variable, the system still tries to pass an empty -sysroot flag to clang causing it to choke. I removed the sysroot flag from the top-level CMakeLists.txt, but then the ParaView CMake setup fails for a reason I can’t seem to understand. I’m attaching the log showing the CMake output. The only obvious thing I see is the Fortran compiler. Is that required? Thanks, M Dr. Michael Reuter Scientific Data Analysis Group Neutron Data Analysis and Visualization Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.govmailto:reute...@ornl.govmailto:reute...@ornl.gov ___ Powered by www.kitware.comhttp://www.kitware.comhttp://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://public.kitware.com/mailman/listinfo/paraview ___ 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://public.kitware.com/mailman/listinfo/paraview
[Paraview] QuadView option
Hi, I’m looking for the option that turns off the outline in the 3D panel in the Quad View in ParaView git-master. This used to be in the view settings dialog, but that no longer exists and the settings dialog doesn’t seem to have it unless I missed it. The Slice View has a similar option in the Properties panel under Background, but nothing appears there for the Quad View. Thanks, M Dr. Michael Reuter Scientific Data Analysis Group Neutron Data Analysis and Visualization Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.govmailto:reute...@ornl.gov ___ 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://public.kitware.com/mailman/listinfo/paraview
Re: [Paraview] QuadView option
Hi Utkarsh, The outline only comes into effect when using the Slices representation in the Quad View. If you use the Surface rep, there is no outline. M On Sep 4, 2014, at 11:38 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.commailto:utkarsh.ayac...@kitware.com wrote: Can someone explain what this option is supposed to do? Even in 3.98.1 it has no effect for me, or at least I don't see anything change. On Thu, Sep 4, 2014 at 11:30 AM, Sebastien Jourdain sebastien.jourd...@kitware.commailto:sebastien.jourd...@kitware.com wrote: On my Mac from yesterday's master, the option does allow me to toggle the outline. I just forgot about that Slices representation... On Thu, Sep 4, 2014 at 9:25 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.commailto:utkarsh.ayac...@kitware.com wrote: I think the Show Outline in 3D View on the Properties panel is indeed the right option. The fact that it has no effect is a bug. Utkarsh On Thu, Sep 4, 2014 at 11:20 AM, Reuter, Michael A. reute...@ornl.govmailto:reute...@ornl.gov wrote: I’m providing a screenshot showing the option (Show Outline in 3D View) that appears in the View Settings dialog box in PV 3.98.1. The dialog was available from Edit/View Settings menu option. The 3D outline was effective when the Slice representation is used. This also brings up another issue. All the options that are in this dialog are not available either. I use the Quad View in a user distributed program and some of them use these options. They aren’t going to be happy when the upgrade removes them. M [cid:3662796F-3858-454F-9AF6-C956B97353FA@ornl.govmailto:3662796f-3858-454f-9af6-c956b9735...@ornl.gov] On Sep 4, 2014, at 10:50 AM, Sebastien Jourdain sebastien.jourd...@kitware.commailto:sebastien.jourd...@kitware.commailto:sebastien.jourd...@kitware.com wrote: Hi Michael, I don't think there is such option. In fact, this must be due to the representation be set to Outline in the toolbar. If you change it to Surface of Wireframe you should not see anymore the outline. Seb On Thu, Sep 4, 2014 at 8:09 AM, Reuter, Michael A. reute...@ornl.govmailto:reute...@ornl.govmailto:reute...@ornl.gov wrote: Hi, I’m looking for the option that turns off the outline in the 3D panel in the Quad View in ParaView git-master. This used to be in the view settings dialog, but that no longer exists and the settings dialog doesn’t seem to have it unless I missed it. The Slice View has a similar option in the Properties panel under Background, but nothing appears there for the Quad View. Thanks, M Dr. Michael Reuter Scientific Data Analysis Group Neutron Data Analysis and Visualization Division Oak Ridge National Laboratory Office: 1-865-241-7216tel:1-865-241-7216 Fax: 1-865-574-6080tel:1-865-574-6080 Email: reute...@ornl.govmailto:reute...@ornl.govmailto:reute...@ornl.govmailto:reute...@ornl.govmailto:reute...@ornl.gov ___ Powered by www.kitware.comhttp://www.kitware.comhttp://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://public.kitware.com/mailman/listinfo/paraview ___ 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://public.kitware.com/mailman/listinfo/paraview ___ 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://public.kitware.com/mailman/listinfo/paraview
Re: [Paraview] QuadView option
From what I gathered from my users, I think what’s in the Miscellaneous group should have default visibility and the rest can go to advanced. I think that’s where part of my confusion came from was that things have moved around and views have advanced panels. Error code 18, replace user and try again. Thanks for “setting” me straight. Cheers, M On Sep 4, 2014, at 12:09 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Attached is the patch (will be in git/master after next gatekeeper review). I made all the properties default to avoid confusion. Michael, feel free to suggest better default visibility options. Thanks Utkarsh On Thu, Sep 4, 2014 at 12:00 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: BTW, I am pushing an update to the git repo to better organize the properties on the Properties panel for the Quad View. On Thu, Sep 4, 2014 at 11:56 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Alright, here's the final diagnosis :): It's works as Seb was saying. What I was missing that I had not selected the Slices representation. Once Slices representation is chosen, the Show outline in 3D view option starts working. This is indeed the way the view behaves in 3.98.1 as well. Utkarsh On Thu, Sep 4, 2014 at 11:38 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Can someone explain what this option is supposed to do? Even in 3.98.1 it has no effect for me, or at least I don't see anything change. On Thu, Sep 4, 2014 at 11:30 AM, Sebastien Jourdain sebastien.jourd...@kitware.com wrote: On my Mac from yesterday's master, the option does allow me to toggle the outline. I just forgot about that Slices representation... On Thu, Sep 4, 2014 at 9:25 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: I think the Show Outline in 3D View on the Properties panel is indeed the right option. The fact that it has no effect is a bug. Utkarsh On Thu, Sep 4, 2014 at 11:20 AM, Reuter, Michael A. reute...@ornl.gov wrote: I’m providing a screenshot showing the option (Show Outline in 3D View) that appears in the View Settings dialog box in PV 3.98.1. The dialog was available from Edit/View Settings menu option. The 3D outline was effective when the Slice representation is used. This also brings up another issue. All the options that are in this dialog are not available either. I use the Quad View in a user distributed program and some of them use these options. They aren’t going to be happy when the upgrade removes them. M [cid:3662796F-3858-454F-9AF6-C956B97353FA@ornl.gov] On Sep 4, 2014, at 10:50 AM, Sebastien Jourdain sebastien.jourd...@kitware.commailto:sebastien.jourd...@kitware.com wrote: Hi Michael, I don't think there is such option. In fact, this must be due to the representation be set to Outline in the toolbar. If you change it to Surface of Wireframe you should not see anymore the outline. Seb On Thu, Sep 4, 2014 at 8:09 AM, Reuter, Michael A. reute...@ornl.govmailto:reute...@ornl.gov wrote: Hi, I’m looking for the option that turns off the outline in the 3D panel in the Quad View in ParaView git-master. This used to be in the view settings dialog, but that no longer exists and the settings dialog doesn’t seem to have it unless I missed it. The Slice View has a similar option in the Properties panel under Background, but nothing appears there for the Quad View. Thanks, M Dr. Michael Reuter Scientific Data Analysis Group Neutron Data Analysis and Visualization Division Oak Ridge National Laboratory Office: 1-865-241-7216tel:1-865-241-7216 Fax: 1-865-574-6080tel:1-865-574-6080 Email: reute...@ornl.govmailto:reute...@ornl.govmailto:reute...@ornl.govmailto:reute...@ornl.gov ___ Powered by www.kitware.comhttp://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://public.kitware.com/mailman/listinfo/paraview ___ 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://public.kitware.com/mailman/listinfo/paraview 0001-Update-default-property-visibility-and-grouping-for-.patch ___ 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
[Paraview] Superbuild and OSX
Hi, I’m having trouble getting the git-master version of the Superbuild running on OSX (10.9) with clang (5.1). Setting the CMAKE_OSX_SYSROOT variable causes the following error during CMake (2.8.12.2) generation for the ParaView subproject: -- The C compiler identification is unknown -- The CXX compiler identification is unknown -- Check for working C compiler using: Ninja -- Check for working C compiler using: Ninja -- broken CMake Error at /Applications/CMake 2.8-12.app/Contents/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message): The C compiler /usr/bin/cc is not able to compile a simple test program. It fails with the following output: Change Dir: /Users/2zr/build/ParaView-Superbuild/paraview/src/paraview-build/CMakeFiles/CMakeTmp Run Build Command:/usr/local/bin/ninja cmTryCompileExec4050157075 [1/2] Building C object CMakeFiles/cmTryCompileExec4050157075.dir/testCCompiler.c.o FAILED: /usr/bin/cc -fPIC -arch x86_64 -mmacosx-version-min=10.9 -sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -o CMakeFiles/cmTryCompileExec4050157075.dir/testCCompiler.c.o -c testCCompiler.c clang: error: unknown argument: '-sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk' [-Wunused-command-line-argument-hard-error-in-future] clang: note: this will be a hard error (cannot be downgraded to a warning) in the future ninja: build stopped: subcommand failed. Even if I empty the CMAKE_OSX_SYSROOT variable, the system still tries to pass an empty -sysroot flag to clang causing it to choke. I removed the sysroot flag from the top-level CMakeLists.txt, but then the ParaView CMake setup fails for a reason I can’t seem to understand. I’m attaching the log showing the CMake output. The only obvious thing I see is the Fortran compiler. Is that required? Thanks, M Dr. Michael Reuter Scientific Data Analysis Group Neutron Data Analysis and Visualization Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.gov {\rtf1\ansi\ansicpg1252\cocoartf1265\cocoasubrtf210 {\fonttbl\f0\froman\fcharset0 Times-Roman;} {\colortbl;\red255\green255\blue255;} \margl1440\margr1440\vieww10800\viewh8400\viewkind0 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural \f0\fs36 \cf0 \cb1 \CocoaLigature0 -- The C compiler identification is Clang 5.1.0\ -- The CXX compiler identification is Clang 5.1.0\ -- Check for working C compiler using: Ninja\ -- Check for working C compiler using: Ninja -- works\ -- Detecting C compiler ABI info\ -- Detecting C compiler ABI info - done\ -- Check for working CXX compiler using: Ninja\ -- Check for working CXX compiler using: Ninja -- works\ -- Detecting CXX compiler ABI info\ -- Detecting CXX compiler ABI info - done\ -- Found Git: /usr/local/bin/git (found version 1.8.4) \ -- Determined Source Version : 4.2.0-RC1\ -- Looking for a Fortran compiler\ -- Looking for a Fortran compiler - NOTFOUND\ -- Looking for Q_WS_X11\ -- Looking for Q_WS_X11 - not found\ -- Looking for Q_WS_WIN\ -- Looking for Q_WS_WIN - not found\ -- Looking for Q_WS_QWS\ -- Looking for Q_WS_QWS - not found\ -- Looking for Q_WS_MAC\ -- Looking for Q_WS_MAC - found\ -- Looking for QT_MAC_USE_COCOA\ -- Looking for QT_MAC_USE_COCOA - found\ -- Found Qt4: /usr/local/bin/qmake (found suitable version 4.8.6, minimum required is 4.7.0) \ -- Performing Test Support for 64 bit file systems\ -- Performing Test Support for 64 bit file systems - Success\ -- Performing Test VTK_CONST_REVERSE_ITERATOR_COMPARISON\ -- Performing Test VTK_CONST_REVERSE_ITERATOR_COMPARISON - Success\ -- Check if the system is big endian\ -- Searching 16 bit integer\ -- Looking for sys/types.h\ -- Looking for sys/types.h - found\ -- Looking for stdint.h\ -- Looking for stdint.h - found\ -- Looking for stddef.h\ -- Looking for stddef.h - found\ -- Check size of unsigned short\ -- Check size of unsigned short - done\ -- Using unsigned short\ -- Check if the system is big endian - little endian\ -- Looking for include file pthread.h\ -- Looking for include file pthread.h - found\ -- Looking for pthread_create\ -- Looking for pthread_create - found\ -- Found Threads: TRUE \ -- Looking for C++ include iostream\ -- Looking for C++ include iostream - found\ -- Check for STD namespace\ -- Check for STD namespace - found\ -- Check for ANSI scope\ -- Check for ANSI scope - found\ -- Check for sstream\ -- Check for sstream - found\ -- Check size of int\ -- Check size of int - done\ -- Check size of long\ -- Check size of long - done\ -- Check size of char\ -- Check size of char - done\ -- Check size of short\ -- Check size of short - done\ -- Check size of float\ -- Check size of float - done\ -- Check size of double\ -- Check size of double - done\ -- Check size of long long\ -- Check size of long long -
[Paraview] Superbuild and Windows
Hi, I'm having an issue with the ParaView Superbuild on Windows (VS2012). I get this error during the build process: 322 Compiling Python package 'pygments' 322 Listing C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib/site-packages/pygments ... 322 Listing C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib/site-packages/pygments\filters ... 322 Listing C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib/site-packages/pygments\formatters ... 322 Listing C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib/site-packages/pygments\lexers ... 322 Listing C:/Users/2zr/Build/ParaView-Superbuild/paraview/src/paraview-build/lib/site-packages/pygments\styles ... 322 ImportError: No module named site 9C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(172,5): error MSB6006: cmd.exe exited with code 1. [C:\Users\2zr\Build\ParaView-Superbuild\paraview.vcxproj] 322 322Build FAILED. However, the site module exists when I run python. I'm building from a script so I can control the environment. Everything else seems to build just fine. However, nothing appears in the install directory for cpack to find. I can't tell if this build error is disrupting the process or something else is going wrong. What controls the pygments build so I can shut it off for now? Thanks, M Dr. Michael Reuter Scientific Data Analysis Group Neutron Data Analysis and Visualization Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.govmailto:reute...@ornl.gov ___ 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://public.kitware.com/mailman/listinfo/paraview
Re: [Paraview] Superbuild and OSX
This gets around the clang argument problem, but the ParaView CMake configuration step still fails for an unknown reason. M On Sep 3, 2014, at 10:28 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.commailto:utkarsh.ayac...@kitware.com wrote: Cherry-pick this fix for now : http://review.source.kitware.com/#/c/16665/ It'll go into master soon. Ben, anything this fix is waiting on? Utkarsh On Wed, Sep 3, 2014 at 9:42 AM, Reuter, Michael A. reute...@ornl.govmailto:reute...@ornl.gov wrote: Hi, I’m having trouble getting the git-master version of the Superbuild running on OSX (10.9) with clang (5.1). Setting the CMAKE_OSX_SYSROOT variable causes the following error during CMake (2.8.12.2) generation for the ParaView subproject: -- The C compiler identification is unknown -- The CXX compiler identification is unknown -- Check for working C compiler using: Ninja -- Check for working C compiler using: Ninja -- broken CMake Error at /Applications/CMake 2.8-12.app/Contents/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message): The C compiler /usr/bin/cc is not able to compile a simple test program. It fails with the following output: Change Dir: /Users/2zr/build/ParaView-Superbuild/paraview/src/paraview-build/CMakeFiles/CMakeTmp Run Build Command:/usr/local/bin/ninja cmTryCompileExec4050157075 [1/2] Building C object CMakeFiles/cmTryCompileExec4050157075.dir/testCCompiler.c.o FAILED: /usr/bin/cc -fPIC -arch x86_64 -mmacosx-version-min=10.9 -sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -o CMakeFiles/cmTryCompileExec4050157075.dir/testCCompiler.c.o -c testCCompiler.c clang: error: unknown argument: '-sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk' [-Wunused-command-line-argument-hard-error-in-future] clang: note: this will be a hard error (cannot be downgraded to a warning) in the future ninja: build stopped: subcommand failed. Even if I empty the CMAKE_OSX_SYSROOT variable, the system still tries to pass an empty -sysroot flag to clang causing it to choke. I removed the sysroot flag from the top-level CMakeLists.txt, but then the ParaView CMake setup fails for a reason I can’t seem to understand. I’m attaching the log showing the CMake output. The only obvious thing I see is the Fortran compiler. Is that required? Thanks, M Dr. Michael Reuter Scientific Data Analysis Group Neutron Data Analysis and Visualization Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.govmailto:reute...@ornl.gov ___ Powered by www.kitware.comhttp://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://public.kitware.com/mailman/listinfo/paraview ___ 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://public.kitware.com/mailman/listinfo/paraview
[Paraview] Programmatic access to Probe Location point
Hi, I'm trying to programmatically (C++) access the point coordinates displayed by the property panel widget after the p key is pressed. I have a pqPipelineSource pointer from when I created the Probe Location filter, but I can't seem to find any properties (tried Point, Center, WorldPosition) on the proxy that work. I also tried accessing those properties via the source proxy, but no luck either. If the proxy has the information, what is the correct property name? If not, where do I need to be looking? Thanks, M Dr. Michael Reuter Data Analysis and Visualization Group Neutron Data Analysis and Visualization Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.gov ___ 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] Packaging ParaView
I tried the superbuild route and started simple by making only two modifications: Changing the ParaView git tag to v3.98.1 and setting the PARAVIEW_BUILD_QT_GUI to ON but not enabling Qt. OSX worked like charm and the resulting package works. When I went to Windows, the package wouldn't go through the install step. I chased my tail for a bit and finally found the problem. We have to build PV without Python due an incompatibility between PV and our software (haven't had time to debug yet). However, the Windows install step was choking on pvbatch and pvpython not being present. I found that the Projects/win32/paraview.bundle.cmake file wasn't properly trapped for that. Once I fixed that, everything went smoothly and the package works. I'm attaching the patch. Cheers, M On 4/16/13 9:06 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Michael, Superbuild can indeed be customized to suit your needs. However, you'll have to start with a new fork of the repo. As the wiki explains, http://paraview.org/Wiki/ParaView/Superbuild, the Superbuild simply builds all needed projects and then builds paraview (Look at paraview.cmake). It also include rules for each of OS to create a bundle/package (paraview.bundle.cmake). Create a new fork with just paraview.cmake, paraview.build.cmake, paraview.bundle.common.cmake (and the fixup scripts for OSX) and then customize these files as per your needs i.e. tell ParaView to use Qt/HDF from your build, adjust paraview.bundle.cmake to package extra dependencies, among others. You can edit the top-level CMakeLists.txt to remove the include(..) calls to dependencies you are no longer building as part of the superbuild (or add new ones). Hope that helps. Feel free to holler if you run into issues or need further explanations. Utkarsh On Mon, Apr 15, 2013 at 3:18 PM, Reuter, Michael A. reute...@ornl.gov wrote: Hi, I'm trying to package ParaView with our build options, but it looks like the CPackParaViewConfig.cmake file is no longer available in 3.98.1, unless I missed a CMake variable. I've been looking at two ways to handle this: superbuild and rebranding. I really don't need to rebrand ParaView, as we aren't wrapping in any new functionality. So, I was thinking of going with the superbuild. Can the superbuild be made to only package ParaView provided libraries and plugins? Our analysis package which uses ParaView functionality already provides many of the same dependencies (Qt, HDF) and we build ParaView against these. Therefore, we don't need to duplicate them in the installation package. Thanks, M Dr. Michael Reuter Data Analysis and Visualization Group Neutron Data Analysis and Visualization Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.gov ___ 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 win32-pv-bundle.patch Description: win32-pv-bundle.patch ___ 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] Superbuild 3.98.1
Find the ParaView git line in the versions.cmake file and change the GIT_TAG to v3.98.1. That worked for me. Cheers, M Dr. Michael Reuter Data Analysis and Visualization Group Neutron Data Analysis and Visualization Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.gov From: Angelini, Richard C CIV USARMY ARL (RickUS) richard.c.angelini@mail.milmailto:richard.c.angelini@mail.mil Date: Friday, April 19, 2013 8:39 AM To: paraview@paraview.orgmailto:paraview@paraview.org paraview@paraview.orgmailto:paraview@paraview.org Subject: [Paraview] Superbuild 3.98.1 I've been playing around with SuperBuild and it seems to working correct. But, it also seems to be pulling the most recent source updates from the git repository. Is there a way use SuperBuild to only build the most recent production release (3.98.1)? Thanks Rick Angelini USArmy Research Laboratory CISD/HPC Architectures Team Building 120 Cube 315 Phone: 410-278-6266 ___ 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] Packaging ParaView
Hi, I'm trying to package ParaView with our build options, but it looks like the CPackParaViewConfig.cmake file is no longer available in 3.98.1, unless I missed a CMake variable. I've been looking at two ways to handle this: superbuild and rebranding. I really don't need to rebrand ParaView, as we aren't wrapping in any new functionality. So, I was thinking of going with the superbuild. Can the superbuild be made to only package ParaView provided libraries and plugins? Our analysis package which uses ParaView functionality already provides many of the same dependencies (Qt, HDF) and we build ParaView against these. Therefore, we don't need to duplicate them in the installation package. Thanks, M Dr. Michael Reuter Data Analysis and Visualization Group Neutron Data Analysis and Visualization Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.gov ___ 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] State files and plugins
Hi Seb, I looked at this a bit closer and I see that when loading the state file the RequestInformation function is being executed for our plugins, but RequestData is not. Is this the expected behavior or is something wrong with our plugins? Thanks, M From: Sebastien Jourdain sebastien.jourd...@kitware.commailto:sebastien.jourd...@kitware.com Date: Thursday, March 28, 2013 5:38 PM To: Michael Reuter reute...@ornl.govmailto:reute...@ornl.gov Cc: paraview@paraview.orgmailto:paraview@paraview.org paraview@paraview.orgmailto:paraview@paraview.org Subject: Re: [Paraview] State files and plugins When a state file is read, ParaView will create the proxy the same way as they used to be with the same set of values for their properties. That's about it, nothing special regarding the RequestInformation and RequestData. The only thing that could happen is if your plugin classes expect a certain ordering in property setting and so on, this may cause some issue, as we basically set the state in a 'random' order. Seb On Thu, Mar 28, 2013 at 1:27 PM, Reuter, Michael A. reute...@ornl.govmailto:reute...@ornl.gov wrote: Hi, I have a dumb question about state files. When a plugin is called while loading a state file, what function calls are executed on the plugin? I'm specifically wondering about RequestInformation and RequestData. Thanks, M Dr. Michael Reuter Data Analysis and Visualization Group Neutron Data Analysis and Visualization Division Oak Ridge National Laboratory Office: 1-865-241-7216tel:1-865-241-7216 Fax: 1-865-574-6080tel:1-865-574-6080 Email: reute...@ornl.govmailto:reute...@ornl.gov ___ Powered by www.kitware.comhttp://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 ___ 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] State files and plugins
Hi, I have a dumb question about state files. When a plugin is called while loading a state file, what function calls are executed on the plugin? I'm specifically wondering about RequestInformation and RequestData. Thanks, M Dr. Michael Reuter Data Analysis and Visualization Group Neutron Data Analysis and Visualization Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.gov ___ 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] Outline in Slice View
Hi, Is there an option to turn off the outline shown in the Slice View? If not, can one be added? Thanks, M Dr. Michael Reuter Data Analysis and Visualization Group Neutron Data Analysis and Visualization Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.gov ___ 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] Pick object
Hi, I'm trying to figure out what the pick object button on the ParaView GUI does. I have been hunting around for documentation, but searching both the wiki and inline PV documentation turns up no references. Can anyone tell me how to use it properly or point me to missed documentation? The button seems to do nothing for me no matter how I try to use it. Thanks, M Dr. Michael Reuter Data Analysis and Visualization Group Neutron Data Analysis and Visualization Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.gov ___ 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] Pick object
Thanks for the clarification. That's not what I was hoping it would do. Question forthcoming. Cheers, M On 1/14/13 2:00 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Michael, Pick simply makes the source/filter active in the pipeline browser. Utkarsh On Mon, Jan 14, 2013 at 12:01 PM, Reuter, Michael A. reute...@ornl.gov wrote: Hi, I'm trying to figure out what the pick object button on the ParaView GUI does. I have been hunting around for documentation, but searching both the wiki and inline PV documentation turns up no references. Can anyone tell me how to use it properly or point me to missed documentation? The button seems to do nothing for me no matter how I try to use it. Thanks, M Dr. Michael Reuter Data Analysis and Visualization Group Neutron Data Analysis and Visualization Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.gov ___ 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 ___ 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] External plugin menu behavior
I tried Plot Over Line, Clip and Histogram. Now those are gone from their original menus. M On 1/3/13 3:20 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Sounds like a bug to me. Any details on how I could try to reproduce this? If you could reproduce with one of the packaged plugins or examples, that'd be even better. Utkarsh On Thu, Jan 3, 2013 at 3:04 PM, Michael Reuter reute...@ornl.gov wrote: Hi, I have a set of external plugins that we have made a menu entry that is visible in the ParaView GUI Filters menu. I'm seeing a strange problem in ParaView 3.98. When I use a plugin for the first time, all is fine. However, when I exit PV, restart and go to use the same plugin, the entry is missing from our menu. It is in the Filters/Recent menu entry and is still searchable. Does anyone know why the original menu entry would be deleted? I blew away my config file and tried again, but I see the same behavior. Thanks, M -- Dr. Michael Reuter Data Analaysis and Visualization Group Neutron Data Analysis and Visualization Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.gov ___ 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 ___ 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] Connecting glyph filter with data
Hi Utkarsh, I love one line changes. Works like a charm. Thanks, M On 1/2/13 3:09 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Michael, In vtkPeaksReader::RequestData, instead of glyphFilter-SetSourceData(sphere-GetOutput()), do EITHER glyphFilter-SetSourceConnection(sphere-GetOutputPort()) OR sphere-Update() glyphFilter-SetSourceData(sphere-GetOutput()) Unlike the old SetInput()/SetSource() methods, SetInputData()/SetSourceData() don't set the pipeline connections between the produces and consumers. So when you called SetSourceData(sphere-GetOutput()), the current state of the output of vtkSphereSource was passed on to the glyph filter. Since the SphereSource hadn't executed yet, it was empty. So we can fix the problem by either setting up a true pipeline connection (using SetSourceConnection) or by ensuring that the SphereSource has produced valid data by calling sphere-Update() Utkarsh On Wed, Jan 2, 2013 at 10:50 AM, Michael Reuter reute...@ornl.gov wrote: Hi, I have a plugin which I'm trying to get working in ParaView 3.98. The source code for the plugin can be found here: http://github.com/mantidproject/mantid/blob/6315_build_pv_398/Code/Mantid /Vates/ParaviewPlugins/ParaViewReaders/PeaksReader/vtkPeaksReader.cxx. After fixing function calls on the vtkPVGlyphFilter to get it to compile (lines 96 and 97), the plugin crashes at the vtkGlyphFilter::Update() call on vtkPoints::GetNumberOfPoints(). I checked the structuredMesh (it's actually a vtkUnstructuredGrid) object used in the vtkGlyphFilter::SetInputData() call and found that it does contain data points (40 for the particular file I'm looking at). I did some digging about the vtkGlyphFilter::SetInputData() and found that it no longer sets up a pipeline connection. I think this might be the cause of the glyph filter not finding any data, but I'm unsure. However, I'm having trouble figuring out how to use vtkGlyphFilter::SetInputConnection() and the structuredMesh object. Is there anyway to make this work using the structuredMesh object or is the best thing to make another plugin to create the structuredMesh and then do vtkGlyphFilter::SetInputConnection(newPlugin-GetOutputPort()) and remove the vtkGlyphFilter::SetInputData() call? Thanks, M -- Dr. Michael Reuter Data Analaysis and Visualization Group Neutron Data Analysis and Visualization Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.gov ___ 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 ___ 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] Setting a color map
Thanks for the tip on the LUT modification. I finally got to put this into action and it work great. M On 6/13/11 4:33 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: I couldn't find any code that converts a pqColorMapModel to properties on the LUT proxy directly. However, once you get access to the existing LUT proxy on the representation, it shouldn't be too hard to map the scalar+color values from the pqColorMapModel to the RGBPoints on the LUT proxy. To access the LUT proxy you can use pqDataRepresentation::getLookupTableProxy(). There's code in pqColorScaleEditor::loadPreset that may help, but it doesn't update the proxy directly. Utkarsh On Mon, Jun 13, 2011 at 10:38 AM, Reuter, Michael A. reute...@ornl.gov wrote: My current situation is that the user has already chosen an array to color by. I'm then using the handy dialog box provided by the pqColorPresetManager to allow the user to select a new colormap. I retrieve the pqColorMapModel from the selection and then I want to apply the new colormap to the current color array. Cheers, M On 6/13/11 9:08 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Out of curiosity, how was the pqColorMapModel created? It's generally easier to directly manipulate the properties of a lookup table proxy. To provide you with the easiest path forward, I was wondering what your setup is. Has the user chosen the array to color by and now you want to change the existing LUT's properties or do you want to setup a brand new LUT for this representation. In case of former, any other representation being colored with the same array will automatically use your changed LUT, which won't be the case with the latter. Utkarsh On Fri, Jun 10, 2011 at 1:35 PM, Reuter, Michael A. reute...@ornl.gov wrote: Hi, I have a pqColorMapModel that I want to programmatically (C++) set on a pqPipelineRepresentation. I've been looking at the code and thought that the way forward was via pqScalarsToColors and setting the LookupTable property on the representation. However, I don't see a way to translate between the pqColorMapModel and pqScalarsToColors. What is the correct way to handle this situation? Thanks, M Dr. Michael Reuter Scientific Data Analysis Group Neutron Scattering Science Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.govmailto:reute...@ornl.gov ___ Powered by www.kitware.com Visit other Kitware open-source projects at blockedblockedhttp://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: blockedblockedhttp://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: blockedblockedhttp://www.paraview.org/mailman/listinfo/paraview ___ 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] Setting a color map
My current situation is that the user has already chosen an array to color by. I'm then using the handy dialog box provided by the pqColorPresetManager to allow the user to select a new colormap. I retrieve the pqColorMapModel from the selection and then I want to apply the new colormap to the current color array. Cheers, M On 6/13/11 9:08 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Out of curiosity, how was the pqColorMapModel created? It's generally easier to directly manipulate the properties of a lookup table proxy. To provide you with the easiest path forward, I was wondering what your setup is. Has the user chosen the array to color by and now you want to change the existing LUT's properties or do you want to setup a brand new LUT for this representation. In case of former, any other representation being colored with the same array will automatically use your changed LUT, which won't be the case with the latter. Utkarsh On Fri, Jun 10, 2011 at 1:35 PM, Reuter, Michael A. reute...@ornl.gov wrote: Hi, I have a pqColorMapModel that I want to programmatically (C++) set on a pqPipelineRepresentation. I've been looking at the code and thought that the way forward was via pqScalarsToColors and setting the LookupTable property on the representation. However, I don't see a way to translate between the pqColorMapModel and pqScalarsToColors. What is the correct way to handle this situation? Thanks, M Dr. Michael Reuter Scientific Data Analysis Group Neutron Scattering Science Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.govmailto:reute...@ornl.gov ___ Powered by www.kitware.com Visit other Kitware open-source projects at blockedhttp://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: blockedhttp://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: blockedhttp://www.paraview.org/mailman/listinfo/paraview ___ 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] Setting a color map
Hi, I have a pqColorMapModel that I want to programmatically (C++) set on a pqPipelineRepresentation. I've been looking at the code and thought that the way forward was via pqScalarsToColors and setting the LookupTable property on the representation. However, I don't see a way to translate between the pqColorMapModel and pqScalarsToColors. What is the correct way to handle this situation? Thanks, M Dr. Michael Reuter Scientific Data Analysis Group Neutron Scattering Science Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.govmailto:reute...@ornl.gov ___ 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] Applying filters in sample app
Thanks for the tip. I got it to connect and work. Cheers, M On 3/29/11 10:56 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: The plane widget has a setVisiblity slot, you can connect the checkbox to that slot. Utkarsh On Tue, Mar 29, 2011 at 10:16 AM, Reuter, Michael A. reute...@ornl.gov wrote: Hi Utkarsh, Thank you for the code. It works fine and gets me almost to where I want. When I use the implicit plane with the cut filter, I'm pulling up an object inspector widget for it. Is there a way I can attach the visibility of the plane to the check box in the inspector? Cheers, M On 3/25/11 7:54 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Guys, Attached is a patch that demonstrates the use of 3D widgets for manipulating clip plane. Utkarsh On Fri, Mar 25, 2011 at 8:06 AM, owen.arn...@stfc.ac.uk wrote: Hi Utkarsh, I'd also like to see a coded example of this in action. If you have something, could you post it to the list. Many thanks, Owen. -Original Message- From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On Behalf Of Reuter, Michael A. Sent: 21 March 2011 14:08 To: Utkarsh Ayachit Cc: paraview@paraview.org Subject: Re: [Paraview] Applying filters in sample app Hi Utkarsh, Thanks for the response. It would be greatly appreciated if you have the time to provide some code for setting up the implicit plane. I have continued to try and diagnose things myself without much luck. Thanks, M On 3/18/11 10:49 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Michael, The interactive-widgets such as implicit plane widget are created by the Properties panel to help user change some of the properties for the filter. So yes, if your example, you will not see the implicit plane widget at all. You'll have to manually create it and set it up to update the properties of the clip filter as the user moves it. It can be a bit tricky. But maybe I can hack up some code in your example to show the implicit plane if you'd like. Utkarsh On Wed, Mar 16, 2011 at 2:01 PM, Reuter, Michael A. reute...@ornl.gov wrote: Hi Utkarsh, Thanks, that did the trick. I'm also trying to get an ImplicitPlaneWidget (IPW) up at the same time. Is the default behavior for the IPW to be invisible? M On 3/15/11 3:10 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: You're simply missing a line to hide the previous representation. I just added in mpMainWindow::onCutButtonClicked before the render() call and the slice shows up. this-ActiveSourceRepr-setVisible(false); Utkarsh On Tue, Mar 15, 2011 at 12:17 PM, Reuter, Michael A. reute...@ornl.gov wrote: Hi, I'm working on a sample application and I've been trying to make a cut appear on the data that is being viewed. I've followed the methodology used in the QuickContour application in my application, but the cut never appears on the data view. I'm using the data file associated with the QuickContour application to test my application. I'm guessing I'm just not understanding the required setup logic for behaviors and reactions in order to get the cut to apply. If anyone can see where I'm being dumb, my code is located here: https://github.com/mareuter/PVMockupGui. The cut is being applied in the mpMainWindow class in mpMainWindow::onCutButtonClicked. I am currently compiling against the ParaView git master on Ubuntu. Thanks, M Dr. Michael Reuter Scientific Data Analysis Group Neutron Scattering Science Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.gov ___ 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 ___ 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 -- Scanned by iCritical. ___ 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] Applying filters in sample app
Hi Utkarsh, Thanks for the response. It would be greatly appreciated if you have the time to provide some code for setting up the implicit plane. I have continued to try and diagnose things myself without much luck. Thanks, M On 3/18/11 10:49 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Michael, The interactive-widgets such as implicit plane widget are created by the Properties panel to help user change some of the properties for the filter. So yes, if your example, you will not see the implicit plane widget at all. You'll have to manually create it and set it up to update the properties of the clip filter as the user moves it. It can be a bit tricky. But maybe I can hack up some code in your example to show the implicit plane if you'd like. Utkarsh On Wed, Mar 16, 2011 at 2:01 PM, Reuter, Michael A. reute...@ornl.gov wrote: Hi Utkarsh, Thanks, that did the trick. I'm also trying to get an ImplicitPlaneWidget (IPW) up at the same time. Is the default behavior for the IPW to be invisible? M On 3/15/11 3:10 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: You're simply missing a line to hide the previous representation. I just added in mpMainWindow::onCutButtonClicked before the render() call and the slice shows up. this-ActiveSourceRepr-setVisible(false); Utkarsh On Tue, Mar 15, 2011 at 12:17 PM, Reuter, Michael A. reute...@ornl.gov wrote: Hi, I'm working on a sample application and I've been trying to make a cut appear on the data that is being viewed. I've followed the methodology used in the QuickContour application in my application, but the cut never appears on the data view. I'm using the data file associated with the QuickContour application to test my application. I'm guessing I'm just not understanding the required setup logic for behaviors and reactions in order to get the cut to apply. If anyone can see where I'm being dumb, my code is located here: https://github.com/mareuter/PVMockupGui. The cut is being applied in the mpMainWindow class in mpMainWindow::onCutButtonClicked. I am currently compiling against the ParaView git master on Ubuntu. Thanks, M Dr. Michael Reuter Scientific Data Analysis Group Neutron Scattering Science Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.gov ___ 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 ___ 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] vtkImagePlaneWidget
Hi, Has anyone tried to pull vtkImagePlaneWidget into ParaView before? Thanks, M Dr. Michael Reuter Scientific Data Analysis Group Neutron Scattering Science Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.gov ___ 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] Applying filters in sample app
Hi Utkarsh, Thanks, that did the trick. I'm also trying to get an ImplicitPlaneWidget (IPW) up at the same time. Is the default behavior for the IPW to be invisible? M On 3/15/11 3:10 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: You're simply missing a line to hide the previous representation. I just added in mpMainWindow::onCutButtonClicked before the render() call and the slice shows up. this-ActiveSourceRepr-setVisible(false); Utkarsh On Tue, Mar 15, 2011 at 12:17 PM, Reuter, Michael A. reute...@ornl.gov wrote: Hi, I'm working on a sample application and I've been trying to make a cut appear on the data that is being viewed. I've followed the methodology used in the QuickContour application in my application, but the cut never appears on the data view. I'm using the data file associated with the QuickContour application to test my application. I'm guessing I'm just not understanding the required setup logic for behaviors and reactions in order to get the cut to apply. If anyone can see where I'm being dumb, my code is located here: https://github.com/mareuter/PVMockupGui. The cut is being applied in the mpMainWindow class in mpMainWindow::onCutButtonClicked. I am currently compiling against the ParaView git master on Ubuntu. Thanks, M Dr. Michael Reuter Scientific Data Analysis Group Neutron Scattering Science Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.gov ___ 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 ___ 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] Applying filters in sample app
Hi, I'm working on a sample application and I've been trying to make a cut appear on the data that is being viewed. I've followed the methodology used in the QuickContour application in my application, but the cut never appears on the data view. I'm using the data file associated with the QuickContour application to test my application. I'm guessing I'm just not understanding the required setup logic for behaviors and reactions in order to get the cut to apply. If anyone can see where I'm being dumb, my code is located here: https://github.com/mareuter/PVMockupGui. The cut is being applied in the mpMainWindow class in mpMainWindow::onCutButtonClicked. I am currently compiling against the ParaView git master on Ubuntu. Thanks, M Dr. Michael Reuter Scientific Data Analysis Group Neutron Scattering Science Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.gov ___ 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] DIY Application problem
Hi, I'm trying to get the DIY application up and running. I have successfully got it to compile and run, but it doesn't seem to do anything when loading the sample data. At first I thought that it was due to not having a running server before loading the file, so I created a server instance, connected the client and then loaded the data again. In spite of this, nothing shows up on the screen and none of the drop down boxes show anything interesting. I'm not receiving any error messages from the program. I can load the sample data into ParaView just fine. Is there a debug flag I can set or pass to the DIY program to get some information about what is going on? I am running on 64-bit Ubuntu with a git copy of ParaView. Thanks, Michael Dr. Michael Reuter Scientific Data Analysis Group Neutron Scattering Science Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.gov ___ 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] DIY Application problem
Hi Utkarsh, I'm running the code that is given on the ParaView wiki: http://www.paraview.org/Wiki/IEEE_Vis10_DIY_Vis_Application_-_ParaView, specifically for the QuickContour example. I get similar behavior from the SimpleApp example. I have made no modifications to the code. Cheers, M On 3/4/11 11:19 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Is it possible to share you code? Pretty sure you are missing an equivalent of accept somewhere. Utkarsh On Fri, Mar 4, 2011 at 10:32 AM, Reuter, Michael A. reute...@ornl.gov wrote: Hi, I'm trying to get the DIY application up and running. I have successfully got it to compile and run, but it doesn't seem to do anything when loading the sample data. At first I thought that it was due to not having a running server before loading the file, so I created a server instance, connected the client and then loaded the data again. In spite of this, nothing shows up on the screen and none of the drop down boxes show anything interesting. I'm not receiving any error messages from the program. I can load the sample data into ParaView just fine. Is there a debug flag I can set or pass to the DIY program to get some information about what is going on? I am running on 64-bit Ubuntu with a git copy of ParaView. Thanks, Michael Dr. Michael Reuter Scientific Data Analysis Group Neutron Scattering Science Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.gov ___ 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 ___ 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] DIY Application problem
I applied the patch and the DIY application now runs correctly. Thanks for fixing this. M On 3/4/11 12:54 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Ah, looks like there was a bug that got introduced in git-master. I've committed a fix. Attached is a patch for the same. Thanks for reporting. Utkarsh On Fri, Mar 4, 2011 at 11:48 AM, Reuter, Michael A. reute...@ornl.gov wrote: Hi Utkarsh, I'm running the code that is given on the ParaView wiki: http://www.paraview.org/Wiki/IEEE_Vis10_DIY_Vis_Application_-_ParaView, specifically for the QuickContour example. I get similar behavior from the SimpleApp example. I have made no modifications to the code. Cheers, M On 3/4/11 11:19 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: Is it possible to share you code? Pretty sure you are missing an equivalent of accept somewhere. Utkarsh On Fri, Mar 4, 2011 at 10:32 AM, Reuter, Michael A. reute...@ornl.gov wrote: Hi, I'm trying to get the DIY application up and running. I have successfully got it to compile and run, but it doesn't seem to do anything when loading the sample data. At first I thought that it was due to not having a running server before loading the file, so I created a server instance, connected the client and then loaded the data again. In spite of this, nothing shows up on the screen and none of the drop down boxes show anything interesting. I'm not receiving any error messages from the program. I can load the sample data into ParaView just fine. Is there a debug flag I can set or pass to the DIY program to get some information about what is going on? I am running on 64-bit Ubuntu with a git copy of ParaView. Thanks, Michael Dr. Michael Reuter Scientific Data Analysis Group Neutron Scattering Science Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.gov ___ 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 ___ 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] New HDF5 based reader
Thanks for the fix. My reader can now open the NeXus file, so I can continue to make it display the data. Thanks for all the help. Michael From: Dave Partyka [mailto:dave.part...@kitware.com] Sent: Tuesday, August 10, 2010 15:09 To: Reuter, Michael A. Cc: Utkarsh Ayachit; paraview@paraview.org Subject: Re: [Paraview] New HDF5 based reader Hi Michael, This compile error should be fixed now. You should update Paraview to the latest version and also do a 'git submodule update' to update Xdmf. Commit 1ea84e6b53e6290f28993f64a844ca8fadbfbae8 Include string.h for XdmfSetStringMacro We need this header for strcmp in the macro implementation. This error went unnoticed previously because places that used XdmfSetStringMacro happened to include string.h for another reason. On Tue, Aug 10, 2010 at 1:21 PM, Reuter, Michael A. reute...@ornl.govmailto:reute...@ornl.gov wrote: Hi Utkarsh, Thanks for the pointer on the cmake option as I somehow missed that one. However, using the PARAVIEW_USE_SYSTEM_HDF5 flag, cmake pointed at the system HDF5 information and a clean build, the following compile time error occurs: Scanning dependencies of target Xdmf [ 47%] Building CXX object Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfArray.cxx.o In file included from /home/2zr/src/ParaView-3.8.0/Utilities/Xdmf2/libsrc/XdmfArray.h:28, from /home/2zr/src/ParaView-3.8.0/Utilities/Xdmf2/libsrc/XdmfArray.cxx:25: /home/2zr/src/ParaView-3.8.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h: In member function 'XdmfInt32 XdmfDataDesc::SetHeavyDataSetName(const char*)': /home/2zr/src/ParaView-3.8.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:202: error: 'strcmp' was not declared in this scope /home/2zr/src/ParaView-3.8.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:202: error: 'strlen' was not declared in this scope /home/2zr/src/ParaView-3.8.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:202: error: 'strcpy' was not declared in this scope In file included from /home/2zr/src/ParaView-3.8.0/Utilities/Xdmf2/libsrc/XdmfArray.cxx:25: /home/2zr/src/ParaView-3.8.0/Utilities/Xdmf2/libsrc/XdmfArray.h: In member function 'void XdmfArray::SetDataFromChars(char*)': /home/2zr/src/ParaView-3.8.0/Utilities/Xdmf2/libsrc/XdmfArray.h:398: error: 'strlen' was not declared in this scope /home/2zr/src/ParaView-3.8.0/Utilities/Xdmf2/libsrc/XdmfArray.h:399: error: 'strcpy' was not declared in this scope make[2]: *** [Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfArray.cxx.o] Error 1 make[1]: *** [Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/all] Error 2 make: *** [all] Error 2 I did a little poking at the source code and it looks like the correct headers for the above functions are being included, but the compiler doesn't think so. Michael -Original Message- From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.commailto:utkarsh.ayac...@kitware.com] Sent: Monday, August 09, 2010 13:24 To: Reuter, Michael A. Cc: paraview@paraview.orgmailto:paraview@paraview.org Subject: Re: [Paraview] New HDF5 based reader Hmm, looks like your plugin is linking against a system installed HDF5. Did you change the ParaView to use the same? Otherwise ParaView brings in its own version of HDF5 and the two can't work together. To ensure that ParaView and your plugin uses the same HDF5, set the cmake variable PARAVIEW_USE_SYSTEM_HDF5 to ON and then point CMake to the installed hdf5. Utkarsh On Mon, Aug 9, 2010 at 11:59 AM, Reuter, Michael A. reute...@ornl.govmailto:reute...@ornl.gov wrote: Hi, I have been working at trying to get a NeXus (www.nexusformat.orghttp://www.nexusformat.org) file read into ParaView. The NeXus format is HDF5 based and this seems to be the source of the current problem that I'm encountering. When I try to open a NeXus file via this call: NeXus::File *fh = new NeXus::File(filename, NXACC_READ); I get the backtrace that's attached to this email. The lowest level frame is given here: Program received signal SIGSEGV, Segmentation fault. 0x7fffd7a3da8b in H5FL_reg_malloc () from /usr/lib/libhdf5.so.6 (gdb) bt #0 0x7fffd7a3da8b in H5FL_reg_malloc () from /usr/lib/libhdf5.so.6 . At first, this looked like an issue with the system HDF5 libraries, but I can put the above line into a standalone program, link it against the same libraries and I can open a file without any errors. I have searched the list archive for any enlightenment, but I didn't find this particular problem. Is there anything special about using HDF5 libraries in ParaView plugins that I missed in the documentation? I am running on Ubuntu 10.04 using the provided HDF5 libraries and I have compiled and linked the NeXus libraries against the same HDF5 libraries. I know about Xdmf and have tried that with success, but I do not want to go down the two file route, so I'd really like to get this reader working. I can provide more detailed information (like plugin source code, sample file
Re: [Paraview] New HDF5 based reader
Hi Utkarsh, Thanks for the pointer on the cmake option as I somehow missed that one. However, using the PARAVIEW_USE_SYSTEM_HDF5 flag, cmake pointed at the system HDF5 information and a clean build, the following compile time error occurs: Scanning dependencies of target Xdmf [ 47%] Building CXX object Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfArray.cxx.o In file included from /home/2zr/src/ParaView-3.8.0/Utilities/Xdmf2/libsrc/XdmfArray.h:28, from /home/2zr/src/ParaView-3.8.0/Utilities/Xdmf2/libsrc/XdmfArray.cxx:25: /home/2zr/src/ParaView-3.8.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h: In member function 'XdmfInt32 XdmfDataDesc::SetHeavyDataSetName(const char*)': /home/2zr/src/ParaView-3.8.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:202: error: 'strcmp' was not declared in this scope /home/2zr/src/ParaView-3.8.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:202: error: 'strlen' was not declared in this scope /home/2zr/src/ParaView-3.8.0/Utilities/Xdmf2/libsrc/XdmfDataDesc.h:202: error: 'strcpy' was not declared in this scope In file included from /home/2zr/src/ParaView-3.8.0/Utilities/Xdmf2/libsrc/XdmfArray.cxx:25: /home/2zr/src/ParaView-3.8.0/Utilities/Xdmf2/libsrc/XdmfArray.h: In member function 'void XdmfArray::SetDataFromChars(char*)': /home/2zr/src/ParaView-3.8.0/Utilities/Xdmf2/libsrc/XdmfArray.h:398: error: 'strlen' was not declared in this scope /home/2zr/src/ParaView-3.8.0/Utilities/Xdmf2/libsrc/XdmfArray.h:399: error: 'strcpy' was not declared in this scope make[2]: *** [Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfArray.cxx.o] Error 1 make[1]: *** [Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/all] Error 2 make: *** [all] Error 2 I did a little poking at the source code and it looks like the correct headers for the above functions are being included, but the compiler doesn't think so. Michael -Original Message- From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] Sent: Monday, August 09, 2010 13:24 To: Reuter, Michael A. Cc: paraview@paraview.org Subject: Re: [Paraview] New HDF5 based reader Hmm, looks like your plugin is linking against a system installed HDF5. Did you change the ParaView to use the same? Otherwise ParaView brings in its own version of HDF5 and the two can't work together. To ensure that ParaView and your plugin uses the same HDF5, set the cmake variable PARAVIEW_USE_SYSTEM_HDF5 to ON and then point CMake to the installed hdf5. Utkarsh On Mon, Aug 9, 2010 at 11:59 AM, Reuter, Michael A. reute...@ornl.gov wrote: Hi, I have been working at trying to get a NeXus (www.nexusformat.org) file read into ParaView. The NeXus format is HDF5 based and this seems to be the source of the current problem that I'm encountering. When I try to open a NeXus file via this call: NeXus::File *fh = new NeXus::File(filename, NXACC_READ); I get the backtrace that's attached to this email. The lowest level frame is given here: Program received signal SIGSEGV, Segmentation fault. 0x7fffd7a3da8b in H5FL_reg_malloc () from /usr/lib/libhdf5.so.6 (gdb) bt #0 0x7fffd7a3da8b in H5FL_reg_malloc () from /usr/lib/libhdf5.so.6 . At first, this looked like an issue with the system HDF5 libraries, but I can put the above line into a standalone program, link it against the same libraries and I can open a file without any errors. I have searched the list archive for any enlightenment, but I didn't find this particular problem. Is there anything special about using HDF5 libraries in ParaView plugins that I missed in the documentation? I am running on Ubuntu 10.04 using the provided HDF5 libraries and I have compiled and linked the NeXus libraries against the same HDF5 libraries. I know about Xdmf and have tried that with success, but I do not want to go down the two file route, so I'd really like to get this reader working. I can provide more detailed information (like plugin source code, sample file etc.) to anyone who can help, but I don't want to spam the entire list with it right off the bat. Thanks, Michael --- Michael Reuter Scientific Data Analysis Group Neutron Scattering Science Division Oak Ridge National Laboratory ___ 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 ___ 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
[Paraview] New HDF5 based reader
Hi, I have been working at trying to get a NeXus (www.nexusformat.orghttp://www.nexusformat.org) file read into ParaView. The NeXus format is HDF5 based and this seems to be the source of the current problem that I'm encountering. When I try to open a NeXus file via this call: NeXus::File *fh = new NeXus::File(filename, NXACC_READ); I get the backtrace that's attached to this email. The lowest level frame is given here: Program received signal SIGSEGV, Segmentation fault. 0x7fffd7a3da8b in H5FL_reg_malloc () from /usr/lib/libhdf5.so.6 (gdb) bt #0 0x7fffd7a3da8b in H5FL_reg_malloc () from /usr/lib/libhdf5.so.6 ... At first, this looked like an issue with the system HDF5 libraries, but I can put the above line into a standalone program, link it against the same libraries and I can open a file without any errors. I have searched the list archive for any enlightenment, but I didn't find this particular problem. Is there anything special about using HDF5 libraries in ParaView plugins that I missed in the documentation? I am running on Ubuntu 10.04 using the provided HDF5 libraries and I have compiled and linked the NeXus libraries against the same HDF5 libraries. I know about Xdmf and have tried that with success, but I do not want to go down the two file route, so I'd really like to get this reader working. I can provide more detailed information (like plugin source code, sample file etc.) to anyone who can help, but I don't want to spam the entire list with it right off the bat. Thanks, Michael --- Michael Reuter Scientific Data Analysis Group Neutron Scattering Science Division Oak Ridge National Laboratory *** Attempting to load /home/2zr/workspace/InElSxtalNeXus/libInElSxtalNeXus.so Loaded shared library successfully. Now trying to validate that it's a ParaView plugin. Plugin's signature: paraviewplugin|GNU|3.8 Plugin signature verification successful. This is definitely a ParaView plugin compiled with correct compiler for correct ParaView version. Updating Shared Library Paths: /home/2zr/build/ParaView/bin:/home/2zr/build/ParaView/bin:/home/2zr/build/ParaView/bin:/home/2zr/workspace/InElSxtalNeXus Plugin instance located successfully. Now loading components from the plugin instance based on the interfaces it implements. Plugin Information: Name: InElSxtalNeXus Version : 1.0 ReqOnServer : 1 ReqOnClient : 1 ReqPlugins : ServerManager Plugin : Yes Python Plugin : No Opening Program received signal SIGSEGV, Segmentation fault. 0x7fffd7a3da8b in H5FL_reg_malloc () from /usr/lib/libhdf5.so.6 (gdb) bt #0 0x7fffd7a3da8b in H5FL_reg_malloc () from /usr/lib/libhdf5.so.6 #1 0x7fffd7a3dc18 in H5FL_reg_calloc () from /usr/lib/libhdf5.so.6 #2 0x7fffd7b7de3a in H5T_alloc () from /usr/lib/libhdf5.so.6 #3 0x7fffd7c67ed7 in H5TN_init_interface () from /usr/lib/libhdf5.so.6 #4 0x7fffd7b6e390 in ?? () from /usr/lib/libhdf5.so.6 #5 0x7fffd7b6d9aa in H5T_init () from /usr/lib/libhdf5.so.6 #6 0x7fffd797ea5d in H5_init_library () from /usr/lib/libhdf5.so.6 #7 0x7fffd7a0f070 in H5Eset_auto1 () from /usr/lib/libhdf5.so.6 #8 0x7fffd8115775 in NX5open ( filename=0x19c3850 /home/2zr/data/CNCS_800_rebin.nxs, am=1, pHandle=0x1) at napi5.c:144 #9 0x7fffd8a0 in NXinternalopen ( userfilename=0x1a47798 /home/2zr/data/CNCS_800_rebin.nxs, am=1, fileStack=value optimized out) at napi.c:405 #10 0x7fffd8111565 in nxiopen_ ( userfilename=0x1a47798 /home/2zr/data/CNCS_800_rebin.nxs, am=1, gHandle=0x7fffc130) at napi.c:291 #11 0x7fffd832e865 in File (this=value optimized out, filename=..., access=1) at NeXusFile.cpp:143 #12 0x7fffd8573b73 in vtkInElSxtalNeXus::Canreadfile(char const*) () from /home/2zr/workspace/InElSxtalNeXus/libInElSxtalNeXus.so #13 0x7fffd857399b in vtkInElSxtalNeXus::CanReadFile(char const*) () from /home/2zr/workspace/InElSxtalNeXus/libInElSxtalNeXus.so #14 0x7fffd857608f in vtkInElSxtalNeXusCommand(vtkClientServerInterpreter*, vtkObjectBase*, char const*, vtkClientServerStream const, vtkClientServerStream) () from /home/2zr/workspace/InElSxtalNeXus/libInElSxtalNeXus.so #15 0x7fffe93352e2 in vtkClientServerInterpreter::ProcessCommandInvoke(vtkClientServerStream const, int) () from /home/2zr/build/ParaView/bin/libvtkClientServer.so #16 0x7fffe93349ab in vtkClientServerInterpreter::ProcessOneMessage(vtkClientServerStream const, int) () from /home/2zr/build/ParaView/bin/libvtkClientServer.so #17 0x7fffe9334843 in vtkClientServerInterpreter::ProcessStream(vtkClientServerStream const) () from /home/2zr/build/ParaView/bin/libvtkClientServer.so #18 0x7fffeee5bc57 in vtkSelfConnection::ProcessStreamLocally(vtkClientServerStream) () from