[Paraview] Computing integrals in 3D

2012-04-02 Thread Thomas Witkowski
Is there a bug in computing integrals for 3D domains? In 2D, the filter "Integral variables" works fine. For 3D domains, the result is always wrong (mostly near 0). Thomas ___ Powered by www.kitware.com Visit other Kitware open-source projects at ht

[Paraview] PVPython: paraview.vtk not the same as vtk

2012-04-02 Thread Hal Canary
I've got a question concerning ParaView and VTK Python scripts. My goal is to generate some test data in the form of .vti files. Using the VTK Python module, I can run the following script to generate a test datafile: #!/usr/bin/env python import vtk da = vtk.vtkFlo

[Paraview] ccmake error when building example custom application

2012-04-02 Thread Nathan Jarus
Hi, I'm trying to build the example custom application Clone1. I've got the paraview source in ~/ParaView, and a ~/pv_clone1 folder for the binaries. In ~/pv_clone1, I ran ccmake ../ParaView/Examples/CustomApplications/Clone1 but I get the following error: CMake Error at CMakeLists.txt:6 (FIND_

Re: [Paraview] ccmake error when building example custom application

2012-04-02 Thread Utkarsh Ayachit
ParaView_DIR must be set to the binary directory for PAraView i.e. the directory where you built ParaVIew. Utkarsh On Mon, Apr 2, 2012 at 4:32 PM, Nathan Jarus wrote: > Hi, > > I'm trying to build the example custom application Clone1. I've got > the paraview source in ~/ParaView, and a ~/pv_clo

Re: [Paraview] ccmake error when building example custom application

2012-04-02 Thread David E DeMarle
Try doing a build of ParaView in some other directory, then point to that build directory. I suspect the example's cmake scripts don't like to be built outside of the paraview source tree anymore and would need slight tweeking to build without a paraview binary build. David E DeMarle Kitware, Inc

Re: [Paraview] ccmake error when building example custom application

2012-04-02 Thread Nathan Jarus
Okay, I'll try that out. That'd make sense, as I've moved my paraview build tree from where I originally built ParaView. On Mon, Apr 2, 2012 at 15:41, Utkarsh Ayachit wrote: > ParaView_DIR must be set to the binary directory for PAraView i.e. the > directory where you built ParaVIew. > > Utkarsh

Re: [Paraview] PVPython: paraview.vtk not the same as vtk

2012-04-02 Thread Pat Marion
Hi Hal, You can import paraview.vtk.io to access the xml writer. I agree with you, it's annoying, paraview's vtk module should be same as the standard vtk module. Otherwise, most scripts don't work when transitioning to pvpython. I'll go file a bug report. Pat On Mon, Apr 2, 2012 at 2:40 PM,

Re: [Paraview] PVPython: paraview.vtk not the same as vtk

2012-04-02 Thread Hal Canary
On 04/02/2012 04:45 PM, Pat Marion wrote: You can import paraview.vtk.io to access the xml writer. Thanks! import paraview.vtk.io writer = paraview.vtk.io.vtkXMLImageDataWriter() worked perfectly. No need to install VTK when I already have ParaView! -- Hal Canary http://cs.