[Paraview] Paraview slice planes screenshot as images

2012-10-24 Thread Shiddiq Hashuro
Hello,

I am trying to save applied slicing planes into jpeg (or any other kinds)
images. Is this possible? can anyone tell me how? If it can only be done
via python script, can you send me some parts of the script?
Also, is it possible to vary the slicing planes not by axis' range but by
some kind of elevation angle with a point as its orientation anchor?
really appreciate it..


thank you..
Shiddiq
___
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] Using VR-Style input devices

2012-10-24 Thread Johannes Zarl
Hi,

I'm currently trying to configure ParaView for a CAVE-like environment. So far 
I was able to set up the pvservers correctly and even make headtracking over 
VRPN work.

Myself, I'm more of a newbie concerning ParaView, so I'm having some trouble 
understanding the state-file and how to define a wand-device so that ParaView 
can use it.

As far as I understand it, the VRPlugin reads the VRConnectionManager and 
VRInteractorStyles tags from the state-file and makes the connection to the 
server.

The Styles in VRInteractorStyles are supposed to reference a proxy name, that 
they are then attached to. So in this example:


   ...snip...
  
   

Re: [Paraview] Paraview and Manta View

2012-10-24 Thread David E DeMarle
Can you send me the foam data off list?

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Tue, Oct 23, 2012 at 3:47 PM, Jim Knopf  wrote:
> Hi There!
>
> right now i'm playing around with paraview and manta ray tracer. I got Manta
> compile on my linux machine and got paraview compile with the manta plug-in.
>
> Now I'm trying to use the manta view in paraview with vtk data derived from
> an OpenFoam case. The result is a crash that I don't understand:
>
> 7f08fff2f000-7f090366b000 rw-p  00:00 0
> 7f090366b000-7f090366c000 rw-s 122f42000 00:05 7478
> /dev/dri/card0
> 7f090366d000-7f090366e000 rw-s 122f4 00:05 7478
> /dev/dri/card0
> 7f090372f000-7f090373f000 rw-s 1150e2000 00:05 7478
> /dev/dri/card0
> 7f090388f000-7f09038a1000 rw-s  00:04 9044062
> /SYSV (deleted)
> 7f0903981000-7f0903a81000 rw-s 11c594000 00:05 7478
> /dev/dri/card0
> 7f0903bc1000-7f0904343000 rw-s  00:04 8978494
> /SYSV (deleted)
> 7f0904343000-7f0904344000 rw-s 1278e3000 00:05 7478
> /dev/dri/card0
> 7f0904344000-7f0904345000 rw-s 127e34000 00:05 7478
> /dev/dri/card0
> 7f09045ba000-7f09046b8000 rw-s  00:04 9568362
> /SYSV (deleted)
> 7f09046b8000-7f09046dd000 rw-s  00:04 9470057
> /SYSV (deleted)
> 7f09046dd000-7f0904708000 rw-s  00:04 9437288
> /SYSV (deleted)
> 7f0904708000-7f0904709000 rw-s 11d082000 00:05 7478
> /dev/dri/card0
> 7f0904709000-7f090470a000 rw-s 11d081000 00:05 7478
> /dev/dri/card0
> 7f090470a000-7f090470b000 rw-s 11d08 00:05 7478
> /dev/dri/card0Thread "RTRT Worker 0"(pid 23818
> Backtrace:
> 1. /usr/local/lib/libManta_Core.so(+0x412d0) [0x7f08eb3272d0]
> 2. /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f092cb534a0]
> 3. /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f092cb53425]
> 4. /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b) [0x7f092cb56b8b]
> 5. /lib/x86_64-linux-gnu/libc.so.6(+0x7439e) [0x7f092cb9139e]
> 6. /lib/x86_64-linux-gnu/libc.so.6(+0x7eb96) [0x7f092cb9bb96]
> 7. /usr/local/lib/libManta_Model.so
>   in Manta::Mesh::~Mesh()
> 8. /usr/local/lib/libManta_Model.so
>   in Manta::Mesh::~Mesh()
> 9. /usr/local/lib/libManta_Model.so
>   in Manta::Group::shrinkTo(unsigned long, bool)
> a.
> /home/otti/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libvtkManta.so
>   in vtkMantaActorThreadCache::FreeMantaResources()
> b.
> /home/otti/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12/libvtkManta.so
>   in Manta::CallbackTransaction::apply()
> c. /usr/local/lib/libManta_Engine.so
>   in Manta::RTRT::postTransactions(bool&)
> d. /usr/local/lib/libManta_Engine.so
>   in Manta::RTRT::internalRenderLoop(int, bool)
> e. /usr/local/lib/libManta_Core.so
>   in Manta::Thread::run_body()
> f. /usr/local/lib/libManta_Core.so(+0x44728) [0x7f08eb32a728]
> 10. /lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a) [0x7f0929dd3e9a]
> 11. /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f092cc10cbd]
>  139677424109440: main (state = blocking on semaphore,
> SyncDisplay::_frameready)
>  139676715988736: RTRT Worker 0 (state = running)
>
> Abort signalled by pid: 23818
> Occured for thread: "RTRT Worker 0"
>
> 
> Has anyone any idea? Running Manta standalone works
>
> Thanks and Greetings
> Jim
> ___
> 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] Paraview Visualization Ambiguity an a 2nd order Tetrahedra

2012-10-24 Thread Umut Tabak

On 10/23/2012 09:01 PM, Berk Geveci wrote:

Ah, now I understand. This should be fixed. Try using a nightly
binary. To download one, look at this page:

http://paraview.org/Wiki/ParaView/Superbuild

and look for instruction on how to download generated binaries.

Berk,

Thanks for this information, I would like to compile Paraview with 
vector graphics export facilites, especially svg if possible.


Where shall I look for these instructions?

Best,

Umut

P.S. Selamlar ;-)
___
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] PV3.14.1 Crash

2012-10-24 Thread Utkarsh Ayachit
> 1) when read STL file, PV crash
>
> 2) by the way, when I open Paraview, there are lots of information (as shown
> below) shown in Output Message,  how to solve it?

Both these issues have been addressed in the development version and
the fixes will be included in the next release. You can try the
nightly binaries available on the website (instructions:
http://paraview.org/Wiki/ParaView/Superbuild#Obtaining_the_source).

Utkarsh
___
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] PV3.14.1 Crash

