Re: [Paraview] VTK access from python

2013-01-29 Thread Andy Bauer
Well, at least you can still use GetClassName() to figure out the object. I'm wondering how much overhead there is to import paraview.vtk -- any ideas? Also, it's a bit dangerous when running in parallel since that may encourage people to create their own vtk objects in a manner that they didn't in

Re: [Paraview] Segfault in Python when importing paraview.servermanager and vtk in the wrong order

2013-01-29 Thread Pat Marion
Hi, It sounds like you probably have multiple versions of the vtk libraries installed someplace in your path. Maybe the FEniCS package ships it's own version of the vtk libraries? If FEniCS imports a different version of vtk, then paraview won't be able to import vtk within the same memory space

Re: [Paraview] VTK access from python

2013-01-29 Thread Pat Marion
That's true. And I think it makes sense for ParaView to selectively import only the parts of VTK that it needs to implement paraview.simple and paraview.servermanager. I find it annoying that paraview.vtk is not equivalent to the standard vtk python. If you run a script with pvpython or pvbatch,

Re: [Paraview] VRPlugin: small build issue with vrpn

2013-01-29 Thread Aashish Chaudhary
Thanks Russell for the clarification!. On Tue, Jan 29, 2013 at 6:42 PM, Russell M. Taylor II wrote: > VRPN can handle a number of non-LIBUSB devices. It handles many devices > using the HID interface. It handles others using RS-232 or native O/S > interfaces. Depending on what device you need,

Re: [Paraview] Segfault in Python when importing paraview.servermanager and vtk in the wrong order