2012-10-24 Thread Christian Richter

Hi,

1) is a known bug in the release of 3.14.X : 
http://review.source.kitware.com/#/c/5242/
you can compile PV from source using the latest git or replace 
vtk/IO/vtkSTLReader.cxx with that one from the bugreport.

or only use binary-stl files.

2) I've the same issue when I copy PV from one client to another (both 
on Ubuntu 12.04), if i compile it from source this problem is gone away.


best wishes,
Christian

Am 24.10.2012 08:22, schrieb Jian XU:

Hi, all

Sorry to interrupt.

My OS is Ubuntu 12.04 with Paraview 3.14.1

1) when read STL file, PV crash

2) by the way, when I open Paraview, there are lots of information (as 
shown below) shown in Output Message,  how to solve it?


Rds

Jian

-

[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Contour" under id 131
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Warp By Vector" under id 132
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Calculator" under id 134
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Annotate Time Filter" under id 167
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Calculator" under id 134
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Clip" under id 135
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Contingency Statistics" under id 161
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Contour" under id 131
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Descriptive Statistics" under id 162
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Extract Level" under id 142
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Extract Selection" under id 146
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Extract Subset" under id 138
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "FOF/SOD Halo Finder" under id 144
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Glyph" under id 139
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Group Datasets" under id 141
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Histogram" under id 147
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Integrate Variables" under id 148
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Intersect Fragments" under id 158
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "K Means" under id 163
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Material Interface Filter" under id 159
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Multicorrelative Statistics" under id 164
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Particle Pathlines" under id 168
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "ParticleTracer" under id 169
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Plot Data" under id 149
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Plot Global Variables Over Time" under id 150
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Plot On Intersection Curves" under id 151
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Plot On Sorted Lines" under id 152
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Plot Over Line" under id 153
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Plot Selection Over Time" under id 154
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Principal Component Analysis" under id 165
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Probe Location" under id 155
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Programmable Filter" under id 156
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Slice" under id 136
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Stream Tracer" under id 140
[31mvoid DBusMenuExporterPrivate::addAction(QAction*, int) [0m: 
Already tracking action "Temporal Cache" under id 170
[31mvoid

Re: [Paraview] Using VR-Style input devices

2012-10-24 Thread Nikhil Shetty
Hi,

On Wed, Oct 24, 2012 at 9:40 AM, Johannes Zarl  wrote:

> Hi,
>
> I'm currently trying to configure ParaView for a CAVE-like environment. So
> far
> I was able to set up the pvservers correctly and even make headtracking
> over
> VRPN work.
>
> Awesome.


> Myself, I'm more of a newbie concerning ParaView, so I'm having some
> trouble
> understanding the state-file and how to define a wand-device so that
> ParaView
> can use it.
>
> A state file represents the state of all the objects currently in the
scene.


> As far as I understand it, the VRPlugin reads the VRConnectionManager and
> VRInteractorStyles tags from the state-file and makes the connection to the
> server.
>
> This was more of the hack way of connecting device inputs to different
actions. I think there is a GUI in the works that would make this easier.


> The Styles in VRInteractorStyles are supposed to reference a proxy name,
> that
> they are then attached to. So in this example:
>
> 
>...snip...
>origin="CutFunction.Origin">
>

Re: [Paraview] Inconsistent results with the stream trace filter

2012-10-24 Thread Joe Borġ
Hi guys, sorry to keep finding problems, but I'm stuck here:

  X11_Xt_LIB could not be found.  Required for VTK X lib.

Can you give me an example of a lib that should be in there so I can search
for that to get the dir please?


Regards,
Joseph David Borġ
http://www.jdborg.com


On 23 October 2012 13:55, Utkarsh Ayachit wrote:

> Joe,
>
> Use the latest revision of the wiki page to build the source from
> git-master (http://paraview.org/Wiki/ParaView:Build_And_Install).
>
> Utkarsh
>
> On Tue, Oct 23, 2012 at 7:18 AM, Joe Borġ  wrote:
> > Thanks for the info Leo,
> >
> > I am, however, having trouble building the source that I've downloaded.
> >
> > Could you point me to any instructions on how to build?
> >
> http://paraview.org/Wiki/index.php?title=ParaView:Build_And_Install&oldid=46445#On_Unix-like_operating_systems_2
> > doesn't seem to tie up with the files I get.
> >
> > These are the files I've pulled from Git:
> >
> > -rw-r--r--  1 joe.borg root  364 Oct 23 09:43
> ParaViewConfigVersion.cmake.in
> > -rw-r--r--  1 joe.borg root 2.6K Oct 23 09:43 ParaViewConfig.cmake.in
> > -rw-r--r--  1 joe.borg root  15K Oct 23 09:43 License_v1.2.txt
> > -rw-r--r--  1 joe.borg root  583 Oct 23 09:43 DartConfig.cmake
> > -rw-r--r--  1 joe.borg root  539 Oct 23 09:43 CTestConfig.cmake
> > -rw-r--r--  1 joe.borg root  24K Oct 23 09:43 CMakeLists.txt
> > -rw-r--r--  1 joe.borg root 3.2K Oct 23 09:43 vtkPVConfig.h.in
> > -rw-r--r--  1 joe.borg root 5.0K Oct 23 09:43 cave.pvx
> > drwxr-xr-x  5 joe.borg root 4.0K Oct 23 09:54 Examples/
> > drwxr-xr-x 26 joe.borg root 4.0K Oct 23 09:55 Plugins/
> > drwxr-xr-x 13 joe.borg root 4.0K Oct 23 09:56 Utilities/
> > drwxr-xr-x  2 joe.borg root  12K Oct 23 09:56 CMake/
> > drwxr-xr-x 11 joe.borg root  12K Oct 23 09:56 SuperBuild/
> > drwxr-xr-x  5 joe.borg root 4.0K Oct 23 09:56 CoProcessing/
> > drwxr-xr-x  2 joe.borg root 4.0K Oct 23 09:56 CommandLineExecutables/
> > drwxr-xr-x  4 joe.borg root 4.0K Oct 23 09:56 Wrapping/
> > drwxr-xr-x  3 joe.borg root 4.0K Oct 23 09:56 Common/
> > drwxr-xr-x  7 joe.borg root 4.0K Oct 23 09:57 Qt/
> > drwxr-xr-x 24 joe.borg root 8.0K Oct 23 10:01 VTK/
> > drwxr-xr-x  5 joe.borg root 4.0K Oct 23 10:01 ThirdParty/
> > drwxr-xr-x  9 joe.borg root 4.0K Oct 23 10:02 ParaViewCore/
> > drwxr-xr-x  3 joe.borg root 4.0K Oct 23 10:02 Applications/
> >
> > Thanks.
> >
> >
> > Regards,
> > Joseph David Borġ
> > http://www.jdborg.com
> >
> >
> > On 19 October 2012 21:43, Yuanxin Liu  wrote:
> >>
> >> Hi, Joe,
> >>   Berk reminded me that Andy Bauer has put in some fixes for gradient
> >> interpolation for pyramids (5a7dc931c54d868).  Since your data contain
> >> pyramids, this is quite likely the fix for this bug.
> >> Leo
> >>
> >> On Fri, Oct 19, 2012 at 12:05 PM, Yuanxin Liu 
> wrote:
> >>>
> >>> Hi, Joe,
> >>>   It looks like this was indeed a bug in 3.14.1 but the bug has been
> >>> fixed in the current development branch. I am not entirely sure which
> commit
> >>> explicitly did it.
> >>>
> >>> Leo
> >>>
> >>> On Fri, Oct 19, 2012 at 5:54 AM, Joe Borġ  wrote:
> 
>  Hi,
> 
>  I am using 3.14.1 64-bit on a single core (if I enable multi-core, it
>  becomes very unstable).
> 
>  Adding tets to this small case works, but I've got a bigger duct with
> a
>  more refined mesh and adding tets don't fix the problem (make it
> better
>  though).
> 
>  See attached PVSM.
> 
> 
> 
>  Regards,
>  Joseph David Borġ
>  http://www.jdborg.com
> 
> 
>  On 18 October 2012 19:00, Yuanxin Liu  wrote:
> >
> > No, I did not use Tetrahedralize.
> >
> > Are you using the lastest development version?  Are you running
> > paraview as a single process?
> >
> > Do you mind saving a state file of your session and post it?
> >
> > thanks!
> >
> > Leo
> >
> >
> >
> > On Thu, Oct 18, 2012 at 4:31 AM, Joe Borġ  wrote:
> >>
> >> Hi Leo,
> >>
> >> You don't seem to have used the Tetrahedralise filter?  How have you
> >> got this to work without that?
> >>
> >> Mine works fine after setting the fluid as input and source as the
> >> inlet, but I must first use the Tetrahedralise filter.
> >>
> >>
> >> Regards,
> >> Joseph David Borġ
> >> http://www.jdborg.com
> >>
> >>
> >> On 17 October 2012 18:14, Yuanxin Liu  wrote:
> >>>
> >>> Hi Joe,
> >>>
> >>> I am not seeing exactly what you are seeing.  In the attached image
> >>> produced with the current master, I created a stream tracer with
> outlet
> >>> block as the seeds and the fluid block as the input, and the
> streamlines
> >>> seem right.
> >>>
> >>> But I think there is a bug in how the stream tracer handles
> >>> multiblock data, because if I change the stream tracer input to
> the whole
> >>> pipe data set, instead of just the fluid block, some stream lines
> go
> >>> straight to th

Re: [Paraview] Using VR-Style input devices

2012-10-24 Thread Aashish Chaudhary
Hi Johannes,

Very recently, we have improved the VR API and related tools and now
the VR plugin comes with a GUI to configure connection managers and
interactor styles.

The way it works now is that you create a connection manager (lines
475 - 483), which will be generated by the GUI if used, and then for
the styles,
you would link it with the ID of the proxy and its specific property
that you want to control. Now said that the GUI shows you the name of
the proxy and not the ID
for obvious reasons. Then depending upon the type of the proxy and
property you specify a particular input from a HCI device. Currently
we support analog, button, and tracker.

The wiki here is bit old:
http://www.paraview.org/Wiki/ParaView/Users_Guide/CAVE_Display
We wrote a source article as well: http://www.kitware.com/source/home/post/66

This recent work is not in master yet (hopefully this Friday) but you
can checkout this branch: vtk_vr_improvements_new_gui
if you want to from paraview stage repository. The branch contains
bunch of bug fixes, and API improvements.

475   
476 
477   
478   
479   
480   
481   
482 
483   
484   
485 
486   
487 
488 
489   
490   

Re: [Paraview] Inconsistent results with the stream trace filter

2012-10-24 Thread Utkarsh Ayachit
This include libXt.so and include files such as
/usr/include/X11/Core.h. On debian-based systems, it's available as
the package "libxt-dev". Also you can try the nightly binaries
directly, if you don't want to build from source. The instructions to
download the binaries are:
http://paraview.org/Wiki/ParaView/Superbuild#Obtaining_the_source

On Wed, Oct 24, 2012 at 10:47 AM, Joe Borġ  wrote:
> Hi guys, sorry to keep finding problems, but I'm stuck here:
>
>   X11_Xt_LIB could not be found.  Required for VTK X lib.
>
> Can you give me an example of a lib that should be in there so I can search
> for that to get the dir please?
>
>
>
> Regards,
> Joseph David Borġ
> http://www.jdborg.com
>
>
> On 23 October 2012 13:55, Utkarsh Ayachit 
> wrote:
>>
>> Joe,
>>
>> Use the latest revision of the wiki page to build the source from
>> git-master (http://paraview.org/Wiki/ParaView:Build_And_Install).
>>
>> Utkarsh
>>
>> On Tue, Oct 23, 2012 at 7:18 AM, Joe Borġ  wrote:
>> > Thanks for the info Leo,
>> >
>> > I am, however, having trouble building the source that I've downloaded.
>> >
>> > Could you point me to any instructions on how to build?
>> >
>> > http://paraview.org/Wiki/index.php?title=ParaView:Build_And_Install&oldid=46445#On_Unix-like_operating_systems_2
>> > doesn't seem to tie up with the files I get.
>> >
>> > These are the files I've pulled from Git:
>> >
>> > -rw-r--r--  1 joe.borg root  364 Oct 23 09:43
>> > ParaViewConfigVersion.cmake.in
>> > -rw-r--r--  1 joe.borg root 2.6K Oct 23 09:43 ParaViewConfig.cmake.in
>> > -rw-r--r--  1 joe.borg root  15K Oct 23 09:43 License_v1.2.txt
>> > -rw-r--r--  1 joe.borg root  583 Oct 23 09:43 DartConfig.cmake
>> > -rw-r--r--  1 joe.borg root  539 Oct 23 09:43 CTestConfig.cmake
>> > -rw-r--r--  1 joe.borg root  24K Oct 23 09:43 CMakeLists.txt
>> > -rw-r--r--  1 joe.borg root 3.2K Oct 23 09:43 vtkPVConfig.h.in
>> > -rw-r--r--  1 joe.borg root 5.0K Oct 23 09:43 cave.pvx
>> > drwxr-xr-x  5 joe.borg root 4.0K Oct 23 09:54 Examples/
>> > drwxr-xr-x 26 joe.borg root 4.0K Oct 23 09:55 Plugins/
>> > drwxr-xr-x 13 joe.borg root 4.0K Oct 23 09:56 Utilities/
>> > drwxr-xr-x  2 joe.borg root  12K Oct 23 09:56 CMake/
>> > drwxr-xr-x 11 joe.borg root  12K Oct 23 09:56 SuperBuild/
>> > drwxr-xr-x  5 joe.borg root 4.0K Oct 23 09:56 CoProcessing/
>> > drwxr-xr-x  2 joe.borg root 4.0K Oct 23 09:56 CommandLineExecutables/
>> > drwxr-xr-x  4 joe.borg root 4.0K Oct 23 09:56 Wrapping/
>> > drwxr-xr-x  3 joe.borg root 4.0K Oct 23 09:56 Common/
>> > drwxr-xr-x  7 joe.borg root 4.0K Oct 23 09:57 Qt/
>> > drwxr-xr-x 24 joe.borg root 8.0K Oct 23 10:01 VTK/
>> > drwxr-xr-x  5 joe.borg root 4.0K Oct 23 10:01 ThirdParty/
>> > drwxr-xr-x  9 joe.borg root 4.0K Oct 23 10:02 ParaViewCore/
>> > drwxr-xr-x  3 joe.borg root 4.0K Oct 23 10:02 Applications/
>> >
>> > Thanks.
>> >
>> >
>> > Regards,
>> > Joseph David Borġ
>> > http://www.jdborg.com
>> >
>> >
>> > On 19 October 2012 21:43, Yuanxin Liu  wrote:
>> >>
>> >> Hi, Joe,
>> >>   Berk reminded me that Andy Bauer has put in some fixes for gradient
>> >> interpolation for pyramids (5a7dc931c54d868).  Since your data contain
>> >> pyramids, this is quite likely the fix for this bug.
>> >> Leo
>> >>
>> >> On Fri, Oct 19, 2012 at 12:05 PM, Yuanxin Liu 
>> >> wrote:
>> >>>
>> >>> Hi, Joe,
>> >>>   It looks like this was indeed a bug in 3.14.1 but the bug has been
>> >>> fixed in the current development branch. I am not entirely sure which
>> >>> commit
>> >>> explicitly did it.
>> >>>
>> >>> Leo
>> >>>
>> >>> On Fri, Oct 19, 2012 at 5:54 AM, Joe Borġ  wrote:
>> 
>>  Hi,
>> 
>>  I am using 3.14.1 64-bit on a single core (if I enable multi-core, it
>>  becomes very unstable).
>> 
>>  Adding tets to this small case works, but I've got a bigger duct with
>>  a
>>  more refined mesh and adding tets don't fix the problem (make it
>>  better
>>  though).
>> 
>>  See attached PVSM.
>> 
>> 
>> 
>>  Regards,
>>  Joseph David Borġ
>>  http://www.jdborg.com
>> 
>> 
>>  On 18 October 2012 19:00, Yuanxin Liu  wrote:
>> >
>> > No, I did not use Tetrahedralize.
>> >
>> > Are you using the lastest development version?  Are you running
>> > paraview as a single process?
>> >
>> > Do you mind saving a state file of your session and post it?
>> >
>> > thanks!
>> >
>> > Leo
>> >
>> >
>> >
>> > On Thu, Oct 18, 2012 at 4:31 AM, Joe Borġ  wrote:
>> >>
>> >> Hi Leo,
>> >>
>> >> You don't seem to have used the Tetrahedralise filter?  How have
>> >> you
>> >> got this to work without that?
>> >>
>> >> Mine works fine after setting the fluid as input and source as the
>> >> inlet, but I must first use the Tetrahedralise filter.
>> >>
>> >>
>> >> Regards,
>> >> Joseph David Borġ
>> >> http://www.jdborg.com
>> >>
>> >>
>> >> On 17 October 2012 18:14, Yuanxin Liu  wrote:

Re: [Paraview] ParaView thinks that it does not have a wind blade reader

2012-10-24 Thread Andy Bauer
Hi Sohail,

Did you get a chance to look at the warnings for the
vtkIOGeometryCxx-TestWindBladeReader test for the
http://review.source.kitware.com/#/t/1396/ gerrit topic? It's going to need
to be fixed pretty soon if it's going to make it into the ParaView 4.0
release.

Thanks,
Andy

On Wed, Oct 3, 2012 at 10:22 PM, Andy Bauer  wrote:

> It's available with "git clone git://vtk.org/VTKLargeData.git VTKLargeData".
> It's in the Data/WindBladeReader subdirectory there.
>
> On Wed, Oct 3, 2012 at 6:27 PM, Sohail Shafii wrote:
>
>> Which data set are you using for the test?
>>
>> If it's the single turbine data set with the curvy terrain, I don't have
>> it (I use other data sets) so I can't do a similar test.  Let me know where
>> I can download it.
>>
>> Sohail
>>
>>   --
>> *From:* Andy Bauer 
>> *To:* David E DeMarle 
>> *Cc:* Sohail Shafii ; "migic...@gmail.com" <
>> migic...@gmail.com>; "paraview@paraview.org" ;
>> "Woodring, Jonathan L" 
>> *Sent:* Wednesday, October 3, 2012 3:16 PM
>>
>> *Subject:* Re: [Paraview] ParaView thinks that it does not have a wind
>> blade reader
>>
>> I finally got around to doing the VTK part of the WindBladeReader work.
>> It's on gerrit at http://review.source.kitware.com/#/c/7734/. It still
>> needs some cleanup but at least both the serial test and the parallel test
>> with a single process pass. For the serial test,
>> vtkIOGeometryCxx-TestWindBladeReader, I'm still getting the following
>> warning which needs to be fixed as well:
>> Warning: In
>> /home/acbauer/CODE/VTK/VTK/IO/Geometry/vtkWindBladeReader.cxx, line 568
>> vtkWindBladeReader (0x1373840): WindBladeReader error reading file:
>> /home/acbauer/DATA/VTKLargeData/Data/WindBladeReader/test1_topo.wind
>> Premature EOF while reading block of data. Expected 896000 but got 0
>>
>> Sohail, can you check this out and fix it?
>>
>> Thanks,
>> Andy
>>
>> On Fri, Jul 20, 2012 at 12:02 PM, David E DeMarle <
>> dave.dema...@kitware.com> wrote:
>>
>> Thanks.
>>
>> In today's git master it now sits in VTK/IO/Parallel/vtkWindbladeReader.
>>
>> The serial version should go in VTK/IO/Geometry.
>>
>> The MPI version should go in a new module VTK/IO/MPIParallel.
>> (VTK/IO/Parallel depends only on vtkSocketController now and should
>> not depend on vtkMPIController).
>>
>> Finally when that is done we can remove the flag in paraview's xml
>> that prevents it from being used in serial.
>>
>> David E DeMarle
>> Kitware, Inc.
>> R&D Engineer
>> 21 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-881-4909
>>
>>
>> On Thu, Jul 19, 2012 at 7:08 PM, Sohail Shafii 
>> wrote:
>> > Well it seems like #1 and #2 can be solved by writing a new parallel
>> wind
>> > blade reader class. I had similar experience by creating distributed
>> > versions of class that I created in other vtk directories. The normal
>> wind
>> > blade reader would have no parallel calls, which would address #1.
>> >
>> > What I find interesting is that in your directories, the wind blade
>> reader
>> > is located in VTK/IO/Parallel. For the ParaView snapshot that I
>> downloaded,
>> > as well as the 3.14 source, it's still in VTK/Parallel.  No Parallel
>> folder
>> > in VTK/IO. Is this a recent change?
>> >
>> > So maybe the ideal folder layout would be:
>> >
>> > VTK/IO/WindBladeReader.*
>> >
>> > VTK/IO/Parallel/DistributedWindBladeReader.*
>> >
>> > I can make changes to the WindBladeReader to remove the MPI-IO calls and
>> > make a distributed wind blade reader class in case you want to add them
>> to
>> > the repository. The one template I have for the parallel/serial split
>> is the
>> > vtkStreamTracer and its distributed counterparts so I can use those as a
>> > guide.  If you have better recommendations please let me know.
>> >
>> > Sohail
>> >
>> > 
>> > From: David E DeMarle 
>> > To: Sohail Shafii 
>> > Cc: Andy Bauer ; "migic...@gmail.com"
>> > ; "paraview@paraview.org" ;
>> > "Woodring, Jonathan L" 
>> > Sent: Thursday, July 19, 2012 3:20 PM
>> >
>> > Subject: Re: [Paraview] ParaView thinks that it does not have a wind
>> blade
>> > reader
>> >
>> > Two issues need to be fixed.
>> > 1) that behavior in 3.14 is there because of this fix which we had to
>> > rush in just before the 3.14 release.
>> >
>> > Committer: Utkarsh Ayachit   2012-02-08
>> > 17:12:18
>> > Parent: e401d569f6e54c49c3497852463f6b13a01da8b6 (Update version after
>> > 3.14.0-RC1 tag.)
>> > Child:  99fdb1aeb5997c29b43393f45a478c4b53a23109 (Merge topic
>> > 'fix_windblade_segfault')
>> > Branches: many (31)
>> > Follows: v3.14.0-RC1
>> > Precedes: v3.14.0-RC2
>> >
>> > Fix segfault with ParaView built with MPI when opening *.vtr files.
>> >
>> > The problem was that vtkWindBlade reader was getting created to test
>> > "CanReadFile" and that would cause segfault unless MPI was
>> initialized.
>> >
>> > Solved the problem by added support to vtkSMReaderFactory to
>> respect the
>> > ProcessSupport 

[Paraview] Vorticity computation from separated velocity array

2012-10-24 Thread 中田拓馬
Dear all,

I am trying to compute vorticity from separated velocity vectors, but
pre-installed filter of paraview seems to require 3-components vector as an
input. Then, I have tried to use the "Python Calculator" filter to
construct it.  I put "hstack([VelocityX, VelocityY, VelocityZ])" into the
"Expression" field following the wiki.  However, it created just a copy of
VelocityX instead of 3-components vector.  How can I construct 3-components
array form separated velocity vectors?

I have also tried to use the "Programmable Filter".  But, it has been
really difficult for me and I could not just extract the vector from the
input.  The vectors live in vtkUnstructuredGrid in a vtkMultiBlockDataSet
and there are no function to extract Point Data form it.

Regards,

Makoto
___
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] Vorticity computation from separated velocity array

2012-10-24 Thread Andy Bauer
What version of ParaView are you using?  I was able to use
"hstack([VelocityX, VelocityY, VelocityZ])" with the Python Calculator
filter in v3.14.1. Alternatively you could try the Calculator filter with
"iHat*VelocityX+jHat*VelocityY+kHat*VelocityZ".

Andy

On Wed, Oct 24, 2012 at 12:17 PM, 中田拓馬  wrote:

> Dear all,
>
> I am trying to compute vorticity from separated velocity vectors, but
> pre-installed filter of paraview seems to require 3-components vector as an
> input. Then, I have tried to use the "Python Calculator" filter to
> construct it.  I put "hstack([VelocityX, VelocityY, VelocityZ])" into the
> "Expression" field following the wiki.  However, it created just a copy of
> VelocityX instead of 3-components vector.  How can I construct 3-components
> array form separated velocity vectors?
>
> I have also tried to use the "Programmable Filter".  But, it has been
> really difficult for me and I could not just extract the vector from the
> input.  The vectors live in vtkUnstructuredGrid in a vtkMultiBlockDataSet
> and there are no function to extract Point Data form it.
>
> Regards,
>
> Makoto
>
>
> ___
> 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] Vorticity computation from separated velocity array

2012-10-24 Thread Karl König
Makoto,

Please see
http://www.paraview.org/Wiki/Beginning_Filters#Calculator_filter and
http://www.paraview.org/Wiki/Advanced_Tips_and_Tricks#Creating_vectors_from_2_or_3_scalars
on how to combine velocity vector components into a 3-components vector.

Karl


中田拓馬 wrote, On 24.10.2012 18:17:
> Dear all, 
> 
> I am trying to compute vorticity from separated velocity vectors, but
> pre-installed filter of paraview seems to require 3-components vector as
> an input. Then, I have tried to use the "Python Calculator" filter to
> construct it.  I put "hstack([VelocityX, VelocityY, VelocityZ])" into
> the "Expression" field following the wiki.  However, it created just a
> copy of VelocityX instead of 3-components vector.  How can I construct
> 3-components array form separated velocity vectors?  
> 
> I have also tried to use the "Programmable Filter".  But, it has been
> really difficult for me and I could not just extract the vector from the
> input.  The vectors live in vtkUnstructuredGrid in a
> vtkMultiBlockDataSet and there are no function to extract Point Data
> form it.  
> 
> Regards, 
> 
> Makoto

___
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] Inconsistent results with the stream trace filter

2012-10-24 Thread Joe Borġ
Ok, looking at the superbuild.  I'm behind a firewall, so all git commands
need to be over http:// rather than git://

Which makefile can I mod this path in?

[ 90%] Performing download step (git clone) for 'paraview'
Initialized empty Git repository in
/cfd/software/ParaView/ParaView-3.14.1-SuperBuild/build/paraview/src/paraview/.git/
error: RPC failed; result=22, HTTP code = 407


Regards,
Joseph David Borġ
http://www.jdborg.com


On 24 October 2012 16:01, Utkarsh Ayachit wrote:

> This include libXt.so and include files such as
> /usr/include/X11/Core.h. On debian-based systems, it's available as
> the package "libxt-dev". Also you can try the nightly binaries
> directly, if you don't want to build from source. The instructions to
> download the binaries are:
> http://paraview.org/Wiki/ParaView/Superbuild#Obtaining_the_source
>
> On Wed, Oct 24, 2012 at 10:47 AM, Joe Borġ  wrote:
> > Hi guys, sorry to keep finding problems, but I'm stuck here:
> >
> >   X11_Xt_LIB could not be found.  Required for VTK X lib.
> >
> > Can you give me an example of a lib that should be in there so I can
> search
> > for that to get the dir please?
> >
> >
> >
> > Regards,
> > Joseph David Borġ
> > http://www.jdborg.com
> >
> >
> > On 23 October 2012 13:55, Utkarsh Ayachit 
> > wrote:
> >>
> >> Joe,
> >>
> >> Use the latest revision of the wiki page to build the source from
> >> git-master (http://paraview.org/Wiki/ParaView:Build_And_Install).
> >>
> >> Utkarsh
> >>
> >> On Tue, Oct 23, 2012 at 7:18 AM, Joe Borġ  wrote:
> >> > Thanks for the info Leo,
> >> >
> >> > I am, however, having trouble building the source that I've
> downloaded.
> >> >
> >> > Could you point me to any instructions on how to build?
> >> >
> >> >
> http://paraview.org/Wiki/index.php?title=ParaView:Build_And_Install&oldid=46445#On_Unix-like_operating_systems_2
> >> > doesn't seem to tie up with the files I get.
> >> >
> >> > These are the files I've pulled from Git:
> >> >
> >> > -rw-r--r--  1 joe.borg root  364 Oct 23 09:43
> >> > ParaViewConfigVersion.cmake.in
> >> > -rw-r--r--  1 joe.borg root 2.6K Oct 23 09:43 ParaViewConfig.cmake.in
> >> > -rw-r--r--  1 joe.borg root  15K Oct 23 09:43 License_v1.2.txt
> >> > -rw-r--r--  1 joe.borg root  583 Oct 23 09:43 DartConfig.cmake
> >> > -rw-r--r--  1 joe.borg root  539 Oct 23 09:43 CTestConfig.cmake
> >> > -rw-r--r--  1 joe.borg root  24K Oct 23 09:43 CMakeLists.txt
> >> > -rw-r--r--  1 joe.borg root 3.2K Oct 23 09:43 vtkPVConfig.h.in
> >> > -rw-r--r--  1 joe.borg root 5.0K Oct 23 09:43 cave.pvx
> >> > drwxr-xr-x  5 joe.borg root 4.0K Oct 23 09:54 Examples/
> >> > drwxr-xr-x 26 joe.borg root 4.0K Oct 23 09:55 Plugins/
> >> > drwxr-xr-x 13 joe.borg root 4.0K Oct 23 09:56 Utilities/
> >> > drwxr-xr-x  2 joe.borg root  12K Oct 23 09:56 CMake/
> >> > drwxr-xr-x 11 joe.borg root  12K Oct 23 09:56 SuperBuild/
> >> > drwxr-xr-x  5 joe.borg root 4.0K Oct 23 09:56 CoProcessing/
> >> > drwxr-xr-x  2 joe.borg root 4.0K Oct 23 09:56 CommandLineExecutables/
> >> > drwxr-xr-x  4 joe.borg root 4.0K Oct 23 09:56 Wrapping/
> >> > drwxr-xr-x  3 joe.borg root 4.0K Oct 23 09:56 Common/
> >> > drwxr-xr-x  7 joe.borg root 4.0K Oct 23 09:57 Qt/
> >> > drwxr-xr-x 24 joe.borg root 8.0K Oct 23 10:01 VTK/
> >> > drwxr-xr-x  5 joe.borg root 4.0K Oct 23 10:01 ThirdParty/
> >> > drwxr-xr-x  9 joe.borg root 4.0K Oct 23 10:02 ParaViewCore/
> >> > drwxr-xr-x  3 joe.borg root 4.0K Oct 23 10:02 Applications/
> >> >
> >> > Thanks.
> >> >
> >> >
> >> > Regards,
> >> > Joseph David Borġ
> >> > http://www.jdborg.com
> >> >
> >> >
> >> > On 19 October 2012 21:43, Yuanxin Liu  wrote:
> >> >>
> >> >> Hi, Joe,
> >> >>   Berk reminded me that Andy Bauer has put in some fixes for gradient
> >> >> interpolation for pyramids (5a7dc931c54d868).  Since your data
> contain
> >> >> pyramids, this is quite likely the fix for this bug.
> >> >> Leo
> >> >>
> >> >> On Fri, Oct 19, 2012 at 12:05 PM, Yuanxin Liu 
> >> >> wrote:
> >> >>>
> >> >>> Hi, Joe,
> >> >>>   It looks like this was indeed a bug in 3.14.1 but the bug has been
> >> >>> fixed in the current development branch. I am not entirely sure
> which
> >> >>> commit
> >> >>> explicitly did it.
> >> >>>
> >> >>> Leo
> >> >>>
> >> >>> On Fri, Oct 19, 2012 at 5:54 AM, Joe Borġ  wrote:
> >> 
> >>  Hi,
> >> 
> >>  I am using 3.14.1 64-bit on a single core (if I enable multi-core,
> it
> >>  becomes very unstable).
> >> 
> >>  Adding tets to this small case works, but I've got a bigger duct
> with
> >>  a
> >>  more refined mesh and adding tets don't fix the problem (make it
> >>  better
> >>  though).
> >> 
> >>  See attached PVSM.
> >> 
> >> 
> >> 
> >>  Regards,
> >>  Joseph David Borġ
> >>  http://www.jdborg.com
> >> 
> >> 
> >>  On 18 October 2012 19:00, Yuanxin Liu  wrote:
> >> >
> >> > No, I did not use Tetrahedralize.
> >> >
> >> > Are you using the lastest development version?  Are you running
> >