2013-01-29 Thread Maximilian Albert
Hi, apologies for bumping my own message, but looking at the thread view [1] of the mailing list archives I just realised that strangely my email was filed under a completely unrelated thread (even though I hadn't replied to any messages) and maybe this is why it got lost in people's inboxes. So

Re: [Paraview] VRPlugin: small build issue with vrpn

2013-01-29 Thread Patrick O'Leary
As I remember, libusb is only required for testing currently if the VRPlugin and VRPN are enabled. The current test for this case does use libusb, even though this may not be correct for the environment. It may or may not be necessary for VRPN to use libusb given the immersive environment setup.

Re: [Paraview] VRPlugin: small build issue with vrpn

2013-01-29 Thread Russell M. Taylor II
VRPN can handle a number of non-LIBUSB devices. It handles many devices using the HID interface. It handles others using RS-232 or native O/S interfaces. Depending on what device you need, you may or may not need LIBUSB. Russ --- Russell M. Taylor II, Ph.D. tayl.

Re: [Paraview] Fwd: Not being able to connect to pvserver

2013-01-29 Thread Burlen Loring
Hi Pradeep, vtkClientSocket (0x7fc9ae108cb0): Socket error in call to connect. Permission denied. Your connection is being blocked somewhere in between your compute node and workstation. there are various configuration setting on either/both client and server that could cause it. Fortunately

Re: [Paraview] VRPlugin: small build issue with vrpn

2013-01-29 Thread Aashish Chaudhary
On Tue, Jan 29, 2013 at 1:09 PM, Emiliano Pastorelli wrote: > Hi, > > are you sure it's not necessary to have libusb installed to run vrpn? > Actually the vrpn_HumanInterface class makes use of HIDAPI, and i think i > remember one of the hidapi linux versions is based on libusb. > I think it is

[Paraview] CAVE + ParaView volume data visualization

2013-01-29 Thread Emiliano Pastorelli
Hi, i'm trying to use paraview to visualize a nhdr+nrrd file representing the CT of a cylinder of concrete containing metal fibers. The file is definitely quite big, more or less 800x800x600, and what i need to do is to find a threshold in the volume to highlight the fibers. So far so good, i

[Paraview] Plane visualization

2013-01-29 Thread Fastl, Thomas
Hello, I am searching for an easy way to get rid of the box and the direction vector, but still showing the plane with shading when cutting a geometry in Paraview. Is it also possible to show several planes with the same properties as described above in on image, like I would cut a geometry sev

Re: [Paraview] VRPlugin: small build issue with vrpn

2013-01-29 Thread Emiliano Pastorelli
Hi, are you sure it's not necessary to have libusb installed to run vrpn? Actually the vrpn_HumanInterface class makes use of HIDAPI, and i think i remember one of the hidapi linux versions is based on libusb. Best, Emiliano Il 29/01/13 19:01, Johannes Zarl ha scritto: Hi, Today I tried th

[Paraview] Plane visualization

2013-01-29 Thread Fastl, Thomas
Hello, I am searching for an easy way to get rid of the box and the direction vector, but still showing the plane with shading when cutting a geometry in Paraview. Is it also possible to show several planes with the same properties as described above in on image, like I would cut a geometry sev

Re: [Paraview] HeadTracking in ParaView CAVE

2013-01-29 Thread Emiliano Pastorelli
Hi Aashish, today i installed the master ParaView as you suggested. There is something wrong with the GUI for the VRPlugin, and now it's not possible to select anymore the type of the VR connection, not even importing a state file. I solved that importing an older version of the plugin, with t

[Paraview] Plane visualization

2013-01-29 Thread Fastl, Thomas
Hello again, sorry, I for to add that I have projected cell data to point data and made a slice within a certain location within the geometry. I want to calculate the mean value of the point data in this slice, is there an already implemented function for that? Thanks! Best wishes, ___

Re: [Paraview] VTK access from python

2013-01-29 Thread Sean Ziegeler
FWIW, I've also found that only importing the VTK modules that one needs in a given script shaves off some time during the initialization of the script. On 01/29/13 06:50, Pat Marion wrote: There's a lot of VTK python modules, and unfortunately they are not all imported with you import paravie

Re: [Paraview] VRPlugin: small build issue with vrpn

2013-01-29 Thread Aashish Chaudhary
Thanks for trying out latest code. The change looks good to me. We will have it merged. I am definitely interested in hearing if you find any issues / improvements. Thanks, On Tue, Jan 29, 2013 at 12:01 PM, Johannes Zarl wrote: > Hi, > > Today I tried the current paraview git master with the VR

[Paraview] VRPlugin: small build issue with vrpn

2013-01-29 Thread Johannes Zarl
Hi, Today I tried the current paraview git master with the VRPlugin&VRPN enabled. A smaller annoyance is that the build system refuses to build when libusb.h is not installed (Even though libusb is not required by paraview or vrpn). Explicitly setting VRPN_LIBUSB_INCLUDE_DIR to be empty instead

Re: [Paraview] Installation error "MPIEXEC was empty"

2013-01-29 Thread Pradeep Jha
Hello, I set both the variables in cmake to "/home/hp120242/k00603/softwares/openmpi/include/", the folder in which the mpi.h file is located. But still I am getting the same error: [ 22%] Building CXX object VTK/Parallel/MPI/CMakeFiles/vtkParallelMPI.dir/vtkMPICommunicator.cxx.o In file include

Re: [Paraview] pvbatch, MPI and MultiBlock data sets

2013-01-29 Thread Utkarsh Ayachit
Yves, 1. I don't see the oddity with the block number and BlockID when running in parallel, as you describe. For me, the BlockID in indeed Index for block + 1 whether I run in parlalel or not. 2. Running your python script as a single process, I get 1:18 minutes, while in parallel (2 procs), I get

Re: [Paraview] Fwd: Not being able to connect to pvserver

2013-01-29 Thread Utkarsh Ayachit
Doesn't look like your client machine can connect to the server machine. From the client machine try: > ping 83.shin.fluid.cse.nagoya-u.ac.jp > telnet 83.shin.fluid.cse.nagoya-u.ac.jp 1 On Tue, Jan 29, 2013 at 4:58 AM, Pradeep Jha wrote: > Hello, > > I have installed Paraview 3.98 on my De

Re: [Paraview] Installation error "MPIEXEC was empty"

2013-01-29 Thread Utkarsh Ayachit
Ensure MPI_CXX_INCLUDE_PATH and MPI_C_INCLUDE_PATH cmake variable are set correctly to point to this location of mpi.h include file. On Tue, Jan 29, 2013 at 1:43 AM, Pradeep Jha wrote: > Hello, > > I installed MPI locally on my account. After that I managed to do the ccmake > and generate a makef

[Paraview] [VTK] Grouping vtk objects to share attributes

2013-01-29 Thread William Oquendo
Dear all, I have a simulation of complex bodies where a single complex body can be though as formed by 2 planes and 4 spheres. For each of these objects I have some data attributes to assign (let's say a vector force and a scalar mass). I want to write a vtk (.vtp?) file to visualize (in Paraview)

Re: [Paraview] VTK access from python

2013-01-29 Thread Pat Marion
There's a lot of VTK python modules, and unfortunately they are not all imported with you import paraview.vtk from ParaView's python console. But, all the python modules are shipped with ParaView, as far as I know, they just aren't imported. I wish there was an easy way to import the full set of