Re: [Paraview] Inconsistent results with the stream trace filter

2012-10-24 Thread Utkarsh Ayachit
I was suggesting directly downloading the binaries, not even trying to
build the superbuild. Building using superbuild may be trickier,
especially since you're getting other build issues with building
ParaView itself. If you want to build from source, you'll have to edit
the versions.cmake file to use http:// instead of git:// for all git
repos.

Utkarsh

On Wed, Oct 24, 2012 at 1:00 PM, Joe Borġ  wrote:
> Ok, looking at the superbuild.  I'm behind a firewall, so all git commands
> need to be over http:// rather than git://
>
> Which makefile can I mod this path in?
>
> [ 90%] Performing download step (git clone) for 'paraview'
> Initialized empty Git repository in
> /cfd/software/ParaView/ParaView-3.14.1-SuperBuild/build/paraview/src/paraview/.git/
> error: RPC failed; result=22, HTTP code = 407
>
>
>
> Regards,
> Joseph David Borġ
> http://www.jdborg.com
>
>
> On 24 October 2012 16:01, Utkarsh Ayachit 
> wrote:
>>
>> This include libXt.so and include files such as
>> /usr/include/X11/Core.h. On debian-based systems, it's available as
>> the package "libxt-dev". Also you can try the nightly binaries
>> directly, if you don't want to build from source. The instructions to
>> download the binaries are:
>> http://paraview.org/Wiki/ParaView/Superbuild#Obtaining_the_source
>>
>> On Wed, Oct 24, 2012 at 10:47 AM, Joe Borġ  wrote:
>> > Hi guys, sorry to keep finding problems, but I'm stuck here:
>> >
>> >   X11_Xt_LIB could not be found.  Required for VTK X lib.
>> >
>> > Can you give me an example of a lib that should be in there so I can
>> > search
>> > for that to get the dir please?
>> >
>> >
>> >
>> > Regards,
>> > Joseph David Borġ
>> > http://www.jdborg.com
>> >
>> >
>> > On 23 October 2012 13:55, Utkarsh Ayachit 
>> > wrote:
>> >>
>> >> Joe,
>> >>
>> >> Use the latest revision of the wiki page to build the source from
>> >> git-master (http://paraview.org/Wiki/ParaView:Build_And_Install).
>> >>
>> >> Utkarsh
>> >>
>> >> On Tue, Oct 23, 2012 at 7:18 AM, Joe Borġ  wrote:
>> >> > Thanks for the info Leo,
>> >> >
>> >> > I am, however, having trouble building the source that I've
>> >> > downloaded.
>> >> >
>> >> > Could you point me to any instructions on how to build?
>> >> >
>> >> >
>> >> > http://paraview.org/Wiki/index.php?title=ParaView:Build_And_Install&oldid=46445#On_Unix-like_operating_systems_2
>> >> > doesn't seem to tie up with the files I get.
>> >> >
>> >> > These are the files I've pulled from Git:
>> >> >
>> >> > -rw-r--r--  1 joe.borg root  364 Oct 23 09:43
>> >> > ParaViewConfigVersion.cmake.in
>> >> > -rw-r--r--  1 joe.borg root 2.6K Oct 23 09:43 ParaViewConfig.cmake.in
>> >> > -rw-r--r--  1 joe.borg root  15K Oct 23 09:43 License_v1.2.txt
>> >> > -rw-r--r--  1 joe.borg root  583 Oct 23 09:43 DartConfig.cmake
>> >> > -rw-r--r--  1 joe.borg root  539 Oct 23 09:43 CTestConfig.cmake
>> >> > -rw-r--r--  1 joe.borg root  24K Oct 23 09:43 CMakeLists.txt
>> >> > -rw-r--r--  1 joe.borg root 3.2K Oct 23 09:43 vtkPVConfig.h.in
>> >> > -rw-r--r--  1 joe.borg root 5.0K Oct 23 09:43 cave.pvx
>> >> > drwxr-xr-x  5 joe.borg root 4.0K Oct 23 09:54 Examples/
>> >> > drwxr-xr-x 26 joe.borg root 4.0K Oct 23 09:55 Plugins/
>> >> > drwxr-xr-x 13 joe.borg root 4.0K Oct 23 09:56 Utilities/
>> >> > drwxr-xr-x  2 joe.borg root  12K Oct 23 09:56 CMake/
>> >> > drwxr-xr-x 11 joe.borg root  12K Oct 23 09:56 SuperBuild/
>> >> > drwxr-xr-x  5 joe.borg root 4.0K Oct 23 09:56 CoProcessing/
>> >> > drwxr-xr-x  2 joe.borg root 4.0K Oct 23 09:56 CommandLineExecutables/
>> >> > drwxr-xr-x  4 joe.borg root 4.0K Oct 23 09:56 Wrapping/
>> >> > drwxr-xr-x  3 joe.borg root 4.0K Oct 23 09:56 Common/
>> >> > drwxr-xr-x  7 joe.borg root 4.0K Oct 23 09:57 Qt/
>> >> > drwxr-xr-x 24 joe.borg root 8.0K Oct 23 10:01 VTK/
>> >> > drwxr-xr-x  5 joe.borg root 4.0K Oct 23 10:01 ThirdParty/
>> >> > drwxr-xr-x  9 joe.borg root 4.0K Oct 23 10:02 ParaViewCore/
>> >> > drwxr-xr-x  3 joe.borg root 4.0K Oct 23 10:02 Applications/
>> >> >
>> >> > Thanks.
>> >> >
>> >> >
>> >> > Regards,
>> >> > Joseph David Borġ
>> >> > http://www.jdborg.com
>> >> >
>> >> >
>> >> > On 19 October 2012 21:43, Yuanxin Liu  wrote:
>> >> >>
>> >> >> Hi, Joe,
>> >> >>   Berk reminded me that Andy Bauer has put in some fixes for
>> >> >> gradient
>> >> >> interpolation for pyramids (5a7dc931c54d868).  Since your data
>> >> >> contain
>> >> >> pyramids, this is quite likely the fix for this bug.
>> >> >> Leo
>> >> >>
>> >> >> On Fri, Oct 19, 2012 at 12:05 PM, Yuanxin Liu 
>> >> >> wrote:
>> >> >>>
>> >> >>> Hi, Joe,
>> >> >>>   It looks like this was indeed a bug in 3.14.1 but the bug has
>> >> >>> been
>> >> >>> fixed in the current development branch. I am not entirely sure
>> >> >>> which
>> >> >>> commit
>> >> >>> explicitly did it.
>> >> >>>
>> >> >>> Leo
>> >> >>>
>> >> >>> On Fri, Oct 19, 2012 at 5:54 AM, Joe Borġ  wrote:
>> >> 
>> >>  Hi,
>> >> 
>> >>  I am using 3.14.1 64-bit on a single core (if I enable multi-core,
>> >>  it
>> >>  become

Re: [Paraview] VTK Code to Paraview

2012-10-24 Thread David Doria
On Tue, Oct 23, 2012 at 3:50 PM, Fabiano Papaiz wrote:

> Hi Everybody, (sorry my english)
>
> I am new in paraview and have some experience with VTK with python (some
> codes that parse a DICOM Medical images and rendering as
> volume/isosurface).
>
> My basic question is: how can i use the output generated by my VTK code
> and input in a paraview to be render? (Is this possible?)
>
> Below an piece of my python code:
>
>reader = vtk.vtkDICOMImageReader()
>reader.SetDirectoryName(dirDicom)
>reader.Update()
>
>contour = vtk.vtk.vtkMarchingCubes()
>contour.SetInput( reader.GetOutput() )
>contour.ComputeNormalsOn()
>contour.SetValue( 0, 1250 )
>
>mapper = vtk.vtkPolyDataMapper()
>mapper.SetInput( contour.GetOutput() )
>mapper.ScalarVisibilityOff()
>
>actorBone = vtk.vtkLODActor()
>actorBone.SetNumberOfCloudPoints( 100 )
>actorBone.SetMapper( mapper )
>actorBone.GetProperty().SetColor( 1, 1, 1 )
>actorBone.GetProperty().SetOpacity( 0.7 )
>##
>## HERE,  Instead of use a vtkRenderWindow I want show in paraview.
>

The way you have set those properties at the end (the color/opacity), they
cannot be exported and viewed in Paraview. Since your 'contour' filter
produces a vtkPolyData, you can use vtkXMLPolyDataWriter to write it to a
vtp file which can then be opened with Paraview. I'd suggest you do that,
then setup the properties (color/opacity) in Paraview.

David
___
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] Using VR-Style input devices

2012-10-24 Thread Johannes Zarl
On Wednesday 24 October 2012 17:01:37 Aashish Chaudhary wrote:
> The way it works now is that you create a connection manager (lines
> 475 - 483), which will be generated by the GUI if used, and then for
> the styles,
> you would link it with the ID of the proxy and its specific property
> that you want to control. Now said that the GUI shows you the name of
> the proxy and not the ID
> for obvious reasons. Then depending upon the type of the proxy and
> property you specify a particular input from a HCI device. Currently
> we support analog, button, and tracker.
> 
> The wiki here is bit old:
> http://www.paraview.org/Wiki/ParaView/Users_Guide/CAVE_Display

Yes, I noticed. Together with the information in a thread on this list
(http://www.paraview.org/pipermail/paraview/2012-July/025507.html), it was 
quite valuable, though...

> We wrote a source article as well:
> http://www.kitware.com/source/home/post/66

Thanks, I didn't see that before.

> 
> This recent work is not in master yet (hopefully this Friday) but you
> can checkout this branch: vtk_vr_improvements_new_gui
> if you want to from paraview stage repository. The branch contains
> bunch of bug fixes, and API improvements.

That's great news -- I wasn't aware that the GUI work is this close to 
entering master. The screenshot looks promising. I will definitely try it out 
next week.

Thanks,
  Johannes
___
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] PV3.14.1 Crash

2012-10-24 Thread Anton Gladky
>> 2) by the way, when I open Paraview, there are lots of information (as shown
>> below) shown in Output Message,  how to solve it?

Utkarsh,

could you, please, say, where is it possible to get a patch, fixing this issue?
I will try to prepare fix-upload for Ubuntu 12.04. Strange, but
Paraview in Debian, built from the same source, has no such messages.

Thanks,

Anton
___
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