Re: [Paraview] Direct link to ParaView sources not working with wget

2015-09-27 Thread Utkarsh Ayachit
Michael,

Try quoting the link. I guessing the shell in interpreting those
ampersands and messing things up. The following works for me.

> wget 
> "http://www.paraview.org/paraview-downloads/download.php?submit=Download=v4.4=source=all=ParaView-v4.4.0-source.tar.gz;

Utkarsh

On Fri, Sep 25, 2015 at 11:13 PM, Schlottke-Lakemper, Michael
 wrote:
> Dear ParaView team,
>
> Maybe it’s just something that’s bothering me, but whenever I need to
> install a new version of ParaView on our cluster, I have to first download
> it to my client and then scp it to the final destination. Trying to use wget
> to get the sources using the “Show direct link" feature just results in
> downloading an (empty) "download.php?submit=Download” file to the machine. I
> am not an expert on wget and http, but if this is a small thing to fix, I
> would be very grateful :)
>
> Regards,
>
> Michael
>
>
> --
> Michael Schlottke-Lakemper
>
> SimLab Highly Scalable Fluids & Solids Engineering
> Jülich Aachen Research Alliance (JARA-HPC)
> RWTH Aachen University
> Wüllnerstraße 5a
> 52062 Aachen
> Germany
>
> Phone: +49 (241) 80 95188
> Fax: +49 (241) 80 92257
> Mail: m.schlottke-lakem...@aia.rwth-aachen.de
> Web: http://www.jara.org/jara-hpc
>
>
> ___
> 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
>
> Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Send an array from client to server

2015-09-26 Thread Utkarsh Ayachit
I am sure you're misinterpreting the code. I created the extra vtkSM class
in my example only so that I can do the "SendStream" somewhere. Anycase,
I'll let you figure that out when you have the time.

Utkarsh

On Sat, Sep 26, 2015 at 6:10 PM, Biddiscombe, John A. <biddi...@cscs.ch>
wrote:

> Thanks Utkarsh,
>
> I’ve decided to stick with my own solution for the time being – having to
> create extra vtkSMxxx classes for all the sources adds too much maintenance
> to the code, whereas just adding an #include seems cleaner. When my
> immediate deadline has passed I’ll look again at it.
>
> Thanks
>
> JB
>
> From: Utkarsh Ayachit <utkarsh.ayac...@kitware.com>
> Date: Thursday 24 September 2015 17:57
> To: cscs <biddi...@cscs.ch>
> Cc: "paraview@paraview.org" <paraview@paraview.org>
> Subject: Re: [Paraview] Send an array from client to server
>
> Attached is the solution, there a small mistake in my origin script:
>
>  vtkClientServerStream stream;
>  stream << vtkClientServerStream::Invoke
>   << VTKOBJECT(proxy)
><< SetValues
><< maxValues
>    << stream.InsertArray(values, maxValues)
><< vtkClientServerStream::End;
>
> Utkarsh
>
> On Mon, Sep 21, 2015 at 8:40 AM, Utkarsh Ayachit <
> utkarsh.ayac...@kitware.com> wrote:
>
>> John,
>>
>> That looks too convoluted. I haven't done this in a while so I'll need
>> to refresh my memory a bit. I'll make an example today and then get
>> back to you.
>>
>> Utkarsh
>>
>> On Sun, Sep 20, 2015 at 4:43 AM, Biddiscombe, John A. <biddi...@cscs.ch>
>> wrote:
>> > Just following up so that when I’ve forgotten how to do it ...
>> >
>> > This works
>> >
>> > #define VTK_WRAPPING_CXX
>> > #include "vtkClientServerStream.h"
>> >
>> > ...
>> >
>> >
>> > //  void SetSelectedGIds(int n, const int *Ids);
>> >   void SetSelectedGIds(int N, int Ids[]);
>> > //BTX
>> >   void SetSelectedGIds(int N, vtkClientServerStreamDataArg );
>> > //ETX
>> >
>> > And in the cxx, use the vtkClientServerStreamDataArg operator () to get
>> > the T* pointer.
>> >
>> > Then in the client GUI
>> >
>> > vtkClientServerStream::Array array =
>> >   {
>> > vtkClientServerStream::int32_array,
>> > static_cast(numValues),
>> >
>> >
>> static_cast(sizeof(vtkClientServerStream::int32_value)*numVa
>> > lues),
>> > (int*)(data)
>> >   };
>> >
>> >
>> >   vtkClientServerStream stream;
>> >   stream << vtkClientServerStream::Invoke
>> > << VTKOBJECT(proxy)
>> > << "SetSelectedGIds"
>> > << numValues
>> > << array;
>> >   stream << vtkClientServerStream::End;
>> >
>> > This correctly inserts the array and the type,size,data vars so that the
>> > server reads them as expected.
>> >
>> > I’m not happy about the fact that we have to spoof the wrapper
>> generators,
>> > but at least I don’t need to modify the ClientServerStreamArg<>
>> > implementation.
>> >
>> >
>> >
>> > JB
>> >
>>
>
>
___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Send an array from client to server

2015-09-24 Thread Utkarsh Ayachit
Attached is the solution, there a small mistake in my origin script:

 vtkClientServerStream stream;
 stream << vtkClientServerStream::Invoke
  << VTKOBJECT(proxy)
   << SetValues
   << maxValues
   << stream.InsertArray(values, maxValues)
   << vtkClientServerStream::End;

Utkarsh

On Mon, Sep 21, 2015 at 8:40 AM, Utkarsh Ayachit <
utkarsh.ayac...@kitware.com> wrote:

> John,
>
> That looks too convoluted. I haven't done this in a while so I'll need
> to refresh my memory a bit. I'll make an example today and then get
> back to you.
>
> Utkarsh
>
> On Sun, Sep 20, 2015 at 4:43 AM, Biddiscombe, John A. <biddi...@cscs.ch>
> wrote:
> > Just following up so that when I’ve forgotten how to do it ...
> >
> > This works
> >
> > #define VTK_WRAPPING_CXX
> > #include "vtkClientServerStream.h"
> >
> > ...
> >
> >
> > //  void SetSelectedGIds(int n, const int *Ids);
> >   void SetSelectedGIds(int N, int Ids[]);
> > //BTX
> >   void SetSelectedGIds(int N, vtkClientServerStreamDataArg );
> > //ETX
> >
> > And in the cxx, use the vtkClientServerStreamDataArg operator () to get
> > the T* pointer.
> >
> > Then in the client GUI
> >
> > vtkClientServerStream::Array array =
> >   {
> > vtkClientServerStream::int32_array,
> > static_cast(numValues),
> >
> >
> static_cast(sizeof(vtkClientServerStream::int32_value)*numVa
> > lues),
> > (int*)(data)
> >   };
> >
> >
> >   vtkClientServerStream stream;
> >   stream << vtkClientServerStream::Invoke
> > << VTKOBJECT(proxy)
> > << "SetSelectedGIds"
> > << numValues
> > << array;
> >   stream << vtkClientServerStream::End;
> >
> > This correctly inserts the array and the type,size,data vars so that the
> > server reads them as expected.
> >
> > I’m not happy about the fact that we have to spoof the wrapper
> generators,
> > but at least I don’t need to modify the ClientServerStreamArg<>
> > implementation.
> >
> >
> >
> > JB
> >
>


JohnPlugin.tar.gz
Description: GNU Zip compressed data
___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Pull Downloads only

2015-09-22 Thread Utkarsh Ayachit
Not to my knowledge, but that'd certainly be a good feature to add. In
any case, all the files to download are listed in versions.cmake
(https://gitlab.kitware.com/paraview/paraview-superbuild/blob/master/versions.cmake).

Utkarsh

On Tue, Sep 22, 2015 at 2:39 PM, Angelini, Richard C (Rick) CIV USARMY
RDECOM ARL (US)  wrote:
> I have to build systems that do not have external network connectivity – is
> there a trick to tell the Superbuild to only pull down the tar balls that it
> needs to build but not actually do the build?
>
>
>
> 
> Rick Angelini
> USArmy Research Laboratory
> CISD/HPC Architectures Team
> 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
>
> Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Send an array from client to server

2015-09-21 Thread Utkarsh Ayachit
John,

That looks too convoluted. I haven't done this in a while so I'll need
to refresh my memory a bit. I'll make an example today and then get
back to you.

Utkarsh

On Sun, Sep 20, 2015 at 4:43 AM, Biddiscombe, John A.  wrote:
> Just following up so that when I’ve forgotten how to do it ...
>
> This works
>
> #define VTK_WRAPPING_CXX
> #include "vtkClientServerStream.h"
>
> ...
>
>
> //  void SetSelectedGIds(int n, const int *Ids);
>   void SetSelectedGIds(int N, int Ids[]);
> //BTX
>   void SetSelectedGIds(int N, vtkClientServerStreamDataArg );
> //ETX
>
> And in the cxx, use the vtkClientServerStreamDataArg operator () to get
> the T* pointer.
>
> Then in the client GUI
>
> vtkClientServerStream::Array array =
>   {
> vtkClientServerStream::int32_array,
> static_cast(numValues),
>
> static_cast(sizeof(vtkClientServerStream::int32_value)*numVa
> lues),
> (int*)(data)
>   };
>
>
>   vtkClientServerStream stream;
>   stream << vtkClientServerStream::Invoke
> << VTKOBJECT(proxy)
> << "SetSelectedGIds"
> << numValues
> << array;
>   stream << vtkClientServerStream::End;
>
> This correctly inserts the array and the type,size,data vars so that the
> server reads them as expected.
>
> I’m not happy about the fact that we have to spoof the wrapper generators,
> but at least I don’t need to modify the ClientServerStreamArg<>
> implementation.
>
>
>
> JB
>
___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] (no subject)

2015-09-21 Thread Utkarsh Ayachit
> When I apply a threshold filter and view as a ‘Surface’ the image is a lot 
> more ‘blocky’ than in the other two applications.  The image is dominated by 
> the artifactual lines due to the original data being acquired as axial 
> slices; whereas in OsiriX and 3D Slicer this gets smoothed out and the 
> ‘genuine’ surface skull features (sutures etc) stand out.

Try using the "Contour" filter instead of Threshold. That will give
you a surface mesh. If you want to generate a volumetric dataset, use
the "Clip" filter with "Clip Type" set to Scalar and then enter the
scalar value to clip at.
___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Axes Grid bug with 2D surfaces

2015-09-18 Thread Utkarsh Ayachit
That's indeed not supported. As mentioned in the blog post [1], the
Axes Grid is intended for the entire scene, and not for a specific
dataset. Certain implementation choices (esp for supporting parallel
rendering with distributed data) require that the axes bounds are
always greater or equal to all the data being rendered in the scene.


[1] http://www.kitware.com/blog/home/post/871

On Thu, Sep 17, 2015 at 12:32 PM, Armin Wehrfritz  wrote:
>>> 2) Changing the origin of the "Axes Grid". In the old "Cube Axes"
>>> this was easily done by adjusting the "Custom bounds".
>>
>>
>> You should be able to use the "Data Transform" group of properties
>> for a similar effect.
>
>
> I tried this, but couldn't get the desired result. I attached an
> screenshot and state file to show what I'm after (using the old Cube axes).
>
> The "Data Transform" changes the labels but doesn't shift the axes.
>
> -Armin
___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Send an array from client to server

2015-09-17 Thread Utkarsh Ayachit
(hit `send` prematurely, ignore previous email)

How big is the array? For 100s of values, I'd say IntVectorProperty is
still reasonable. Any other approach will mean that those values are
not going to get saved in state files and such. For a one off push to
server side for values you don't care to be saved in state files, you
can directly call API using the vtkClientServerStream on the proxy as
follows:

  vtkClientServerStream stream;
  stream << vtkClientServerStream::Invoke
  << VTKOBJECT(proxy)
   << SetValues
   << maxValues;
stream.InsertArray(values, maxValues);
stream << vtkClientServerStream::End;

proxy->GetSession()->ExecuteStream(proxy->GetLocation(), stream);

Assuming a server-side API of `void SetValues(int count, int* values);`.

(please confirm the API, but this is pretty close to what it would look like)

Utkarsh


> On Thu, Sep 17, 2015 at 6:22 AM, Biddiscombe, John A.  
> wrote:
>>
>> I’m afraid I’ve forgotten how to write plugins for paraview and I have a 
>> simple-ish question :
>>
>>
>>
>> I’ve got a vtkUnsignedIntArray in my custom panel and I’d like to set it as 
>> a property on a reader,
>>
>> the reader has a member
>>
>> vtkSetObjectMacro(SelectedGIDs)
>>
>>
>>
>> and in the panel I’ve generated a list of IDs, but I cannot recall how I’m 
>> supposed to set them as the proxyproperty for the source.
>>
>>
>>
>> Is there an example (I do remember that I don’t want to use an 
>> IntVectorProperty, but pass a whole array as a proxy property)
>>
>>
>>
>> (I’m considering using a vtkSelection, but the GIDs are not the same as the 
>> cell Ids, so I wanted to try a direct array method first)
>>
>>
>>
>> thanks
>>
>>
>>
>> JB
>>
>>
>>
>> --
>>
>> John Biddiscombe,email:biddisco @.at.@ cscs.ch
>>
>> http://www.cscs.ch/
>>
>> CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
>>
>> Via Trevano 131, 6900 Lugano, Switzerland   | Fax:  +41 (91) 610.82.82
>>
>>
>>
>>
>> ___
>> 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
>>
>> Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Axes Grid bug with 2D surfaces

2015-09-17 Thread Utkarsh Ayachit
> 1) Adjusting the font, color, etc. for all axes together in one step.
> Currently I have to change e.g. the color 6 times, which is quite
> tedious if I just quickly want to adjust the color of the axes.

True. I couldnt' decide if they should be separate or combined. I
opted for separate since it allows for nice viz like this
(http://www.kitware.com/blog/files/48_97946856.png). BTW, you can use
the "Save current values as default" button on the bottom left corner
of the dialog to preserve your setup between multiple ParaView runs.

> 2) Changing the origin of the "Axes Grid". In the old "Cube Axes" this
> was easily done by adjusting the "Custom bounds".

You should be able to use the "Data Transform" group of properties for
a similar effect.

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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Send an array from client to server

2015-09-17 Thread Utkarsh Ayachit
How big is the array? For 100s of values, I'd say IntVectorProperty is
still reasonable. Any other approach will mean that those values are not
going to get saved in state files and such. For a one off push to server
side for values you don't care to be saved in state files, you can directly
call API using the vtkClientServerStream on the proxy as follows:

  vtkClientServerStream stream;
  stream << vtkClientServerStream::Invoke
  << VTKOBJECT(proxy)

  for (int cc=0; cc < maxValues; cc++)
{
}

On Thu, Sep 17, 2015 at 6:22 AM, Biddiscombe, John A. 
wrote:

> I’m afraid I’ve forgotten how to write plugins for paraview and I have a
> simple-ish question :
>
>
>
> I’ve got a vtkUnsignedIntArray in my custom panel and I’d like to set it
> as a property on a reader,
>
> the reader has a member
>
> vtkSetObjectMacro(SelectedGIDs)
>
>
>
> and in the panel I’ve generated a list of IDs, but I cannot recall how I’m
> supposed to set them as the proxyproperty for the source.
>
>
>
> Is there an example (I do remember that I don’t want to use an
> IntVectorProperty, but pass a whole array as a proxy property)
>
>
>
> (I’m considering using a vtkSelection, but the GIDs are not the same as
> the cell Ids, so I wanted to try a direct array method first)
>
>
>
> thanks
>
>
>
> JB
>
>
>
> --
>
> John Biddiscombe,email:biddisco @.at.@ cscs.ch
>
> http://www.cscs.ch/
>
> CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
>
> Via Trevano 131, 6900 Lugano, Switzerland   | Fax:  +41 (91) 610.82.82
>
>
>
> ___
> 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
>
> Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Segfault in ParaView 4.4 RC2

2015-09-16 Thread Utkarsh Ayachit
Awesome! Glad it's working.

On Tue, Sep 15, 2015 at 11:42 PM, Dorier, Matthieu <mdor...@anl.gov> wrote:
> Bingo! My Catalyst-instrumented sample code now works like a charm on my VM 
> as well.
> Thanks a lot for your help.
>
> Matthieu
> ________
> From: Utkarsh Ayachit [utkarsh.ayac...@kitware.com]
> Sent: Tuesday, September 15, 2015 3:21 PM
> To: Dorier, Matthieu
> Cc: paraview@paraview.org
> Subject: Re: [Paraview] Segfault in ParaView 4.4 RC2
>
> Matthieu,
>
> Simply set the CMake variable OPENGL_glu_LIBRARY to empty. I think
> you're pointing it to non-existant
> /home/mdorier/local/mesa/lib/libGLU.so and hence the issue. If I am
> not mistaken, GLU is optional only required for certain tests.
>
> Utkarsh
>
> On Tue, Sep 15, 2015 at 3:26 PM, Dorier, Matthieu <mdor...@anl.gov> wrote:
>> I compiled and installed Mesa locally (Gallium llvmpipe state-tracker), but 
>> when compiling ParaView I get this error:
>>
>> make[2]: *** No rule to make target 
>> `/home/mdorier/local/mesa/lib/libGLU.so', needed by `lib/libIceTGL.so'.  
>> Stop.
>>
>> It appears that libGLU.so is not built by Mesa. Is this normal? (I'm not 
>> familiar with Mesa at all) Should GLU be downloaded and compiled from 
>> somewhere? Or is there an option in Mesa?
>>
>> (I've used Mesa 11.0.0)
>>
>> Thanks,
>>
>> Matthieu
>>
>> ____________
>> From: ParaView [paraview-boun...@paraview.org] on behalf of Dorier, Matthieu 
>> [mdor...@anl.gov]
>> Sent: Tuesday, September 15, 2015 11:00 AM
>> To: Utkarsh Ayachit
>> Cc: paraview@paraview.org
>> Subject: Re: [Paraview] Segfault in ParaView 4.4 RC2
>>
>> Thanks a lot Utkarsh!
>>
>> In the mean time I tried my code on the Blue Waters machine at NCSA and it 
>> works like a charm, so yes, it has to be the VM. I'll try with OSMesa. I 
>> don't need the ParaView GUI on the VM anyway.
>>
>> Thanks,
>>
>> Matthieu
>>
>> 
>> From: Utkarsh Ayachit [utkarsh.ayac...@kitware.com]
>> Sent: Tuesday, September 15, 2015 8:31 AM
>> To: Dorier, Matthieu
>> Cc: Cory Quammen; paraview@paraview.org
>> Subject: Re: [Paraview] Segfault in ParaView 4.4 RC2
>>
>> NVM...those were from your original tarball. I thought they were
>> generated as an output from my run :). It's indeed an X issue in both
>> cases. Couple of options:
>>
>> 1. Do a Mesa3D build locally on the VM. Then set LD_LIBRARY_PATH to
>> point to the generated OpenGL libs and run ParaView/Catalyst. That'll
>> avoid using the GL libraries provided by virtualbox.
>> 2. Do a OSMesa build and then rebuild ParaView/Catalyst to use OSMesa.
>> That'd mean you can't have the Qt UI in the same build, but Catalyst
>> and other scripting executables will work. That would avoid the X
>> issue all together. This Wiki [a] describes how to get a OSMesa
>> enabled ParaView build.
>>
>> [a] http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D
>>
>> On Tue, Sep 15, 2015 at 9:19 AM, Utkarsh Ayachit
>> <utkarsh.ayac...@kitware.com> wrote:
>>> Matthieu,
>>>
>>> Good news, I just saw the black window issue too on my build. I'll
>>> track it down and get back to you.
>>>
>>> Utkarsh
>>>
>>> On Tue, Sep 15, 2015 at 9:12 AM, Utkarsh Ayachit
>>> <utkarsh.ayac...@kitware.com> wrote:
>>>> Matthieu,
>>>>
>>>>> - If I run the application from the VM's graphical interface, it runs 
>>>>> fine. It only gives me the OpenGL warning I mentioned before. BUT the 
>>>>> generated file has a big black area (see image_2.png attached). Also I 
>>>>> see a window appear for a brief moment with the correct (full) view, then 
>>>>> it disappears. I don't know why I get that.
>>>>
>>>> I've seen this happen with the view size is greater the X window size.
>>>> Try changing the ViewSize to something small, say 200x200. Does that
>>>> work? If so, you'd need to change the X window size. Other option
>>>> would be build with OSMesa support. Since you're only using this build
>>>> for Catalyst, OSMesa will circumvent all the X related issues you've
>>>> been seeing on this VM.
>>>>
>>>>> - If I connect to the VM through SSH with -X (otherwise I get the bad 
>>>>> display error) and run the application, Catalyst also outputs an image, 
>>>

Re: [Paraview] Possible bug in recent SuperBuild?

2015-09-16 Thread Utkarsh Ayachit
Giovanni,

kwgitlab in internal Gitlab not accessible to computers outside Kitware
network. Some of the external projects are hosted there since the licensing
issues. I believe GenericIO recently went opensource. So you should be able
to update the URL in versions.cmake to the one reported here:
http://trac.alcf.anl.gov/projects/genericio.

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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Segfault in ParaView 4.4 RC2

2015-09-15 Thread Utkarsh Ayachit
Matthieu,

Simply set the CMake variable OPENGL_glu_LIBRARY to empty. I think
you're pointing it to non-existant
/home/mdorier/local/mesa/lib/libGLU.so and hence the issue. If I am
not mistaken, GLU is optional only required for certain tests.

Utkarsh

On Tue, Sep 15, 2015 at 3:26 PM, Dorier, Matthieu <mdor...@anl.gov> wrote:
> I compiled and installed Mesa locally (Gallium llvmpipe state-tracker), but 
> when compiling ParaView I get this error:
>
> make[2]: *** No rule to make target `/home/mdorier/local/mesa/lib/libGLU.so', 
> needed by `lib/libIceTGL.so'.  Stop.
>
> It appears that libGLU.so is not built by Mesa. Is this normal? (I'm not 
> familiar with Mesa at all) Should GLU be downloaded and compiled from 
> somewhere? Or is there an option in Mesa?
>
> (I've used Mesa 11.0.0)
>
> Thanks,
>
> Matthieu
>
> 
> From: ParaView [paraview-boun...@paraview.org] on behalf of Dorier, Matthieu 
> [mdor...@anl.gov]
> Sent: Tuesday, September 15, 2015 11:00 AM
> To: Utkarsh Ayachit
> Cc: paraview@paraview.org
> Subject: Re: [Paraview] Segfault in ParaView 4.4 RC2
>
> Thanks a lot Utkarsh!
>
> In the mean time I tried my code on the Blue Waters machine at NCSA and it 
> works like a charm, so yes, it has to be the VM. I'll try with OSMesa. I 
> don't need the ParaView GUI on the VM anyway.
>
> Thanks,
>
> Matthieu
>
> 
> From: Utkarsh Ayachit [utkarsh.ayac...@kitware.com]
> Sent: Tuesday, September 15, 2015 8:31 AM
> To: Dorier, Matthieu
> Cc: Cory Quammen; paraview@paraview.org
> Subject: Re: [Paraview] Segfault in ParaView 4.4 RC2
>
> NVM...those were from your original tarball. I thought they were
> generated as an output from my run :). It's indeed an X issue in both
> cases. Couple of options:
>
> 1. Do a Mesa3D build locally on the VM. Then set LD_LIBRARY_PATH to
> point to the generated OpenGL libs and run ParaView/Catalyst. That'll
> avoid using the GL libraries provided by virtualbox.
> 2. Do a OSMesa build and then rebuild ParaView/Catalyst to use OSMesa.
> That'd mean you can't have the Qt UI in the same build, but Catalyst
> and other scripting executables will work. That would avoid the X
> issue all together. This Wiki [a] describes how to get a OSMesa
> enabled ParaView build.
>
> [a] http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D
>
> On Tue, Sep 15, 2015 at 9:19 AM, Utkarsh Ayachit
> <utkarsh.ayac...@kitware.com> wrote:
>> Matthieu,
>>
>> Good news, I just saw the black window issue too on my build. I'll
>> track it down and get back to you.
>>
>> Utkarsh
>>
>> On Tue, Sep 15, 2015 at 9:12 AM, Utkarsh Ayachit
>> <utkarsh.ayac...@kitware.com> wrote:
>>> Matthieu,
>>>
>>>> - If I run the application from the VM's graphical interface, it runs 
>>>> fine. It only gives me the OpenGL warning I mentioned before. BUT the 
>>>> generated file has a big black area (see image_2.png attached). Also I see 
>>>> a window appear for a brief moment with the correct (full) view, then it 
>>>> disappears. I don't know why I get that.
>>>
>>> I've seen this happen with the view size is greater the X window size.
>>> Try changing the ViewSize to something small, say 200x200. Does that
>>> work? If so, you'd need to change the X window size. Other option
>>> would be build with OSMesa support. Since you're only using this build
>>> for Catalyst, OSMesa will circumvent all the X related issues you've
>>> been seeing on this VM.
>>>
>>>> - If I connect to the VM through SSH with -X (otherwise I get the bad 
>>>> display error) and run the application, Catalyst also outputs an image, 
>>>> but this image also has an artifact (see image_1.png attached), and then 
>>>> the application crashes in a segfault, outputing a backtrace (*** glibc 
>>>> detected *** ./Mandelbulb: munmap_chunk(): invalid pointer: 
>>>> 0x7faffb503010 ***).
>>>> In the backtrace, the first line (so the last function call) is this:
>>>> /home/mdorier/ParaView-build/lib/libvtkCommonCore-pv4.4.so.1(_ZN20vtkDataArrayTemplateIhE11DeleteArrayEv+0x4b)[0x7fb028c257fd]
>>>
>>> I am going to try your code to see if i can reproduce this one. I'll
>>> get back to you shortly.
>>>
>>> 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 th

Re: [Paraview] Permissions issue with ParaView-4.4.0-Qt4-Linux-64bit.tar.gz

2015-09-15 Thread Utkarsh Ayachit
Thanks for reporting, Eric. I've reported a bug:
http://www.paraview.org/Bug/view.php?id=15727

Utkarsh

On Tue, Sep 15, 2015 at 9:36 AM, Eric Nodwell
 wrote:
> Oops, correction to that previous post. The actual fix (bit of a
> sledgehammer) is
>
> sudo chmod -R a+rx /opt/ParaView-4.4.0-Qt4-Linux-64bit/
>
>
> On Tue, Sep 15, 2015 at 3:34 PM, Eric Nodwell
>  wrote:
>> After unpacking ParaView-4.4.0-Qt4-Linux-64bit.tar.gz I was unable to
>> launch it. Attempting to launch it from the command line resulted in:
>>
>> $ /opt/ParaView-4.4.0-Qt4-Linux-64bit/lib/paraview-4.4/paraview
>> /opt/ParaView-4.4.0-Qt4-Linux-64bit/lib/paraview-4.4/paraview: error
>> while loading shared libraries: libGenericIO.so: cannot open shared
>> object file: No such file or directory
>>
>> Turns out that 
>> ParaView-4.4.0-Qt4-Linux-64bit/lib/paraview-4.4/libGenericIO.so
>> had the following permissions:
>>
>> -rwx--. 1 1001 1001   378310 Sep 14 15:36 libGenericIO.so
>>
>> So the fix is simple:
>>
>> chmod a+r ~/shared/ParaView-4.4.0-Qt4-Linux-64bit.tar.gz
>>
>> To be clear, I had installed it as,
>>
>> sudo tar xvzf ~/Downloads/ParaView-4.4.0-Qt4-Linux-64bit.tar.gz -C /opt
>>
>> Had I unpacked it without sudo, it would have run fine, although just
>> for me, not for other users.
>>
>> Hope this is useful to others who might run into this minor issue.
>>
>> Eric
> ___
> 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
>
> Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Segfault in ParaView 4.4 RC2

2015-09-15 Thread Utkarsh Ayachit
Matthieu,

Good news, I just saw the black window issue too on my build. I'll
track it down and get back to you.

Utkarsh

On Tue, Sep 15, 2015 at 9:12 AM, Utkarsh Ayachit
<utkarsh.ayac...@kitware.com> wrote:
> Matthieu,
>
>> - If I run the application from the VM's graphical interface, it runs fine. 
>> It only gives me the OpenGL warning I mentioned before. BUT the generated 
>> file has a big black area (see image_2.png attached). Also I see a window 
>> appear for a brief moment with the correct (full) view, then it disappears. 
>> I don't know why I get that.
>
> I've seen this happen with the view size is greater the X window size.
> Try changing the ViewSize to something small, say 200x200. Does that
> work? If so, you'd need to change the X window size. Other option
> would be build with OSMesa support. Since you're only using this build
> for Catalyst, OSMesa will circumvent all the X related issues you've
> been seeing on this VM.
>
>> - If I connect to the VM through SSH with -X (otherwise I get the bad 
>> display error) and run the application, Catalyst also outputs an image, but 
>> this image also has an artifact (see image_1.png attached), and then the 
>> application crashes in a segfault, outputing a backtrace (*** glibc detected 
>> *** ./Mandelbulb: munmap_chunk(): invalid pointer: 0x7faffb503010 ***).
>> In the backtrace, the first line (so the last function call) is this:
>> /home/mdorier/ParaView-build/lib/libvtkCommonCore-pv4.4.so.1(_ZN20vtkDataArrayTemplateIhE11DeleteArrayEv+0x4b)[0x7fb028c257fd]
>
> I am going to try your code to see if i can reproduce this one. I'll
> get back to you shortly.
>
> 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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Segfault in ParaView 4.4 RC2

2015-09-15 Thread Utkarsh Ayachit
NVM...those were from your original tarball. I thought they were
generated as an output from my run :). It's indeed an X issue in both
cases. Couple of options:

1. Do a Mesa3D build locally on the VM. Then set LD_LIBRARY_PATH to
point to the generated OpenGL libs and run ParaView/Catalyst. That'll
avoid using the GL libraries provided by virtualbox.
2. Do a OSMesa build and then rebuild ParaView/Catalyst to use OSMesa.
That'd mean you can't have the Qt UI in the same build, but Catalyst
and other scripting executables will work. That would avoid the X
issue all together. This Wiki [a] describes how to get a OSMesa
enabled ParaView build.

[a] http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D

On Tue, Sep 15, 2015 at 9:19 AM, Utkarsh Ayachit
<utkarsh.ayac...@kitware.com> wrote:
> Matthieu,
>
> Good news, I just saw the black window issue too on my build. I'll
> track it down and get back to you.
>
> Utkarsh
>
> On Tue, Sep 15, 2015 at 9:12 AM, Utkarsh Ayachit
> <utkarsh.ayac...@kitware.com> wrote:
>> Matthieu,
>>
>>> - If I run the application from the VM's graphical interface, it runs fine. 
>>> It only gives me the OpenGL warning I mentioned before. BUT the generated 
>>> file has a big black area (see image_2.png attached). Also I see a window 
>>> appear for a brief moment with the correct (full) view, then it disappears. 
>>> I don't know why I get that.
>>
>> I've seen this happen with the view size is greater the X window size.
>> Try changing the ViewSize to something small, say 200x200. Does that
>> work? If so, you'd need to change the X window size. Other option
>> would be build with OSMesa support. Since you're only using this build
>> for Catalyst, OSMesa will circumvent all the X related issues you've
>> been seeing on this VM.
>>
>>> - If I connect to the VM through SSH with -X (otherwise I get the bad 
>>> display error) and run the application, Catalyst also outputs an image, but 
>>> this image also has an artifact (see image_1.png attached), and then the 
>>> application crashes in a segfault, outputing a backtrace (*** glibc 
>>> detected *** ./Mandelbulb: munmap_chunk(): invalid pointer: 
>>> 0x7faffb503010 ***).
>>> In the backtrace, the first line (so the last function call) is this:
>>> /home/mdorier/ParaView-build/lib/libvtkCommonCore-pv4.4.so.1(_ZN20vtkDataArrayTemplateIhE11DeleteArrayEv+0x4b)[0x7fb028c257fd]
>>
>> I am going to try your code to see if i can reproduce this one. I'll
>> get back to you shortly.
>>
>> 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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] ANN: ParaView 4.4.0 is available for download

2015-09-15 Thread Utkarsh Ayachit
Hmm...I was using it to point to the "latest stable" release. I
suppose I'll just remove the text to avoid confusion  fixed.

Utkarsh

On Tue, Sep 15, 2015 at 8:27 AM, Angelini, Richard C (Rick) CIV USARMY
RDECOM ARL (US) <richard.c.angelini@mail.mil> wrote:
> If I go to the download page ,  I can download something called '4.4
> (Latest Stable)' which to me implies that’s still a development build and
> not the final production release?
>
> http://www.paraview.org/download/
>
> 
> Rick Angelini
> USArmy Research Laboratory
> CISD/HPC Architectures Team
> Phone:  410-278-6266
>
>
>
>
> -Original Message-
> From: ParaView <paraview-boun...@paraview.org> on behalf of Utkarsh
> Ayachit <utkarsh.ayac...@kitware.com>
> Date: Monday, September 14, 2015 at 2:08 PM
> To: ParaView <paraview@paraview.org>
> Cc: ParaView Developers <paraview-develop...@paraview.org>
> Subject: [Paraview] ANN: ParaView 4.4.0 is available for download
>
> www.kitware.com/blog/home/post/966
>
___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Segfault in ParaView 4.4 RC2

2015-09-15 Thread Utkarsh Ayachit
Matthieu,

> - If I run the application from the VM's graphical interface, it runs fine. 
> It only gives me the OpenGL warning I mentioned before. BUT the generated 
> file has a big black area (see image_2.png attached). Also I see a window 
> appear for a brief moment with the correct (full) view, then it disappears. I 
> don't know why I get that.

I've seen this happen with the view size is greater the X window size.
Try changing the ViewSize to something small, say 200x200. Does that
work? If so, you'd need to change the X window size. Other option
would be build with OSMesa support. Since you're only using this build
for Catalyst, OSMesa will circumvent all the X related issues you've
been seeing on this VM.

> - If I connect to the VM through SSH with -X (otherwise I get the bad display 
> error) and run the application, Catalyst also outputs an image, but this 
> image also has an artifact (see image_1.png attached), and then the 
> application crashes in a segfault, outputing a backtrace (*** glibc detected 
> *** ./Mandelbulb: munmap_chunk(): invalid pointer: 0x7faffb503010 ***).
> In the backtrace, the first line (so the last function call) is this:
> /home/mdorier/ParaView-build/lib/libvtkCommonCore-pv4.4.so.1(_ZN20vtkDataArrayTemplateIhE11DeleteArrayEv+0x4b)[0x7fb028c257fd]

I am going to try your code to see if i can reproduce this one. I'll
get back to you shortly.

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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Segfault in ParaView 4.4 RC2

2015-09-14 Thread Utkarsh Ayachit
What Cory suggested may be it. I can't spot anything fishy in the
CMakeCache.txt. Also try running another OpenGL enabled app, eg.
glxgears to see if that works. I believe it's provided by the
`mesa-utils` package on Ubuntu.

Utkarsh

On Mon, Sep 14, 2015 at 10:05 AM, Cory Quammen  wrote:
> Hi Matthieu,
>
> My hunch is that there is a problem with the OpenGL provided by VirtualBox
> with 3D acceleration enabled. I have not found 3D acceleration to work well
> with my Ubuntu 140.04 installation, so I just disable it.
>
> Could you try disabling 3D acceleration and see if ParaView still crashes?
>
> Thanks,
> Cory
>
> On Mon, Sep 14, 2015 at 9:51 AM, Dorier, Matthieu  wrote:
>>
>> Hi,
>>
>> I compiled ParaView 4.4 RC 2 from sources on Debian (Linux 3.2.0-4-amd64,
>> Debian 3.2.68-1+deb7u3 x86_64), in order to try Catalyst, but I got
>> segmentation faults when Catalyst runs my python script. I initially thought
>> something was wrong with my script but then I realized ParaView also
>> creashes with the same segfault when I try to start it (I see the
>> splashscreen, and the interface appears, but then it immediately crashes).
>> The error reported is:
>>
>> *** glibc detected ***
>> /home/mdorier/local/paraview/lib/paraview-4.4/paraview: munmap_chunk():
>> invalid pointer: 0x048e4970 ***
>>
>> And a backtrace follows (which I attach. I wanted to get more info using
>> the core dump but ParaView doesn't seem to have been compiled with -g so
>> there is no other info).
>>
>> Here is how I installed ParaView:
>>
>> My compiler is gcc 4.7.2. MPI is Mpich 3.1.3.
>>
>> I (apt-get) installed the packages:
>>
>> libphonon-dev libphonon4 qt4-dev-tools libqt4-core libqt4-gui qt4-qmake
>> libxt-dev g++ gcc cmake-curses-gui libqt4-opengl-dev mesa-common-dev
>> python-dev
>>
>> I then configured ParaView using ccmake; I attach the resulting
>> CMakeCache.txt. Basically Catalyst and Python are turned ON, MPI as well,
>> rendering backend is set to OpenGL.
>>
>> I'm running on a virtual machine using VirtualBox, 3d acceleration is
>> enabled, and
>> glxinfo | grep "OpenGL version"
>> returns
>> OpenGL version string: 1.4 (2.1 INTEL-10.6.31)
>>
>> Thanks,
>>
>> Matthieu
>>
>> ___
>> 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
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
>>
>
>
>
> --
> Cory Quammen
> R Engineer
> Kitware, Inc.
>
> ___
> 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
>
> Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] ANN: ParaView 4.4.0 is available for download

2015-09-14 Thread Utkarsh Ayachit
Folks,

ParaView 4.4.0 is now available for download. Checkout the release
notes on the Kitware blog [1].

As always, we look forward to your feedback [2].

Also stay tuned to the Kitware Blog [3] for upcoming features and
enhancements to ParaView, ParaView Catalyst, ParaViewWeb and much
more!

And if you like what you see, don't forget to vote for HPCWire
Reader's Choice awards [4].

- The ParaView team

[1] http://www.kitware.com/blog/home/post/966
[2] http://paraview.uservoice.com
[3] http://www.kitware.com/blog/
[4] http://www.kitware.com/blog/home/post/965
___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] Re: External data

2015-09-11 Thread Utkarsh Ayachit
Alan,

I've uploaded data tar ball for 4.4 to paraview.org/download.

Utkarsh

On Thu, Sep 10, 2015 at 1:36 PM, Utkarsh Ayachit
<utkarsh.ayac...@kitware.com> wrote:
> Sounds good.
>
> On Thu, Sep 10, 2015 at 12:58 PM, Scott, W Alan <wasc...@sandia.gov> wrote:
>>
>> I would say wait for 4.4.  No rush, I am just going through and closing
>> bugs.  One needed ExternalData.   I probably won’t get back to it until 4.4
>> is out.
>>
>>
>>
>> Alan
>>
>>
>>
>> From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
>> Sent: Thursday, September 10, 2015 8:07 AM
>> To: Scott, W Alan
>> Cc: Moreland, Kenneth; paraview@paraview.org
>> Subject: [EXTERNAL] Re: [Paraview] External data
>>
>>
>>
>> Alan,
>>
>>
>>
>> I will upload the tar balls for the data. Do you want me to upload for RC2
>> or just wait for 4.4?
>>
>>
>>
>> Utkarsh
>>
>>
>>
>> On Wed, Sep 9, 2015 at 4:24 PM, Scott, W Alan <wasc...@sandia.gov> wrote:
>>
>> Thanks Ken!
>>
>>
>>
>> Since some of my LANs and clusters can’t see the outside world, I always
>> manually pull the build files.  Thus, ExternalData is not in my build
>> directory.
>>
>>
>>
>> Is there a manual way to do the pull?
>>
>>
>>
>> Alan
>>
>>
>>
>> From: Moreland, Kenneth
>> Sent: Wednesday, September 09, 2015 2:21 PM
>> To: Scott, W Alan; paraview@paraview.org
>> Subject: Re: [Paraview] External data
>>
>>
>>
>> If you have built ParaView and let the build download the external data
>> (the default options), then the files can be accessed from ExternalData in
>> the build directory.
>>
>>
>>
>> -Ken
>>
>>
>>
>> From: ParaView <paraview-boun...@paraview.org> on behalf of Walter Scott
>> <wasc...@sandia.gov>
>> Date: Wednesday, September 9, 2015 at 2:18 PM
>> To: "paraview@paraview.org" <paraview@paraview.org>
>> Subject: [EXTERNAL] [Paraview] External data
>>
>>
>>
>> How do I pull or acquire the “ExternalData” from Kitware?  I am trying to
>> find ghost_cells.vtu.
>>
>>
>>
>> Thanks,
>>
>>
>>
>> Alan
>>
>>
>>
>>
>>
>>
>> ___
>> 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
>>
>> Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] External data

2015-09-10 Thread Utkarsh Ayachit
Alan,

I will upload the tar balls for the data. Do you want me to upload for RC2
or just wait for 4.4?

Utkarsh

On Wed, Sep 9, 2015 at 4:24 PM, Scott, W Alan  wrote:

> Thanks Ken!
>
>
>
> Since some of my LANs and clusters can’t see the outside world, I always
> manually pull the build files.  Thus, ExternalData is not in my build
> directory.
>
>
>
> Is there a manual way to do the pull?
>
>
>
> Alan
>
>
>
> *From:* Moreland, Kenneth
> *Sent:* Wednesday, September 09, 2015 2:21 PM
> *To:* Scott, W Alan; paraview@paraview.org
> *Subject:* Re: [Paraview] External data
>
>
>
> If you have built ParaView and let the build download the external data
> (the default options), then the files can be accessed from ExternalData in
> the build directory.
>
>
>
> -Ken
>
>
>
> *From: *ParaView  on behalf of Walter
> Scott 
> *Date: *Wednesday, September 9, 2015 at 2:18 PM
> *To: *"paraview@paraview.org" 
> *Subject: *[EXTERNAL] [Paraview] External data
>
>
>
> How do I pull or acquire the “ExternalData” from Kitware?  I am trying to
> find ghost_cells.vtu.
>
>
>
> Thanks,
>
>
>
> Alan
>
>
>
>
>
> ___
> 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
>
> Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Problem with number of arguments in a Python Catalyst script

2015-09-10 Thread Utkarsh Ayachit
Matthieu,

That's indeed the case: try adding a `cinema={}` argument to the script.

Dave, can we fix this please? Scripts generated from 4.3.1 should work with
4.4 too.

Utkarsh

On Thu, Sep 10, 2015 at 12:05 PM, Dorier, Matthieu  wrote:

> Hi,
>
> I generated a script for in situ visualization with Catalyst. When running
> it in situ, I get the following error:
> TypeError: RegisterView() takes exactly 9 arguments (8 given)
>
> The line in question in the script is:
>
> coprocessor.RegisterView(renderView1,
> filename='image_%t.png', freq=1, fittoscreen=0, magnification=1,
> width=1231, height=887)
>
> I'm generated the script using ParaView 4.3.1, while the version of
> Catalyst used on the machine is 4.4 RC2, might that be the problem? If so
> what argument is missing? Can I simply manually add it in the script or
> should I re-generate the script with ParaView 4.4?
>
> Thanks,
>
> Matthieu
>
> ___
> 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
>
> Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] Re: External data

2015-09-10 Thread Utkarsh Ayachit
Sounds good.

On Thu, Sep 10, 2015 at 12:58 PM, Scott, W Alan <wasc...@sandia.gov> wrote:

> I would say wait for 4.4.  No rush, I am just going through and closing
> bugs.  One needed ExternalData.   I probably won’t get back to it until 4.4
> is out.
>
>
>
> Alan
>
>
>
> *From:* Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
> *Sent:* Thursday, September 10, 2015 8:07 AM
> *To:* Scott, W Alan
> *Cc:* Moreland, Kenneth; paraview@paraview.org
> *Subject:* [EXTERNAL] Re: [Paraview] External data
>
>
>
> Alan,
>
>
>
> I will upload the tar balls for the data. Do you want me to upload for RC2
> or just wait for 4.4?
>
>
>
> Utkarsh
>
>
>
> On Wed, Sep 9, 2015 at 4:24 PM, Scott, W Alan <wasc...@sandia.gov> wrote:
>
> Thanks Ken!
>
>
>
> Since some of my LANs and clusters can’t see the outside world, I always
> manually pull the build files.  Thus, ExternalData is not in my build
> directory.
>
>
>
> Is there a manual way to do the pull?
>
>
>
> Alan
>
>
>
> *From:* Moreland, Kenneth
> *Sent:* Wednesday, September 09, 2015 2:21 PM
> *To:* Scott, W Alan; paraview@paraview.org
> *Subject:* Re: [Paraview] External data
>
>
>
> If you have built ParaView and let the build download the external data
> (the default options), then the files can be accessed from ExternalData in
> the build directory.
>
>
>
> -Ken
>
>
>
> *From: *ParaView <paraview-boun...@paraview.org> on behalf of Walter
> Scott <wasc...@sandia.gov>
> *Date: *Wednesday, September 9, 2015 at 2:18 PM
> *To: *"paraview@paraview.org" <paraview@paraview.org>
> *Subject: *[EXTERNAL] [Paraview] External data
>
>
>
> How do I pull or acquire the “ExternalData” from Kitware?  I am trying to
> find ghost_cells.vtu.
>
>
>
> Thanks,
>
>
>
> Alan
>
>
>
>
>
>
> ___
> 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
>
> Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Problem with number of arguments in a Python Catalyst script

2015-09-10 Thread Utkarsh Ayachit
Looks like edition is not sufficient for the visualization you're putting
together. Is it possible to use a full ParaView build?

Utkarsh

On Thu, Sep 10, 2015 at 2:24 PM, Dorier, Matthieu <mdor...@anl.gov> wrote:

> Hi,
>
> I'm attaching my code.
>
> This is a simple code that computes a "mandelbulb" fractal, and passes it
> to Catalyst for rendering. There is an example of data produced by this
> "simulation" in binary .raw format that can be read in ParaView (it
> contains a 60x60x61 array of int in BigEndian). I generated the script by
> opening this file, rendering a contour, and setting a few parameters such
> as background color, axis opacity, etc.
> The code can be run by calling ./Madelbulb renderbulb.py
>
> Thanks for your help,
>
> Matthieu
>
> --
> *From:* Dorier, Matthieu
> *Sent:* Thursday, September 10, 2015 11:18 AM
> *To:* Utkarsh Ayachit; David E DeMarle
> *Cc:* paraview@paraview.org
> *Subject:* RE: [Paraview] Problem with number of arguments in a Python
> Catalyst script
>
> Thanks, adding the argument removed the error, but now I have another one:
>
> ERROR: In
> /home/mdorier/Catalyst-src/ParaViewCore/ServerImplementation/Core/vtkSIProxy.cxx,
> line 310
> vtkSISourceProxy (0x34ad8a0): Failed to create
> vtkImageSliceRepresentation. Aborting for debugging purposes.
> Aborted (core dumped)
>
> Any idea how to solve this?
>
> Thanks,
>
> Matthieu
>
> --
> *From:* Utkarsh Ayachit [utkarsh.ayac...@kitware.com]
> *Sent:* Thursday, September 10, 2015 11:10 AM
> *To:* Dorier, Matthieu; David E DeMarle
> *Cc:* paraview@paraview.org
> *Subject:* Re: [Paraview] Problem with number of arguments in a Python
> Catalyst script
>
> Matthieu,
>
> That's indeed the case: try adding a `cinema={}` argument to the script.
>
> Dave, can we fix this please? Scripts generated from 4.3.1 should work
> with 4.4 too.
>
> Utkarsh
>
> On Thu, Sep 10, 2015 at 12:05 PM, Dorier, Matthieu <mdor...@anl.gov>
> wrote:
>
>> Hi,
>>
>> I generated a script for in situ visualization with Catalyst. When
>> running it in situ, I get the following error:
>> TypeError: RegisterView() takes exactly 9 arguments (8 given)
>>
>> The line in question in the script is:
>>
>> coprocessor.RegisterView(renderView1,
>> filename='image_%t.png', freq=1, fittoscreen=0, magnification=1,
>> width=1231, height=887)
>>
>> I'm generated the script using ParaView 4.3.1, while the version of
>> Catalyst used on the machine is 4.4 RC2, might that be the problem? If so
>> what argument is missing? Can I simply manually add it in the script or
>> should I re-generate the script with ParaView 4.4?
>>
>> Thanks,
>>
>> Matthieu
>>
>> ___
>> 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
>>
>> Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview 4.3.1 OSMesa build - QWidget::repaint: Recursive repaint detected

2015-09-09 Thread Utkarsh Ayachit
I have a feeling something's wrong with the OSMesa build. Try running
pvpython/pvbatch on that build. Are you able to render/save images from the
Python clients?

Utkarsh

On Wed, Sep 9, 2015 at 9:52 AM, David Trudgian <
david.trudg...@utsouthwestern.edu> wrote:

> Have sent the CMakeCache.txt off list as it’s a couple hundred KB.
>
>
>
> I still get the recursive paint error on the client – it immediately
> precedes the warning about the 3/4 component images from the client, and
> the crash on the server. In the non-debug server I don’t get a segfault –
> but it becomes completely unresponsive to further connection attempts.
>
>
>
> The recursive paint error is server dependent. If I use the client to
> connect to a standard binary, or a self-built OpenGL pvserver then no
> issues. Only get the recursive paint issue when I try to connect to the
> self-built OSMesa pvserver.
>
>
>
> Thanks again,
>
>
>
> DT
>
>
>
>
>
> --
> David Trudgian Ph.D.
> Computational Scientist, BioHPC
> UT Southwestern Medical Center
> Dallas, TX 75390-9039
> Tel: (214) 648-4833
>
>
>
> *From:* Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
> *Sent:* Tuesday, September 8, 2015 4:21 PM
>
> *To:* David Trudgian <david.trudg...@utsouthwestern.edu>
> *Cc:* paraview@paraview.org
> *Subject:* Re: [Paraview] Paraview 4.3.1 OSMesa build - QWidget::repaint:
> Recursive repaint detected
>
>
>
> Mind attaching the CMakeCache.txt from the server build? BTW, this is
> totally different error than what we started with. The original issue was
> that the client was complaining about recursive paint. Seems to me the
> pvserver build is a little messed up right now.
>
>
>
> On Tue, Sep 8, 2015 at 4:24 PM, David Trudgian <
> david.trudg...@utsouthwestern.edu> wrote:
>
> Hi,
>
>
>
> Built a debug version. On the client side I now noticed the following
> warning on the console after I acknowledge the error dialog:
>
>
>
> Generic Warning: In
> /home2/dtrudgian/paraview/ParaView-v4.3.1-source/VTK/Rendering/Parallel/vtkSynchronizedRenderers.cxx,
> line 730
>
> Only 3 or 4 component images are handled.
>
>
>
> The pvserver stack trace is below. I guess this is something to do with
> the OSMesa config?
>
>
>
> Program received signal SIGSEGV, Segmentation fault.
>
> try_update_scene_state (setup=0x1d66380) at lp_setup.c:1050
>
> 1050fstored[i] = setup->blend_color.current.color[i % 4];
>
> Missing separate debuginfos, use: debuginfo-install
> glibc-2.12-1.166.el6_7.1.x86_64 infinipath-psm-3.1-364.1140_open.x86_64
> libcxgb3-1.3.1mlnx1-OFED.2.0.2.6.2.28.g58e86c2.x86_64
> libcxgb4-1.3.0mlnx1-OFED.2.0.2.6.2.28.g3287317.x86_64
> libgcc-4.4.7-11.el6.x86_64 libibmad-1.3.9.MLNX20130522.1e79ec6-0.1.x86_64
> libibumad-1.3.8.MLNX20130522.da65ddf-0.1.x86_64
> libibverbs-1.1.6mlnx2-OFED.2.0.2.6.8.10.g4c4c3f1.x86_64
> libipathverbs-1.2mlnx-1.x86_64
> libmlx4-1.0.4mlnx2-OFED.2.0.2.6.7.8.g5ddd0ea.x86_64
> libmlx5-1.0.0-OFED.2.0.3.1.0.3.g00bb19b.x86_64
> libnes-1.1.3mlnx1-OFED.2.0.2.6.3.1.gae2c5c5.x86_64
> librdmacm-1.0.17mlnx2-OFED.2.0.2.6.2.22.g13cb0e8.x86_64
> libstdc++-4.4.7-11.el6.x86_64 ncurses-libs-5.7-3.20090208.el6.x86_64
> nss-pam-ldapd-0.7.5-20.el6_6.3.x86_64 numactl-2.0.9-2.el6.x86_64
> opensm-libs-4.0.5.MLNX20130808.c2b40b1-0.1.x86_64 zlib-1.2.3-29.el6.x86_64
>
> (gdb) set loggin on
>
> Copying output to gdb.txt.
>
> (gdb) bt
>
> #0  try_update_scene_state (setup=0x1d66380) at lp_setup.c:1050
>
> #1  0x2aaabe71d05d in begin_binning (setup=0x1d66380) at lp_setup.c:207
>
> #2  0x2aaabe71d6b5 in execute_clears (setup=0x1d66380, new_state=224,
> reason=0x1 )
>
> at lp_setup.c:279
>
> #3  set_scene_state (setup=0x1d66380, new_state=224, reason=0x1  0x1 out of bounds>) at lp_setup.c:327
>
> #4  0x2aaabe71d4b0 in lp_setup_flush (setup=0x1d66380, fence=0xe0,
> reason=0x1 )
>
> at lp_setup.c:359
>
> #5  0x2aaabe6fa7d0 in llvmpipe_flush (pipe=0x1d66380, resource=0xe0,
> level=1, read_only=0 '\000',
>
> cpu_access=0 '\000', do_not_block=128 '\200', reason=0x2aaabe7bfe30
> "llvmpipe_transfer_map") at lp_flush.c:55
>
> #6  llvmpipe_finish (pipe=0x1d66380, resource=0xe0, level=1, read_only=0
> '\000', cpu_access=0 '\000',
>
> do_not_block=128 '\200', reason=0x2aaabe7bfe30
> "llvmpipe_transfer_map") at lp_flush.c:82
>
> #7  llvmpipe_flush_resource (pipe=0x1d66380, resource=0xe0, level=1,
> read_only=0 '\000', cpu_access=0 '\000',
>
> do_not_block=128 '\200', reason=0x2aaabe7bfe30
> "llvmpipe_transfer_map") at lp_flush.c:120
>
> #8  0x00

Re: [Paraview] Isosurface and slicing with Catalyst in C++

2015-09-09 Thread Utkarsh Ayachit
Matthieu,

Those messages are pretty much warnings. The Catalyst editions don't
have all ParaView modules and hence the Python script prompts about
missing modules. The code should still be executing properly.

Utkarsh

On Wed, Sep 9, 2015 at 12:04 PM, Dorier, Matthieu <mdor...@anl.gov> wrote:
> Hi Utkarsh,
>
> I built Catalyst 4.4-RC2, pulled the examples, and compiled
> CxxMappedDataArrayExample.
> When running it, I get this:
>
> ./CxxMappedDataArrayExample SampleScripts/feslicescript.py
> Error: Cannot import vtkPVServerManagerDefaultPython
> Error: Cannot import vtkPVAnimationPython
>
> Thanks,
>
> Matthieu
> 
> From: ParaView [paraview-boun...@paraview.org] on behalf of Dorier, Matthieu
> [mdor...@anl.gov]
> Sent: Tuesday, September 08, 2015 10:01 AM
> To: Utkarsh Ayachit
> Cc: paraview@paraview.org
> Subject: Re: [Paraview] Isosurface and slicing with Catalyst in C++
>
> Hi Utkarsh,
>
> Thanks a lot, I'll give it a try.
>
> Matthieu
> 
> From: Utkarsh Ayachit [utkarsh.ayac...@kitware.com]
> Sent: Tuesday, September 08, 2015 9:52 AM
> To: Dorier, Matthieu
> Cc: Andy Bauer; paraview@paraview.org
> Subject: Re: [Paraview] Isosurface and slicing with Catalyst in C++
>
> Matthieu,
>
> There indeed seems to be some issue with 4.3 editions. Since the code worked
> as expected with the latest ParaView 4.4-RC2, here's what I did:
>
> 1. Created a pull request to update the CatalystExamples code to build with
> 4.4-RC2 here
> (https://github.com/Kitware/ParaViewCatalystExampleCode/pull/5). Once Andy
> gets a chance to review these, they will get merged in.
> 2. I've uploaded Catalyst editions for 4.4-RC2 to
> http://www.paraview.org/download/. I'd suggest using the 4.4-RC2 editions
> along with the build fixes in the above pull request.
>
> Note not all examples will build with the Editions (since the Editions don't
> have all the code from ParaView). I verified however that the
> CxxMappedDataArrayExample builds and runs with the Rendering-Python edition
> that you had selected earlier.
>
> 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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview 4.3.1 OSMesa build - QWidget::repaint: Recursive repaint detected

2015-09-09 Thread Utkarsh Ayachit
Great! Glad to know it's working.

Utkarsh

On Wed, Sep 9, 2015 at 3:07 PM, David Trudgian <
david.trudg...@utsouthwestern.edu> wrote:

> Utkarsh,
>
>
>
> Thanks – your hunch was correct. Went back through building llvm, osmesa,
> libGlu and now have a working setup. Not sure where I went wrong, but it’s
> all good now.
>
>
>
> DT
>
>
>
> --
> David Trudgian Ph.D.
> Computational Scientist, BioHPC
> UT Southwestern Medical Center
> Dallas, TX 75390-9039
> Tel: (214) 648-4833
>
>
>
> *From:* Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
> *Sent:* Wednesday, September 9, 2015 9:22 AM
>
> *To:* David Trudgian <david.trudg...@utsouthwestern.edu>
> *Cc:* paraview@paraview.org
> *Subject:* Re: [Paraview] Paraview 4.3.1 OSMesa build - QWidget::repaint:
> Recursive repaint detected
>
>
>
> I have a feeling something's wrong with the OSMesa build. Try running
> pvpython/pvbatch on that build. Are you able to render/save images from the
> Python clients?
>
>
>
> Utkarsh
>
>
>
> On Wed, Sep 9, 2015 at 9:52 AM, David Trudgian <
> david.trudg...@utsouthwestern.edu> wrote:
>
> Have sent the CMakeCache.txt off list as it’s a couple hundred KB.
>
>
>
> I still get the recursive paint error on the client – it immediately
> precedes the warning about the 3/4 component images from the client, and
> the crash on the server. In the non-debug server I don’t get a segfault –
> but it becomes completely unresponsive to further connection attempts.
>
>
>
> The recursive paint error is server dependent. If I use the client to
> connect to a standard binary, or a self-built OpenGL pvserver then no
> issues. Only get the recursive paint issue when I try to connect to the
> self-built OSMesa pvserver.
>
>
>
> Thanks again,
>
>
>
> DT
>
>
>
>
>
> --
> David Trudgian Ph.D.
> Computational Scientist, BioHPC
> UT Southwestern Medical Center
> Dallas, TX 75390-9039
> Tel: (214) 648-4833
>
>
>
> *From:* Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
> *Sent:* Tuesday, September 8, 2015 4:21 PM
>
>
> *To:* David Trudgian <david.trudg...@utsouthwestern.edu>
> *Cc:* paraview@paraview.org
> *Subject:* Re: [Paraview] Paraview 4.3.1 OSMesa build - QWidget::repaint:
> Recursive repaint detected
>
>
>
> Mind attaching the CMakeCache.txt from the server build? BTW, this is
> totally different error than what we started with. The original issue was
> that the client was complaining about recursive paint. Seems to me the
> pvserver build is a little messed up right now.
>
>
>
> On Tue, Sep 8, 2015 at 4:24 PM, David Trudgian <
> david.trudg...@utsouthwestern.edu> wrote:
>
> Hi,
>
>
>
> Built a debug version. On the client side I now noticed the following
> warning on the console after I acknowledge the error dialog:
>
>
>
> Generic Warning: In
> /home2/dtrudgian/paraview/ParaView-v4.3.1-source/VTK/Rendering/Parallel/vtkSynchronizedRenderers.cxx,
> line 730
>
> Only 3 or 4 component images are handled.
>
>
>
> The pvserver stack trace is below. I guess this is something to do with
> the OSMesa config?
>
>
>
> Program received signal SIGSEGV, Segmentation fault.
>
> try_update_scene_state (setup=0x1d66380) at lp_setup.c:1050
>
> 1050fstored[i] = setup->blend_color.current.color[i % 4];
>
> Missing separate debuginfos, use: debuginfo-install
> glibc-2.12-1.166.el6_7.1.x86_64 infinipath-psm-3.1-364.1140_open.x86_64
> libcxgb3-1.3.1mlnx1-OFED.2.0.2.6.2.28.g58e86c2.x86_64
> libcxgb4-1.3.0mlnx1-OFED.2.0.2.6.2.28.g3287317.x86_64
> libgcc-4.4.7-11.el6.x86_64 libibmad-1.3.9.MLNX20130522.1e79ec6-0.1.x86_64
> libibumad-1.3.8.MLNX20130522.da65ddf-0.1.x86_64
> libibverbs-1.1.6mlnx2-OFED.2.0.2.6.8.10.g4c4c3f1.x86_64
> libipathverbs-1.2mlnx-1.x86_64
> libmlx4-1.0.4mlnx2-OFED.2.0.2.6.7.8.g5ddd0ea.x86_64
> libmlx5-1.0.0-OFED.2.0.3.1.0.3.g00bb19b.x86_64
> libnes-1.1.3mlnx1-OFED.2.0.2.6.3.1.gae2c5c5.x86_64
> librdmacm-1.0.17mlnx2-OFED.2.0.2.6.2.22.g13cb0e8.x86_64
> libstdc++-4.4.7-11.el6.x86_64 ncurses-libs-5.7-3.20090208.el6.x86_64
> nss-pam-ldapd-0.7.5-20.el6_6.3.x86_64 numactl-2.0.9-2.el6.x86_64
> opensm-libs-4.0.5.MLNX20130808.c2b40b1-0.1.x86_64 zlib-1.2.3-29.el6.x86_64
>
> (gdb) set loggin on
>
> Copying output to gdb.txt.
>
> (gdb) bt
>
> #0  try_update_scene_state (setup=0x1d66380) at lp_setup.c:1050
>
> #1  0x2aaabe71d05d in begin_binning (setup=0x1d66380) at lp_setup.c:207
>
> #2  0x2aaabe71d6b5 in execute_clears (setup=0x1d66380, new_state=224,
> reason=0x1 )
>
> at lp_setup.c:279
>
> #3  set_scene_state (

Re: [Paraview] H5Part files

2015-09-08 Thread Utkarsh Ayachit
Amit,

There's a "H5PartReader" plugin that you can load using the "Tools | Manage
Plugins" dialog. Once the plugin has been loaded, you can open *.h5part
files using the H5Part reader using the File | Open  dialog.

Utkarsh

On Tue, Sep 8, 2015 at 3:09 PM, Amit Goel  wrote:

> Hi
>
> I am new to paraview and H5part file format. Can someone please guide me
> towards a link or tutorial that guides step by step for visualizing h5part
> files ? I have tried searching on google or opening the H5part files by
> myself but couldnt get anywhere.
>
> Regards
>
> Amit
>
> ___
> 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
>
> Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] How to extract one face from an hexa in python ?

2015-09-08 Thread Utkarsh Ayachit
Selection extraction isn't supported yet (well not gracefully anyways)
through the Python API. However, you can use the following for similar
effect:

OpenDataFIle(...)
ExtractSurface()
GenerateIds()

threshold1 = Threshold()
threshold1.Scalars = ['CELLS', 'Ids']
threshold1.ThresholdRange = [4.5, 5.5] # to extract cell with Id 5.





On Tue, Sep 8, 2015 at 11:22 AM, houssen  wrote:

> No idea ? No known python example / code snippet ?
>
> Franck
>
>
> Le 2015-09-07 9:42, houssen a écrit :
>
>> How to extract one face from an hexa in python ?
>>
>> I have an hexa read from an xmd file. In the ParaView GUI, I use the
>> ExtractSurface filter to get the skin of it. Then I select one face.
>> Then I use the ExtractSelection filter : I get the face extracted as I
>> need (without error message).
>>
>> OK, now I need to do that with python scripting : if somebody has the
>> corresponding code snippet I'd appreciate to get it (filter creation
>> is OK. What I don't know is how to select a face from the hexa surface
>> in python). I activated "tools / start trace (+ general option : all
>> properties)" to get an idea of the python code. When I create the
>> ExtractSurface filter, I get :
>> Traceback (most recent call last):
>>   File
>>
>>
>> "/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/smtrace.py",
>> line 1212, in _create_trace_item_internal
>>   File
>>
>>
>> "/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/smtrace.py",
>> line 881, in __init__
>>   File
>>
>>
>> "/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/smtrace.py",
>> line 162, in get_accessor
>>   File
>>
>>
>> "/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/smtrace.py",
>> line 183, in create_accessor
>>   File
>>
>>
>> "/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/simple.py",
>> line 680, in GetActiveSource
>>   File
>>
>>
>> "/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/simple.py",
>> line 1690, in get_source
>>   File
>>
>>
>> "/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/simple.py",
>> line 1684, in __convert_proxy
>> servermanager._getPyProxy(px.GetSourceProxy()),
>> AttributeError: GetSourceProxy
>> Then, I select a face and I create an ExtractSelection filter, I get
>> another error and ParaView crashes :
>> Traceback (most recent call last):
>>   File
>>
>>
>> "/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/smtrace.py",
>> line 1212, in _create_trace_item_internal
>>   File
>>
>>
>> "/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/smtrace.py",
>> line 1063, in __init__
>>   File
>>
>>
>> "/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/servermanager.py",
>> line 2418, in _getPyProxy
>> xmlName = smproxy.GetXMLName()
>> AttributeError: GetXMLName
>> *** Error in
>>
>>
>> `/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/paraview':
>> free(): invalid pointer: 0x7efcddf97240 ***
>> Abandon (core dumped)
>>
>> This crash is maybe related to the ParaView build ? I run
>> Ubuntu-14.04, ParaView-4.3.1 has been built from source without any
>> specific / triky option (or some basic options like cmake
>> -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON
>> -DModule_vtkIOXdmf3:BOOL=ON) : do I have to turn on some option(s) at
>> build time to avoid the crash ? I attached the CMakeCache file.
>>
>> Franck
>>
>
> ___
> 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
>
> Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview 4.3.1 OSMesa build - QWidget::repaint: Recursive repaint detected

2015-09-08 Thread Utkarsh Ayachit
Oddly, I was communicating with someone about a similar issue, but haven't
been able to get to the root cause. Do you have a debug build of ParaView?
Would it be possible to get a callstack to when than error message is
popped up?

Utkarsh

On Tue, Sep 8, 2015 at 2:26 PM, David Trudgian <
david.trudg...@utsouthwestern.edu> wrote:

> Hi,
>
>
>
> After working through the information on the web I’ve built Paraview 4.3.1
> with OSMesa support, osmesa 10.5.4 with llvmpipe, and libGlu 9.0.0. MPI is
> OpenMPI 1.8.3 and everything is compiled using the Intel 2015 compiler
> suite.
>
>
>
> A Paraview build using MPI and standard OpenGL is working nicely on our
> GPU compute nodes with NVIDIA Tesla cards. However, if I start the OSMesa
> pvserver (for our non-GPU nodes) and connect from the client I immediately
> receive an error:
>
>
>
> QWidget::repaint: Recursive repaint detected
>
>
>
> The client will exit. The server doesn’t exit, but is unresponsive to
> further connection attempts.
>
>
>
> Has anyone else come across this issue with an OSMesa build? As above, the
> build using a physical NVIDIA card works great, with MPI working nicely etc.
>
>
>
> Many Thanks,
>
>
>
> --
> David Trudgian Ph.D.
> Computational Scientist, BioHPC
> UT Southwestern Medical Center
> Dallas, TX 75390-9039
> Tel: (214) 648-4833
>
>
>
> --
>
> UT Southwestern
>
> Medical Center
>
> The future of medicine, today.
>
> ___
> 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
>
> Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview 4.3.1 OSMesa build - QWidget::repaint: Recursive repaint detected

2015-09-08 Thread Utkarsh Ayachit
paraview/ParaView-v4.3.1-source/ParaViewCore/ClientServerStream/vtkClientServerInterpreter.cxx:269
>
> #37 0x2fd2bbf3 in vtkClientServerInterpreter::ProcessStream
> (this=0x7b9fc0, css=...)
>
> at
> /home2/dtrudgian/paraview/ParaView-v4.3.1-source/ParaViewCore/ClientServerStream/vtkClientServerInterpreter.cxx:238
>
> #38 0x2c6dd65d in vtkPVSessionCore::ExecuteStreamInternal
> (this=0x7b9f00, stream=..., ignore_errors=false)
>
> at
> /home2/dtrudgian/paraview/ParaView-v4.3.1-source/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx:669
>
> #39 0x2c6d931b in vtkPVSessionCore::ExecuteStream (this=0x7b9f00,
> location=21, stream=...,
>
> ignore_errors=false)
>
> at
> /home2/dtrudgian/paraview/ParaView-v4.3.1-source/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx:639
>
> #40 0x2c6d6434 in vtkPVSessionBase::ExecuteStream (this=0x7b9b80,
> location=21, stream=...,
>
> ignore_errors=false)
>
> at
> /home2/dtrudgian/paraview/ParaView-v4.3.1-source/ParaViewCore/ServerImplementation/Core/vtkPVSessionBase.cxx:16---Type
>  to continue, or q  to quit---
>
> 8
>
> #41 0x2c6ed1e0 in vtkPVSessionServer::OnClientServerMessageRMI
> (this=0x7b9b80, message=0xd58940,
>
> message_length=16)
>
> at
> /home2/dtrudgian/paraview/ParaView-v4.3.1-source/ParaViewCore/ServerImplementation/Core/vtkPVSessionServer.cxx:552
>
> #42 0x2c6edc50 in (anonymous namespace)::RMICallback
> (localArg=0x7b9b80, remoteArg=0xd58940,
>
> remoteArgLength=16)
>
> at
> /home2/dtrudgian/paraview/ParaView-v4.3.1-source/ParaViewCore/ServerImplementation/Core/vtkPVSessionServer.cxx:56
>
> #43 0x2aaab0bd1127 in vtkMultiProcessController::ProcessRMI
> (this=0x1cd1460, remoteProcessId=1, arg=0xd58940,
>
> argLength=16, rmiTag=55625)
>
> at
> /home2/dtrudgian/paraview/ParaView-v4.3.1-source/VTK/Parallel/Core/vtkMultiProcessController.cxx:774
>
> #44 0x2aaab0bd02e4 in vtkMultiProcessController::ProcessRMIs
> (this=0x1cd1460, reportErrors=0, dont_loop=1)
>
> at
> /home2/dtrudgian/paraview/ParaView-v4.3.1-source/VTK/Parallel/Core/vtkMultiProcessController.cxx:719
>
> #45 0x2cad0970 in
> vtkTCPNetworkAccessManager::ProcessEventsInternal (this=0x7aaf40,
> timeout_msecs=0,
>
> do_processing=true)
>
> at
> /home2/dtrudgian/paraview/ParaView-v4.3.1-source/ParaViewCore/ClientServerCore/Core/vtkTCPNetworkAccessManager.cxx:268
>
> #46 0x2cacfff8 in vtkTCPNetworkAccessManager::ProcessEvents
> (this=0x7aaf40, timeout_msecs=0)
>
> at
> /home2/dtrudgian/paraview/ParaView-v4.3.1-source/ParaViewCore/ClientServerCore/Core/vtkTCPNetworkAccessManager.cxx:165
>
> #47 0x004032a4 in RealMain(int, char **, enum
> vtkProcessModule::ProcessTypes) (argc=1, argv=0x7fffd5d8,
>
> type=vtkProcessModule::PROCESS_SERVER)
>
> at
> /home2/dtrudgian/paraview/ParaView-v4.3.1-source/CommandLineExecutables/pvserver_common.h:91
>
> #48 0x0040337e in main (argc=1, argv=0x7fffd5d8)
>
> at
> /home2/dtrudgian/paraview/ParaView-v4.3.1-source/CommandLineExecutables/pvserver.cxx:27
>
>
>
> --
> David Trudgian Ph.D.
> Computational Scientist, BioHPC
> UT Southwestern Medical Center
> Dallas, TX 75390-9039
> Tel: (214) 648-4833
>
>
>
> *From:* David Trudgian
> *Sent:* Tuesday, September 8, 2015 2:09 PM
> *To:* 'Utkarsh Ayachit' <utkarsh.ayac...@kitware.com>
> *Cc:* paraview@paraview.org
> *Subject:* RE: [Paraview] Paraview 4.3.1 OSMesa build - QWidget::repaint:
> Recursive repaint detected
>
>
>
> Utkarsh,
>
>
>
> Thanks for the note. Glad to know that we might not be the only ones with
> the issue. I’m working on getting a debug build and callstack now. Just
> thought I’d post first in case anyone had any ideas.
>
>
>
> --
> David Trudgian Ph.D.
> Computational Scientist, BioHPC
> UT Southwestern Medical Center
> Dallas, TX 75390-9039
> Tel: (214) 648-4833
>
>
>
> *From:* Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com
> <utkarsh.ayac...@kitware.com>]
> *Sent:* Tuesday, September 8, 2015 1:56 PM
> *To:* David Trudgian <david.trudg...@utsouthwestern.edu>
> *Cc:* paraview@paraview.org
> *Subject:* Re: [Paraview] Paraview 4.3.1 OSMesa build - QWidget::repaint:
> Recursive repaint detected
>
>
>
> Oddly, I was communicating with someone about a similar issue, but haven't
> been able to get to the root cause. Do you have a debug build of ParaView?
> Would it be possible to get a callstack to when than error message is
> popped up?
>
>
>
> Utkarsh
>
>
>
> On Tue, Sep 8

Re: [Paraview] Isosurface and slicing with Catalyst in C++

2015-09-08 Thread Utkarsh Ayachit
Matthieu,

There indeed seems to be some issue with 4.3 editions. Since the code
worked as expected with the latest ParaView 4.4-RC2, here's what I did:

1. Created a pull request to update the CatalystExamples code to build with
4.4-RC2 here (https://github.com/Kitware/ParaViewCatalystExampleCode/pull/5).
Once Andy gets a chance to review these, they will get merged in.
2. I've uploaded Catalyst editions for 4.4-RC2 to
http://www.paraview.org/download/. I'd suggest using the 4.4-RC2 editions
along with the build fixes in the above pull request.

Note not all examples will build with the Editions (since the Editions
don't have all the code from ParaView). I verified however that
the CxxMappedDataArrayExample builds and runs with the Rendering-Python
edition that you had selected earlier.

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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Right axis range doesn't appear

2015-09-08 Thread Utkarsh Ayachit
It's an "advanced" property. Simply search for it by name in the Properties
panel or hit the "gear" button next to the search bar to see all the
properties available.

On Tue, Sep 8, 2015 at 2:12 AM, Sergi Mateo Bellido <
sergi.mateo.bell...@gmail.com> wrote:

> Hi!
>
> I'm having problems to plot some data in a line chart view depending on
> the bottom-right axes instead of the bottom-left axes (default). The issue
> is that I cannot manually adjust the right axis range since it doesn't
> appear in the Properties tab. Attached to this email you will find a
> screenshot showing this issue.
> I tried with Paraview 4.3.1 and Paraview 4.4.0-RC2 and both versions have
> the same problem.
>
> Am I doing something wrong?
>
> Thanks!!
>
> Sergi
>
> ___
> 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
>
> Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Programmable Filter with Multiple Inputs

2015-09-08 Thread Utkarsh Ayachit
Dennis,

That's indeed a problem, currently the order of inputs for the Programmable
Filter is cryptic and inconsistent. I am going to see what I can do to fix
this. It's a major annoyance.

http://www.paraview.org/Bug/view.php?id=15710

Utkarsh

On Tue, Sep 8, 2015 at 11:01 AM, Dennis Conklin  wrote:

> All,
>
>
>
> I’m a little uncertain about Programmable Filters with multiple inputs.
> I had been assuming that if I had 2 inputs, then inputs[0] is the input
> that’s higher up in the Pipeline Browser, and inputs[1] is the lower input
> in the Pipeline Browser, but that does not always seem to be the case.
> Is there some way to invoke the PF in such a way that I can know which
> input will be which?
>
>
>
> Thanks
>
>
>
> Dennis
>
> ___
> 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
>
> Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Isosurface and slicing with Catalyst in C++

2015-09-07 Thread Utkarsh Ayachit
Matthieu,

I can certainly reproduce the problem with 4.3 Catalyst editions. Let
me track it down. I'll get back to you.

Utkarsh

On Thu, Sep 3, 2015 at 11:03 PM, Dorier, Matthieu  wrote:
> Hi Andy,
>
> I got the Catalyst source from the dowload page
> (http://www.paraview.org/download/): paraview version 4.3 (latest stable),
> Catalyst Editions, last file
> (Catalyst-base+essentials+extra+renderingbase+python-Source.tar.gz).
> The version of python-dev is 2.7 (don't remember the minor version number, I
> could look it up if necessary).
>
> Thanks,
>
> Matthieu
> 
> From: Andy Bauer [andy.ba...@kitware.com]
> Sent: Thursday, September 03, 2015 2:52 PM
> To: Dorier, Matthieu
> Cc: Berk Geveci; paraview@paraview.org
>
> Subject: Re: [Paraview] Isosurface and slicing with Catalyst in C++
>
> Hi Matthieu,
>
> What version of ParaView Catalyst did you use? My suggestion would be to use
> PV 4.3.1 if you're not using that. It's possible that the examples haven't
> been updated for the current PV master. I keep trying to set aside time to
> have a dashboard check that nightly but haven't gotten around to do that
> yet.
>
> Cheers,
> Andy
>
> On Thu, Sep 3, 2015 at 12:14 PM, Dorier, Matthieu  wrote:
>>
>> Hi,
>>
>> Following your advice I installed the version of Catalyst that includes
>> Python and started trying the examples
>> (https://github.com/Kitware/ParaViewCatalystExampleCode)
>> I tried the CxxMappedDataArrayExample and the CxxImageDataExample; in both
>> cases I get an error from the script:
>>
>> Traceback (most recent call last):
>>   File "", line 2, in 
>>   File "feslicescript.py", line 78, in DoCoProcessing
>>
>>   File
>> "/home/mdorier/Catalyst-build/lib/site-packages/paraview/coprocessing.py",
>> line 104, in UpdateProducers
>> self.CreatePipeline(datadescription)
>>   File "feslicescript.py", line 34, in CreatePipeline
>>
>>   File "feslicescript.py", line 17, in _CreatePipeline
>> filename_3_pvtu = coprocessor.CreateProducer( datadescription, "input"
>> )
>>   File "feslicescript.py", line 20, in Pipeline
>> Slice1.SliceType.Offset = 0.0
>>   File
>> "/home/mdorier/Catalyst-build/lib/site-packages/paraview/simple.py", line
>> 1481, in CreateObject
>> elif active_objects.source:
>>   File
>> "/home/mdorier/Catalyst-build/lib/site-packages/paraview/simple.py", line
>> 1690, in get_source
>> self.__get_selection_model("ActiveSources").GetCurrentProxy())
>>   File
>> "/home/mdorier/Catalyst-build/lib/site-packages/paraview/simple.py", line
>> 1684, in __convert_proxy
>> servermanager._getPyProxy(px.GetSourceProxy()),
>> AttributeError: GetSourceProxy
>>
>> Any idea what is happening? Are the scripts outdated?
>>
>> Thanks,
>>
>> Matthieu
>>
>> 
>> From: Berk Geveci [berk.gev...@kitware.com]
>> Sent: Wednesday, September 02, 2015 4:23 PM
>> To: Andy Bauer
>> Cc: Dorier, Matthieu; paraview@paraview.org
>> Subject: Re: [Paraview] Isosurface and slicing with Catalyst in C++
>>
>> One thing I want to clarify with respect to what Andy said. Figuring out
>> parallel rendering in VTK is tricky but from ParaView be it C++ or Python,
>> it is much easier. We are here to provide help.
>>
>> Having said this, if you think that you will be changing your in situ
>> functionality regularly, I would also highly recommend the Python route. If
>> you are planning to build in a relatively fix in situ capability, C++ is a
>> decent option. I would still recommend getting there through the Python
>> route.  Once you have everything figured out, we can help convert things to
>> C++.
>>
>> Best,
>> -berk
>>
>> On Wed, Sep 2, 2015 at 12:01 PM, Andy Bauer 
>> wrote:
>>>
>>> Hi Matthieu,
>>>
>>> I would strongly recommend that you use a ParaView GUI generated Python
>>> Catalyst pipeline script instead of hand-written C++ Catalyst pipeliine to
>>> do what you want. There are a surprising amount of settings required to
>>> output images from VTK. If you want to do that in parallel the complexity
>>> goes up even more due to parallel compositing of the images. Everyone that
>>> I've run across that wanted to avoid Python with their Catalyst instrumented
>>> code quickly changed their mind after trying out the Python generated
>>> scripts. The overhead of using Python really is negligible compared to a
>>> pure C++ description of the Catalyst pipeline. Also, the Catalyst Live and
>>> Cinema output are all driven by Python code as well.
>>>
>>> The last and only time I tried doing rendering in parallel in VTK it took
>>> me about 5 days and that was with constantly asking questions from other
>>> people here at Kitware that knew how to do that.
>>>
>>> That being said, if after reading this you're still set on doing all of
>>> this in C++ then let us know and we'll see what can be done.
>>>
>>> Regards,
>>> Andy
>>>
>>>
>>> On Wed, Sep 2, 2015 at 2:38 PM, Dorier, Matthieu 

[Paraview] ANN: ParaView 4.4.0-RC2 now available for download

2015-09-06 Thread Utkarsh Ayachit
Folks,

ParaView 4.4.0-RC2 binaries are now available for download [1].

The detailed summary of the changes will follow. An exhaustive list of
features implemented and bugs fixed in this release can be found on
the bug tracker [2].

- The ParaView Team

[1] http://www.paraview.org/download/
[2] http://paraview.org/Bug/changelog_page.php
___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] scalarBar location

2015-08-17 Thread Utkarsh Ayachit
Sure...it generally isn't a bad idea to grab attention on the mailing
list in any case.

On Sun, Aug 16, 2015 at 7:47 PM, Ganesh Vijayakumar
ganesh.i...@gmail.com wrote:
 Thanks...I wasn't sure if it's a bug or not. Will report next time.

 ganesh

 On Wed, Aug 12, 2015 at 10:57 AM, Utkarsh Ayachit
 utkarsh.ayac...@kitware.com wrote:

 Ganesh,

 It'll be something like this:

 lut = GetColorTransferFunction(RTData)
 sb = GetScalarBar(a, GetActiveView())
 sb.Position = [x, y]
 sb.Position2 = [x2, y2]
 sb.Orientation = Horizontal' # or | Vertical


 I've also reported a bug: http://www.paraview.org/Bug/view.php?id=15640

 Utkarsh


 On Mon, Aug 10, 2015 at 7:02 PM, Ganesh Vijayakumar
 ganesh.i...@gmail.com wrote:
  Dear All,
 
Could you please help me with setting the location of the scalarBar
  location using python scripting? I'm unable to see any changes to a
  python
  script generated by trace when I move the scalar bar around.
 
  ganesh
 
  ___
  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
 
  Search the list archives at: http://markmail.org/search/?q=ParaView
 
  Follow this link to subscribe/unsubscribe:
  http://public.kitware.com/mailman/listinfo/paraview
 




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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] scalarBar location

2015-08-12 Thread Utkarsh Ayachit
Ganesh,

It'll be something like this:

lut = GetColorTransferFunction(RTData)
sb = GetScalarBar(a, GetActiveView())
sb.Position = [x, y]
sb.Position2 = [x2, y2]
sb.Orientation = Horizontal' # or | Vertical


I've also reported a bug: http://www.paraview.org/Bug/view.php?id=15640

Utkarsh


On Mon, Aug 10, 2015 at 7:02 PM, Ganesh Vijayakumar
ganesh.i...@gmail.com wrote:
 Dear All,

   Could you please help me with setting the location of the scalarBar
 location using python scripting? I'm unable to see any changes to a python
 script generated by trace when I move the scalar bar around.

 ganesh

 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Update: Upcoming ParaView Releases (4.4 and 5.0)

2015-08-06 Thread Utkarsh Ayachit
Folks,

Just wanted to let everyone know we're closing on a ParaView 4.4
release candidate (think next week or two). If you spot any major
issues, or there's something you're keen on committing, you should do
that now.

Utkarsh

On Fri, Jul 17, 2015 at 2:29 PM, Utkarsh Ayachit
utkarsh.ayac...@kitware.com wrote:
 Folks,

 Since we're getting close to the next release, I just wanted to send out an
 email to let everyone know how we're planning to do the next release.

 + We'll do a ParaView 4.4 release will all features/fixes planned for the
 next release. This will use the older rendering code (same as previous
 release) that doesn't using OpenGL 2+ features.

 +  Following the same pattern as VTK, soon after (at the same time, if
 possible), we'll release ParaView 5.0. This will be ParaView 4.4 but with
 OpenGL2 backend.

 The main reason for this separation would be to have a fallback in case
 showstopper issues are noticed with the major rendering changes and for
 legacy systems that don't have a newer OpenGL.

 Any thoughts? Comments? Suggestions? If things go according to plan, release
 candidates should start popping up mid/late August.

 Utkarsh

 p.s. Originally, we also intended to upgrade ParaView 5.0 to use Qt 5, by
 default. However, there are a few outstanding issues with Qt 5 (some in Qt 5
 itself, and some in our testing code) and hence the upgrade to Qt 5 has been
 tabled for now.
___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] FullScreen and No Boraders

2015-08-03 Thread Utkarsh Ayachit
   renderWindow-BordersOff();
   renderWindow-SetFullScreen(true);

That should have done the trick. Try moving this code to right after
the RenderWIndow is created i.e. after
vtkSmartPointervtkRenderWindow::New(); (more specifically,  before
the RenderWindowInteractor is setup). If I remember correctly, the
setting up of the interactor does affect the render window state.

Utkarsh

On Mon, Aug 3, 2015 at 4:48 AM, 周恒众 zhz1993...@163.com wrote:

 I want to ask some question about VTK. Now I want to create a
 renderwindow without borders and full of screen . I write code like this:
   vtkSmartPointervtkSphereSource sphereSource =
 vtkSmartPointervtkSphereSource::New();

   vtkSmartPointervtkPolyDataMapper mapper =
 vtkSmartPointervtkPolyDataMapper::New();
   mapper-SetInputConnection(sphereSource-GetOutputPort());

   vtkSmartPointervtkActor actor =
 vtkSmartPointervtkActor::New();
   actor-SetMapper(mapper);

   vtkSmartPointervtkRenderer renderer =
 vtkSmartPointervtkRenderer::New();
   vtkSmartPointervtkRenderWindow renderWindow =
 vtkSmartPointervtkRenderWindow::New();
   renderWindow-AddRenderer(renderer);
   vtkSmartPointervtkRenderWindowInteractor renderWindowInteractor =
 vtkSmartPointervtkRenderWindowInteractor::New();
   renderWindowInteractor-SetRenderWindow(renderWindow);

   renderer-AddActor(actor);



   renderWindow-Render();
   renderWindowInteractor-Start();

 But when I run this program . The renderwindow also have borders.
 How can I do to make the renderwindow without borders . Thank you for your
 help.

 zhz



 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Reg. paraview using off

2015-07-31 Thread Utkarsh Ayachit
Great! Glad it's working for you now.

On Thu, Jul 30, 2015 at 5:01 PM, Ganesh Vijayakumar ganesh.i...@gmail.com
wrote:

 Thanks all. This is super awesome and now allows me to get real time
 updates on the status of simulations instead of wheeling the data out to
 some other place.. tarring, scping, untarring phew!

 ganesh

 On Wed, Jul 29, 2015 at 12:00 PM Utkarsh Ayachit 
 utkarsh.ayac...@kitware.com wrote:

 Check this out:

 http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D#Configuring_ParaView_for_use_with_OSMesa

 You're missing several other flags needed for ParaView to use OSMesa
 e.g. VTK_OPENGL_HAS_OSMESA. Also, your CMakeCache.txt shows that
 OPENGL_gl_LIBRARY, OPENGL_glu_LIBRARY, OPENGL_INCLUDE_DIR are set to
 use system OpenGL. That will cause runtime issues. The Wiki indicates
 the values that these should be set to.

 On Tue, Jul 28, 2015 at 11:39 PM, Ganesh Vijayakumar
 ganesh.i...@gmail.com wrote:
  Hello,
 
I'm trying to install paraview using off-screen rendering on a
 cluster. I
  attached my CMakeCache. It configures just fine. However, I'm unable to
  progress beyond this error during the compile. Could anyone please help?
  I load the required modules first
 
  module load gcc/4.9.2
  module load cmake/3.1.0
  module load python/2.7.9
  module load hdf5/1.8.14
  export HDF5_ROOT=/opt/aci/sw/gcc/hdf5/1.8.14_gcc-4.9.2/
  export
 PYTHON_INCLUDE_DIRS=/opt/aci/sw/python27/2.7.9_gcc-4.9.2-1/include/
  export
  PYTHON_LIBRARY=/opt/aci/sw/python27/2.7.9_gcc-4.9.2-1/lib/
 libpython2.7.so
  export
 PYTHON_EXECUTABLE=/opt/aci/sw/python27/2.7.9_gcc-4.9.2-1/bin/python
 
  Then, I configured as
 
  ccmake ~/software/ParaView-v4.3.1-source
 
 -DOSMESA_INCLUDE_DIR:PATH=/storage/home/guv106/software/mesa-10.5.4/include
 
 -DOSMESA_LIBRARY:FILEPATH=/storage/home/guv106/software/mesa-10.5.4/lib/gallium/libOSMesa.so
  -DVTK_USE_X:BOOL=OFF  -DVTK_USE_SYSTEM_HDF5:BOOL=ON
 
 -DPYTHON_INCLUDE_DIRS=/opt/aci/sw/python27/2.7.9_gcc-4.9.2-1/include/python2.7/
 
  The error during the make process is
 
  [ 11%] Building CXX object
 
 VTK/Rendering/OpenGL/CMakeFiles/vtkRenderingOpenGL.dir/vtkOSOpenGLRenderWindow.cxx.o
  cd
 /storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Rendering/OpenGL
   /usr/bin/c++   -DVTK_IN_VTK -DvtkRenderingO
  penGL_EXPORTS -O3 -DNDEBUG -fPIC
  -I/storage/home/guv106/software/ParaView-v4.3.1-build
  -I/storage/home/guv106/software/mes
  a-10.5.4/include
  -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Imaging/Hybrid
  -I/storage/home/guv106/software/
  ParaView-v4.3.1-source/VTK/Imaging/Hybrid
  -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/IO/Image
  -I/storage/ho
  me/guv106/software/ParaView-v4.3.1-source/VTK/IO/Image
  -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Common/Da
  taModel
 
 -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Common/DataModel
  -I/storage/home/guv106/software/ParaVi
  ew-v4.3.1-build/VTK/Common/Math
  -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Common/Math
  -I/storage/home/guv
  106/software/ParaView-v4.3.1-build/VTK/Common/Core
  -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Common/Core
 
 -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Utilities/KWSys
  -I/storage/home/guv106/software/ParaView-v4.3.1-
  source/VTK/Utilities/KWSys
  -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Common/Misc
  -I/storage/home/guv106/so
  ftware/ParaView-v4.3.1-source/VTK/Common/Misc
  -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Common/System
 -I/s
  torage/home/guv106/software/ParaView-v4.3.1-source/VTK/Common/System
  -I/storage/home/guv106/software/ParaView-v4.3.1-build
  /VTK/Common/Transforms
 
 -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Common/Transforms
  -I/storage/home/guv106
  /software/ParaView-v4.3.1-build/VTK/Common/ExecutionModel
  -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Commo
  n/ExecutionModel
 
 -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Utilities/DICOMParser
  -I/storage/home/guv106/so
  ftware/ParaView-v4.3.1-source/VTK/Utilities/DICOMParser
  -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/IO/Core
  -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/IO/Core
 
 -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/ThirdParty/zlib
 
 -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/ThirdParty/zlib
 
 -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Utilities/MetaIO/vtkmetaio
 
 -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Utilities/MetaIO
 
 -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Utilities/MetaIO
 
 -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/ThirdParty/jpeg
 
 -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/ThirdParty/jpeg
  -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/ThirdParty/png
 
 -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/ThirdParty/png
 
 -I

Re: [Paraview] Reg. paraview using off

2015-07-29 Thread Utkarsh Ayachit
Check this out:
http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D#Configuring_ParaView_for_use_with_OSMesa

You're missing several other flags needed for ParaView to use OSMesa
e.g. VTK_OPENGL_HAS_OSMESA. Also, your CMakeCache.txt shows that
OPENGL_gl_LIBRARY, OPENGL_glu_LIBRARY, OPENGL_INCLUDE_DIR are set to
use system OpenGL. That will cause runtime issues. The Wiki indicates
the values that these should be set to.

On Tue, Jul 28, 2015 at 11:39 PM, Ganesh Vijayakumar
ganesh.i...@gmail.com wrote:
 Hello,

   I'm trying to install paraview using off-screen rendering on a cluster. I
 attached my CMakeCache. It configures just fine. However, I'm unable to
 progress beyond this error during the compile. Could anyone please help?
 I load the required modules first

 module load gcc/4.9.2
 module load cmake/3.1.0
 module load python/2.7.9
 module load hdf5/1.8.14
 export HDF5_ROOT=/opt/aci/sw/gcc/hdf5/1.8.14_gcc-4.9.2/
 export PYTHON_INCLUDE_DIRS=/opt/aci/sw/python27/2.7.9_gcc-4.9.2-1/include/
 export
 PYTHON_LIBRARY=/opt/aci/sw/python27/2.7.9_gcc-4.9.2-1/lib/libpython2.7.so
 export PYTHON_EXECUTABLE=/opt/aci/sw/python27/2.7.9_gcc-4.9.2-1/bin/python

 Then, I configured as

 ccmake ~/software/ParaView-v4.3.1-source
 -DOSMESA_INCLUDE_DIR:PATH=/storage/home/guv106/software/mesa-10.5.4/include
 -DOSMESA_LIBRARY:FILEPATH=/storage/home/guv106/software/mesa-10.5.4/lib/gallium/libOSMesa.so
 -DVTK_USE_X:BOOL=OFF  -DVTK_USE_SYSTEM_HDF5:BOOL=ON
 -DPYTHON_INCLUDE_DIRS=/opt/aci/sw/python27/2.7.9_gcc-4.9.2-1/include/python2.7/

 The error during the make process is

 [ 11%] Building CXX object
 VTK/Rendering/OpenGL/CMakeFiles/vtkRenderingOpenGL.dir/vtkOSOpenGLRenderWindow.cxx.o
 cd /storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Rendering/OpenGL
  /usr/bin/c++   -DVTK_IN_VTK -DvtkRenderingO
 penGL_EXPORTS -O3 -DNDEBUG -fPIC
 -I/storage/home/guv106/software/ParaView-v4.3.1-build
 -I/storage/home/guv106/software/mes
 a-10.5.4/include
 -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Imaging/Hybrid
 -I/storage/home/guv106/software/
 ParaView-v4.3.1-source/VTK/Imaging/Hybrid
 -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/IO/Image
 -I/storage/ho
 me/guv106/software/ParaView-v4.3.1-source/VTK/IO/Image
 -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Common/Da
 taModel
 -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Common/DataModel
 -I/storage/home/guv106/software/ParaVi
 ew-v4.3.1-build/VTK/Common/Math
 -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Common/Math
 -I/storage/home/guv
 106/software/ParaView-v4.3.1-build/VTK/Common/Core
 -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Common/Core
 -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Utilities/KWSys
 -I/storage/home/guv106/software/ParaView-v4.3.1-
 source/VTK/Utilities/KWSys
 -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Common/Misc
 -I/storage/home/guv106/so
 ftware/ParaView-v4.3.1-source/VTK/Common/Misc
 -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Common/System -I/s
 torage/home/guv106/software/ParaView-v4.3.1-source/VTK/Common/System
 -I/storage/home/guv106/software/ParaView-v4.3.1-build
 /VTK/Common/Transforms
 -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Common/Transforms
 -I/storage/home/guv106
 /software/ParaView-v4.3.1-build/VTK/Common/ExecutionModel
 -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Commo
 n/ExecutionModel
 -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Utilities/DICOMParser
 -I/storage/home/guv106/so
 ftware/ParaView-v4.3.1-source/VTK/Utilities/DICOMParser
 -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/IO/Core
 -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/IO/Core
 -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/ThirdParty/zlib
 -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/ThirdParty/zlib
 -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Utilities/MetaIO/vtkmetaio
 -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Utilities/MetaIO
 -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Utilities/MetaIO
 -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/ThirdParty/jpeg
 -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/ThirdParty/jpeg
 -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/ThirdParty/png
 -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/ThirdParty/png
 -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/ThirdParty/tiff
 -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/ThirdParty/tiff
 -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Imaging/Core
 -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Imaging/Core
 -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Utilities/ParseOGLExt
 -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Utilities/ParseOGLExt
 -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Rendering/Core
 

Re: [Paraview] paraview 4.1 and greater not getting slice representation on remote logins

2015-07-24 Thread Utkarsh Ayachit
Ah! I missed the info about ssh -X from different machines. Try doing a
simple Wavelet source and slice that. Does that work?

On Thu, Jul 23, 2015 at 5:52 PM Kate Fissell fiss...@pitt.edu wrote:

 Hi Utkarsh,

 Thanks for your super fast response.
 Using a  slice filter I also get no slice image.
 I downloaded nightly build ParaView-4.3.1-882-gbdceec7-Linux-64bit
 and I still have the problem.  Is that the most recent git/master ?

 When you say you think the problem is related to the fix you list,
 do you mean that the 15457 fix you needed to do for parallel
 slice had the side effect of causing this remote connection issue, or,
 do you mean that the parallel slice fix would hopefully solve
 the remote connection issue ?

 I tried to take a look at the code changes in the fix.
 I saw some stuff with extents.   Do you think that the
 problem is that the extent is computed incorrectly, eg
 way too small, eg 0 ?   Why would that happen only
 on the Centos-Ubuntu remote connection ?

 thanks very much,
 Kate

 On 07/22/2015 03:35 PM, Utkarsh Ayachit wrote:
  Kate,
 
  I suspect it's related to this fix:
  https://gitlab.kitware.com/paraview/paraview/merge_requests/92
 
  I tested with the latest git/master and it does render correctly in
  client-server mode too.
 
  A workaround would be to use the Slice filter instead. It will be a
  little slower and more memory intensive than Slice representation,
  however.
 
  Utkarsh
 
  On Wed, Jul 22, 2015 at 3:08 PM, Kate Fissell fiss...@pitt.edu wrote:
  Hi,
 
  On Paraview versions 4.1 and greater if I ssh -X from a Centos machine
 into
  an Ubuntu
  graphics server to run Paraview I have a problem with viewing images.
 
  I load the AnalyzeNifTIIO plugin, and load a nifti image, and I believe
 it
  loads correctly.
  I get the wireframe, the Information panel gives the correct
 cells/point.
  If I change to
  Slice representation the view window stays blank.  Volume
 representation is
  fine, I get the
  3D rendering.
  Same thing if I load a vti format of the data, no slice view.
 
  This happens when I ssh from a Centos machine, it does not happen when
 I ssh
  from
  an Ubuntu machine.   In both cases I believe I am using glx to do the
  rendering locally,
  not doing a setenv DISPLAY to ship the rendered picture over the net.
  It is the same glx version on the Ubuntu and Centos machine, but they
 have
  different
  graphics cards.
 
  Ubuntu server running Paraview (console graphics):
  OpenGL vendor string: NVIDIA Corporation
  OpenGL renderer string: Quadro K4000/PCIe/SSE2
  OpenGL core profile version string: 4.3.0 NVIDIA 331.113
  OpenGL core profile shading language version string: 4.30 NVIDIA via Cg
  compiler
  OpenGL core profile context flags: (none)
  OpenGL core profile profile mask: core profile
  OpenGL core profile extensions:
  OpenGL version string: 4.4.0 NVIDIA 331.113
  OpenGL shading language version string: 4.40 NVIDIA via Cg compiler
  OpenGL context flags: (none)
  OpenGL profile mask: (none)
  OpenGL extensions:
 
 
  Centos machine ssh'd to Ubuntu server:
  OpenGL vendor string: NVIDIA Corporation
  OpenGL renderer string: Quadro FX 580/PCIe/SSE2
  OpenGL version string: 2.1.2 NVIDIA 340.76
  OpenGL shading language version string: 1.20 NVIDIA via Cg compiler
  OpenGL extensions:
 
 
  Ubuntu machine ssh'd to Ubuntu server:
  OpenGL vendor string: NVIDIA Corporation
  OpenGL renderer string: Quadro K4000/PCIe/SSE2
  OpenGL version string: 2.1.2 NVIDIA 304.125
  OpenGL shading language version string: 1.20 NVIDIA via Cg compiler
  OpenGL extensions:
 
 
  In Paraview ParaView-v4.0.1 I do not have this problem.
  I have the problem in Paraview-4.1, 4.2, 4.3.
 
  I am using your pre-compiled binaries as test, but I have the same
 problem
  with my compilation.
 
  Do you know what changed from ParaView-v4.0.1 to ParaView-v4.1 that
 would
  cause
  this or what the workaround is ?
 
  thanks
  Kate
  ___
  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
 
  Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Bug with the trace tool : Exporting view instruction not repeatable

2015-07-22 Thread Utkarsh Ayachit
Silvère,

There was a bug in the code that traced it where it picked up an
incorrect property name. As a workaround, you can change the
Rasterize3DGeometry to Rasterize3Dgeometry (note the different
case).

e.g.
ExportView('/tmp/sample.pdf', view=renderView1, Rasterize3Dgeometry=0)



On Wed, Jul 22, 2015 at 11:04 AM, Silvere Pierre
silvere.pierre.parav...@gmail.com wrote:
 Hello everyone,

 I am used to create vector images (PDF) using the export view tool in the
 Paraview 4.3 GUI.
 As I wanted to use it in scripts I used Start Trace to get the python
 instructions which is :

 ExportView('your_path.pdf', view=your_render_view, Rasterize3DGeometry=0)

 Problem is, the Rasterize3DGeometry option is unknown when you try and use
 it in the console (and without it you get a pixeled image).

 I looked up old messages and found this piece of code :

 rw = your_render_view.GetRenderWindow()
 exp = paraview.vtk.vtkInstantiator.CreateInstance('vtkGL2PSExporter')
 exp.SetRenderWindow(rw)
 exp.SetDrawBackground(0)
 exp.SetSortToSimple()
 exp.SetFileFormatToPDF()
 exp.SetFilePrefix(your_path.pdf)
 exp.Write3DPropsAsRasterImageOff()
 exp.Write()

 that should take care of it in a less direct way. Unfortunately, the
 instanciation fail and the object (named exp here) is undefined.

 Is it only an interface problem with python ? Is there any way to get the
 correct instance of the renderer ?

 Best regards,

 Silvère Pierre

 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Fwd: Custom animation help? (Corrected image)

2015-07-20 Thread Utkarsh Ayachit
Jesse,

Delete is typically greyed out when there's a filter connected to that
particular source/filter. You need to delete all downstream stream filters
before you can delete the active one. In other words, you cannot delete a
filter/source in the middle of a pipeline. You can only delete the sinks
or leaves.

Utkarsh

On Mon, Jul 20, 2015 at 10:42 AM Jesse Samluk seven...@udel.edu wrote:

 Cory,

 Just “bumping” this question:

 Paraview for Dummies question - it won’t let me delete that other VTK file
 in the Pipeline browser (grayed out).

 There’s only an option for delete all (yikes!). Any other suggestions?


 Jesse

 Begin forwarded message:

 *From: *Jesse Samluk seven...@udel.edu
 *Subject: **Re: [Paraview] Custom animation help? (Corrected image)*
 *Date: *July 15, 2015 at 3:31:19 PM EDT
 *To: *Cory Quammen cory.quam...@kitware.com
 *Cc: *Paraview paraview@paraview.org


 Paraview for Dummies question - it won’t let me delete that other VTK file
 in the Pipeline browser (grayed out).

 There’s only an option for delete all (yikes!). Any other suggestions?

 On Jul 15, 2015, at 3:26 PM, Cory Quammen cory.quam...@kitware.com
 wrote:

 Jesse,

 - Load your state file.
 - Delete the second VTK file you don't need.
 - Save the state

 That should do it.

 Cory

 On Wed, Jul 15, 2015 at 3:20 PM, Jesse Samluk seven...@udel.edu wrote:

 Cory,

   Yes that does the trick, but one more question (and I’ve always
 wondered this). I had 2 vtk files open in the Pipeline browser when I saved
 the “animation track” state file as discussed, but, when I select load
 state file, it's is now pointing to/asking for two vtk files.

Any way to adjust this since I want to open only one vtk file, or am I
 stuck?

Thanks again!
 Jesse

 On Jul 15, 2015, at 1:08 PM, Cory Quammen cory.quam...@kitware.com
 wrote:

 Jesse,

 The animation tracks will be saved in the state file. I just tested
 ParaView to see if that is the case, and it is. Let us know if it isn't
 working for you.

 Thanks,
 Cory



 On Wed, Jul 15, 2015 at 11:37 AM, Jesse Samluk seven...@udel.edu wrote:

 Cory,

 Right, but isn’t that going to “throw away” the animation “tracks I
 just created?

 For instance, I have created an animation with a vtk data set I’m
 working with. Cool.

 But say I close Paraview, I lose the animation tracks I just created.
 Right.

 So how can I save those animation tracks? Is this even possible in
 Paraview?

 Thanks!
 Jesse

 On Jul 15, 2015, at 10:44 AM, Cory Quammen cory.quam...@kitware.com
 wrote:

 Jesse,

 When you load a state file, you get the chance to update the data file
 paths in the state file. You can use this mechanism to load a different
 data file with the same state applied to it.

 HTH,
 Cory

 On Tue, Jul 14, 2015 at 5:36 PM, Jesse Samluk seven...@udel.edu wrote:

 Dan and Cory,

 Thanks for the guides. I’m getting a lot better at animations now!
 Awesome! The guides helped a lot.

   1 more quick question for you.

  I know how to save state files, but is there such a way to save the
 animation “state” that I just created in a state file, such that, if I use
 that state file, the animation scheme will reappear to other data files
 I’ve created?

Wasn’t too sure on this.

  Thanks!
   Jesse


 On Jul 10, 2015, at 5:34 PM, Dan Lipsa dan.li...@kitware.com wrote:

 Jesse,
 See also the following thread:


 http://markmail.org/search/?q=+programmimg+the+camera+position+using+python#query:%20programmimg%20the%20camera%20position%20using%20python+page:1+mid:nkm5rmw2hz52egnk+state:results

 On Fri, Jul 10, 2015 at 5:19 PM Cory Quammen cory.quam...@kitware.com
 wrote:

 Hi Jesse,

 It should be possible to do this. See Chapter 7 of the ParaView User
 Guide [1] or Section 2.13 or the ParaView Tutorial [2] for more 
 information.

 [1] http://www.paraview.org/paraview-guide/
 [2] http://www.paraview.org/Wiki/images/f/f4/ParaViewTutorial42.pdf

 HTH,
 Cory

 On Mon, Jul 6, 2015 at 8:56 AM, Jesse Samluk seven...@udel.edu
 wrote:

 Greetings all,

   I sent this message last week, but errantly sent the .tif image
 which made it a huge file. The JPG is now attached.

I’m trying to make an animation in Paraview. I took a stab at it
 before with Paraview, but I recall it as being tedious. Maybe I can get
 some pointers from the experts.

   So, the attached imaged is a cube view of the electromagnetic
 response over sea ice. What Im trying to do with this animation is two
 things:

   1.) Move the horizontal slice and Y-Z vertical slice (the slice
 without the tubes) up and down, and side to side, respectively, such that
 as if you selected the particular slide in the Pipeline browser, you 
 could
 drag the slice in question and move it manually to see the different
 responses. Therefore I’m trying to automate it.

   2.) Rotate it about the z-axis 5 degrees (to about 180) at each
 iteration and return, then rotate it 5 degrees at each iteration about 
 the
 y-axis (till about 45 degrees) and return. 

Re: [Paraview] [EXTERNAL] Re: Plot cumulative integral over time of a variable

2015-07-20 Thread Utkarsh Ayachit
Yes, the change is already merged in VTK. It'll make it to ParaView soon.

Utkarsh

On Wed, Jul 15, 2015 at 12:38 PM Scott, W Alan wasc...@sandia.gov wrote:

  Thanks!



 Are you going to get the patch into the next release?



 Alan



 *From:* Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
 *Sent:* Wednesday, July 15, 2015 9:06 AM
 *To:* Scott, W Alan; paraview@paraview.org
 *Subject:* [EXTERNAL] Re: [Paraview] Plot cumulative integral over time
 of a variable



 Alan,


 Attached is a state file (using can.ex2) which indeed uses numpy.trapz()
 to do the work. It needs a small patch to be applied to VTK (attached) to
 avoid a segfault.



 The Programmable Filter adds a new row-data array named trapz which is
 the result of the operation (it's repeated so we can add it to RowData
 rather than field data.



 Utkarsh

 On Tue, Jul 14, 2015 at 7:23 PM Scott, W Alan wasc...@sandia.gov wrote:

  Question from a user:



 I would like to use paraview to do the following:



 1)  Integrate a nodal variable over a volume (IntegrateVariables
 filter does this)



 2)  Then, integrate the result of the volume integral over time
 (cumulative integral)



 The IntegrateVariables filter works just fine to integrate over the
 volume, and I can plot the results of it over time by selecting RowData
 from the PlotSelectionOverTime filter.  I just can't figure out how to do
 #2 - integrate these results over time with something like numpy.trapz or
 scipy.integrate.cumtrapz.



 I feel like this has probably been asked a million times, but I still seem
 to have trouble with it.  I think I usually fall back to other post
 processing tools.  Can this be done all in Paraview?







 Thanks,



 Alan





 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Update: Upcoming ParaView Releases (4.4 and 5.0)

2015-07-19 Thread Utkarsh Ayachit
Lester,

ParaView 4.4  won't have any major OpenGL related changes so it should work
on platforms ParaView 4.3 or earlier worked. ParaView 5 (with its use of
OpenGL 2.1/3.2 features) should indeed still work on Windows 7/8 with
relatively modern drivers. Note, OpenGL 3.2 is still quite old (~2009). If
you're using remote-desktop, however, you may want to switch to using VNC.
Remote desktop uses a software OpenGL implementation, which (when last I
checked) was only OpenGL 1.1 compatible.

(cc-ing Ken to correct me if I am mistaken)

Utkarsh

On Fri, Jul 17, 2015 at 6:50 PM Lester Anderson arctica1...@gmail.com
wrote:

 With reference to OpenGL, will the new updates via 4,4 or 5 be compatible
 with Windows 7(or 8) or does it expect a newer version of OpenGL on the
 target system?
 thanks

 On 17 July 2015 at 19:29, Utkarsh Ayachit utkarsh.ayac...@kitware.com
 wrote:

 Folks,

 Since we're getting close to the next release, I just wanted to send out
 an email to let everyone know how we're planning to do the next release.

 + We'll do a ParaView 4.4 release will all features/fixes planned for the
 next release. This will use the older rendering code (same as previous
 release) that doesn't using OpenGL 2+ features.

 +  Following the same pattern as VTK, soon after (at the same time, if
 possible), we'll release ParaView 5.0. This will be ParaView 4.4 but with
 OpenGL2 backend.

 The main reason for this separation would be to have a fallback in case
 showstopper issues are noticed with the major rendering changes and for
 legacy systems that don't have a newer OpenGL.

 Any thoughts? Comments? Suggestions? If things go according to plan,
 release candidates should start popping up mid/late August.

 Utkarsh

 p.s. Originally, we also intended to upgrade ParaView 5.0 to use Qt 5,
 by default. However, there are a few outstanding issues with Qt 5 (some in
 Qt 5 itself, and some in our testing code) and hence the upgrade to Qt 5
 has been tabled for now.

 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Update: Upcoming ParaView Releases (4.4 and 5.0)

2015-07-17 Thread Utkarsh Ayachit
Folks,

Since we're getting close to the next release, I just wanted to send out an
email to let everyone know how we're planning to do the next release.

+ We'll do a ParaView 4.4 release will all features/fixes planned for the
next release. This will use the older rendering code (same as previous
release) that doesn't using OpenGL 2+ features.

+  Following the same pattern as VTK, soon after (at the same time, if
possible), we'll release ParaView 5.0. This will be ParaView 4.4 but with
OpenGL2 backend.

The main reason for this separation would be to have a fallback in case
showstopper issues are noticed with the major rendering changes and for
legacy systems that don't have a newer OpenGL.

Any thoughts? Comments? Suggestions? If things go according to plan,
release candidates should start popping up mid/late August.

Utkarsh

p.s. Originally, we also intended to upgrade ParaView 5.0 to use Qt 5, by
default. However, there are a few outstanding issues with Qt 5 (some in Qt
5 itself, and some in our testing code) and hence the upgrade to Qt 5 has
been tabled for now.
___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Transforming a spherical slice into a map projection

2015-07-15 Thread Utkarsh Ayachit
Marie,

Do you have a sample dataset? That'll make it easier to determine the
filters etc. you can apply.

Utkarsh

On Wed, Jul 15, 2015 at 8:03 PM, Marie Kajan marie.ka...@gmail.com wrote:
 I'm a new user and am having difficulty navigating Paraview. I would really
 appreciate any pointers!

 I'm using code called ASPECT (aspect.dealii.org) to generate models of the
 Earth's interior. My data are unstructured grids that contain different data
 arrays: velocity, temperature, etc. I hope that makes sense. I have a
 spherical volume, essentially. I know how to play around with the basic
 filters, and I'm able to take spherical slices which represent
 velocity/temperature/etc. fields at different depths in the Earth.

 But, I'm not sure how to flatten these slices into a map projection (for
 example, a simple rectangle with latitude-longitude axes). Most tutorials
 don't deal with VTK inputs and I'm not familiar enough with Paraview to
 figure out my own script.

 Thanks!

 Marie

 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Pipeline's filters and multiblock order

2015-07-15 Thread Utkarsh Ayachit
The Pipeline Browser shows the filters in pipeline order (or the order
they are created in). This can't be changed, I am afraid. BTW, rather that
using that script, you can use the Extract Block filter to extract blocks
of your choice if you're only interested in a few blocks (or few groups of
blocks). That may make it easier to use. In the Block Indices widget for
the Extract Block filter, you can use Ctrl+F (or Cmd+F) to search for a
block by name.

Utkarsh

On Wed, Jul 15, 2015 at 3:33 PM Carlos García Baena carlos.gba...@gmail.com
wrote:

 Hello,

 I’m working with Fluent and exporting the results like an Ensight case.
 When I open this case in ParaView, I get all the mesh's zones like blocks
 and I can hide and show them with the multiblock inspector utility. Later I
 use a short Python's script that I found in the wiki, which creates a
 Filter in the pipeline from each block (
 http://www.paraview.org/Wiki/ParaView/Python/Extracting_Multiple_Blocks).

 My problem is that I have a lot of mesh’s zones and ParaView sorts them in
 some strange manner that I really don´t understand. I want to have them
 sort by name, alphabetically. Is there any way to do this??

 Best regards and thanks for your time.
 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Output data across all timesteps with Python

2015-07-15 Thread Utkarsh Ayachit
If you know the timestep values you're interested in, you can do the
following:

for t in [0, 0.001, 0.002]:
  writer = CreateWriter(.../foo_%d.csv % t, source)
  writer.FieldAssociation = Points # or Cells
  writer.UpdatePipeline(t)
  del writer

On Wed, Jul 15, 2015 at 3:32 PM Patrick Savidge psavid...@lbl.gov wrote:

 Hello Everyone,

 I am trying to write a python script to output data for each time step. I
 know to use the following script to save data for one time step:

  writer = CreateWriter(.../foo.csv, source) writer.FieldAssociation = 
  Points # or Cells writer.UpdatePipeline() del writer


 I'm curious how I may do this for every time step?

 Thank you for your help,

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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] paraview python script : Delete(renderView1) does not free memory

2015-07-15 Thread Utkarsh Ayachit
Delete() will only remove the render view, not all other proxies that were
created as part of the state loading operation. The following script should
do the trick:


from paraview.simple import *

def ResetSession():
pxm = servermanager.ProxyManager()
pxm.UnRegisterProxies()
del pxm
Disconnect()
Connect()

for i in range(0, 10):
ResetSession()
servermanager.LoadState(/tmp/sample.pvsm)
renderView=SetActiveView(GetRenderView())
Render()


Utkarsh


On Wed, Jul 15, 2015 at 12:52 AM Raj Kumar Manna rajphysics@gmail.com
wrote:

 Dear All,

 I am trying to load multiple state files by running a python script with
 python shell. The script is the following

  import the simple module from the paraview
 from paraview.simple import *

 for time in range(0,200):
 renderView1 = GetActiveViewOrCreate('RenderView')

 # destroy renderView1
 Delete(renderView1)
 del renderView1

 filename = 'filepath/filename-%s.pvsm' % time
 servermanager.LoadState(filename)
 renderView=SetActiveView(GetRenderView())
 Render()
 # get layout
 viewLayout = GetLayout()

 # save screenshot
 SaveScreenshot('filepath/filename-%s.png' % time,
 layout=viewLayout, magnification=3, quality=100)

 I was monitoring the memory used by machine, after some time steps the
 memory used by the machine is whole RAM. Can anybody tell me what I am
 doing wrong here.

 I appreciate your time and support.


 Thanks
 Raj



 --
 ##
 Raj Kumar Manna
 Complex Fluid  Biological Physics Lab
 IIT Madras

 Ph. No. 8144637401

 alternate email: r...@physics.iitm.ac.in rajphysics@gmail.com
 
  ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Plot cumulative integral over time of a variable

2015-07-15 Thread Utkarsh Ayachit
Alan,

Attached is a state file (using can.ex2) which indeed uses numpy.trapz() to
do the work. It needs a small patch to be applied to VTK (attached) to
avoid a segfault.

The Programmable Filter adds a new row-data array named trapz which is
the result of the operation (it's repeated so we can add it to RowData
rather than field data.

Utkarsh

On Tue, Jul 14, 2015 at 7:23 PM Scott, W Alan wasc...@sandia.gov wrote:

  Question from a user:

 I would like to use paraview to do the following:

 1)  Integrate a nodal variable over a volume (IntegrateVariables
 filter does this)

 2)  Then, integrate the result of the volume integral over time
 (cumulative integral)

 The IntegrateVariables filter works just fine to integrate over the
 volume, and I can plot the results of it over time by selecting RowData
 from the PlotSelectionOverTime filter.  I just can't figure out how to do
 #2 - integrate these results over time with something like numpy.trapz or
 scipy.integrate.cumtrapz.

 I feel like this has probably been asked a million times, but I still seem
 to have trouble with it.  I think I usually fall back to other post
 processing tools.  Can this be done all in Paraview?



 Thanks,

 Alan


  ___
 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

 Search the list archives at: http://markmail.org/search/?q=ParaView

 Follow this link to subscribe/unsubscribe:
 http://public.kitware.com/mailman/listinfo/paraview

diff --git a/Filters/Programmable/vtkProgrammableFilter.cxx b/Filters/Programmable/vtkProgrammableFilter.cxx
index 3236dfc..25ef83c 100644
--- a/Filters/Programmable/vtkProgrammableFilter.cxx
+++ b/Filters/Programmable/vtkProgrammableFilter.cxx
@@ -202,8 +202,8 @@ int vtkProgrammableFilter::RequestData(
 vtkCompositeDataIterator* iter = cdsInput-NewIterator();
 for(iter-InitTraversal(); !iter-IsDoneWithTraversal(); iter-GoToNextItem())
   {
-  vtkDataSet* iblock = vtkDataSet::SafeDownCast(iter-GetCurrentDataObject());
-  vtkDataSet* oblock = iblock-NewInstance();
+  vtkDataObject* iblock = iter-GetCurrentDataObject();
+  vtkDataObject* oblock = iblock-NewInstance();
   if (iblock)
 {
 if (this-CopyArrays)
@@ -212,7 +212,12 @@ int vtkProgrammableFilter::RequestData(
   }
 else
   {
-  oblock-CopyStructure( iblock );
+  vtkDataSet* iblockDS = vtkDataSet::SafeDownCast(iblock);
+  vtkDataSet* oblockDS = vtkDataSet::SafeDownCast(oblock);
+  if (iblockDS  oblockDS)
+{
+oblockDS-CopyStructure(iblockDS);
+}
   }
 }
   cdsOutput-SetDataSet(iter, oblock);


trapz.pvsm
Description: Binary data
___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Impossible to see a movement.

2015-07-10 Thread Utkarsh Ayachit
That would be questions to ask to the folks who developed the reader, I am
afraid. I suspect the Wrap button expected an array of certain shape/name
and that's missing in your dataset. I suspect its the fact that your DEPL
array is a 4 component array, rather than 3 -- but that's just a wild guess.

Utkarsh

On Fri, Jul 10, 2015 at 3:27 AM a...@alphanet.ch wrote:

 Utarsh,

 Thank you for your reply, I will try to do what you say this week-end.

 Another fact is a few strange : when I opened my rmed file with Paraview
 (using for this the http://www.alneos.com/telechargement/paraview-avec-med
 software), I simply could clic on the Wrap button (or a name near that)
 and, when I clic Play after I can see the movement...

 This same Wrap button is disabled (for this simualtion) in my Salome-Meca
 Paraview module, with which I work, and I don't understand why...

 Amel


 Utkarsh Ayachit writes:

  Amel,
 
  What's the Result_DEPL array? Is that displacement? Assuming that, I
  applied two calculators: first to convert the Result_DEPL array to a 3
  component vector and the second to translate the coordinate positions
 using
  the vector computed by the previous one. If the Result_DEPL changes in
 your
  dataset over time, you'll see the movement.
 
  State file attached.
 
  Utarsh
 
  On Thu, Jul 9, 2015 at 12:19 AM A. Kapetanovic a...@alphanet.ch wrote:
 
  Utkarsh,
 
  I did something on google drive, I shared the file with your e-mail and
  here you have the url :
 
  https://drive.google.com/open?id=0B_ag1ge2Wc1nSS10M1JYampTb00
 
  I hope all is OK like this, it's the first time I use google drive. Say
  me please if something misses.
 
  Regards   :)
 
 
  Le 08. 07. 15 22:47, Utkarsh Ayachit a écrit :
   Amel,
  
   The dataset didn't come through, I am afraid. Is it may be easier to
   upload it somewhere eg. dropbox/google drive?
  
   Utkarsh
  
   On Wed, Jul 8, 2015 at 3:54 PM A. Kapetanovic a...@alphanet.ch
   mailto:a...@alphanet.ch wrote:
  
   WARNING: this mail was modified in transit:
   defanged (renamed/protected) 07.hdf because file type unknown.
   Rename defang-0.binary to 07.hdf if you want to access the file
  anyway
  
   More details at:
   http://www.alphanet.ch/alphanet/anti-spam.html
   Hi,
  
   Thanks for your reply.
  
   Of course I have data to share. The rmed result comressed file is
 too
   big (35 MB), so I send here the hdf and comm files, you only need
 to
   compute the (3) meshes and to run the simulation to have this rmed
  file.
  
   Say me if you need something else, I hope all is clear enough like
   this   :)
  
   Amel
  
  
   Le 08. 07. 15 15:44, Utkarsh Ayachit a écrit :
 Do you have a sample dataset to share? That'll make this
 easier.

 Typically, movement comes from one of the following:
 1. Readers: the reader itself translates the points in the grid
   as time
 changes
 2. Filters: if the grid doesn't change but has attributes that
   indicate
 the displacement, one can apply a filter to transform the grid
  using
 those displacement vectors.

 Utkarsh

 On Wed, Jul 8, 2015 at 3:59 AM a...@alphanet.ch
   mailto:a...@alphanet.ch
 mailto:a...@alphanet.ch mailto:a...@alphanet.ch wrote:

 Hi,

 I am using Paraview with Salome-Meca + Code_Aster and I
 have
   e little
 problem : impossible to see the movement of a part that is
   moving.

 In fact the simulation is very simple : I have 2 cylinders,
   one is
 fixed by
 one face and the other have a movement on a face. The
  simulation
 converges
 and when I open the mmed or rmed file (result) with
 Paraview,
 impossible to
 see any movement even if I clic play.

 Simply nothing happens.

 Can please someone help me ?

 Best regards,

 Amka
 ___
 Powered by www.kitware.com http://www.kitware.com
   http://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

 Search the list archives at:
   http://markmail.org/search/?q=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

Re: [Paraview] Impossible to see a movement.

2015-07-08 Thread Utkarsh Ayachit
Do you have a sample dataset to share? That'll make this easier.

Typically, movement comes from one of the following:
1. Readers: the reader itself translates the points in the grid as time
changes
2. Filters: if the grid doesn't change but has attributes that indicate the
displacement, one can apply a filter to transform the grid using those
displacement vectors.

Utkarsh

On Wed, Jul 8, 2015 at 3:59 AM a...@alphanet.ch wrote:

 Hi,

 I am using Paraview with Salome-Meca + Code_Aster and I have e little
 problem : impossible to see the movement of a part that is moving.

 In fact the simulation is very simple : I have 2 cylinders, one is fixed by
 one face and the other have a movement on a face. The simulation converges
 and when I open the mmed or rmed file (result) with Paraview, impossible to
 see any movement even if I clic play.

 Simply nothing happens.

 Can please someone help me ?

 Best regards,

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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Executive Not calling RequestData

2015-06-25 Thread Utkarsh Ayachit
RequestData doesn't get called unless the pipeline determines that
something has changed. This is at core of VTK's demand driven execution
pipeline. You may want to checkout Berk's blog (
http://www.kitware.com/blog/home/post/831) about how you can use
`CONTINUE_EXECUTING` key for streaming.

Utkarsh

On Wed, Jun 24, 2015 at 2:32 PM Dean, Kevin 
kevin.d...@decisionsciencescorp.com wrote:

 I was wondering if anyone has run into this problem before. I am streaming
 vtkPolyData objects into ParaView, but for some reason (after my
 UpdatePipeline function is called), the executive does not call RequestData
 upon an Update command. Could there be any reasons for this?

 Here is my snippet:

 *void* *VTKPolyDataObjectsDDSReader::UpdateMyPipeline*(vtkPolyData*
 poly_data)
 {
   // DEBUG:
   // printf(%s\n, __PRETTY_FUNCTION__);

   VTKPolyDataObjectsDDSReader::*UpdateInformation*();
   vtkStreamingDemandDrivenPipeline* executive =
 vtkStreamingDemandDrivenPipeline::*SafeDownCast*(
 VTKPolyDataObjectsDDSReader::*GetExecutive*());

   *if* (!executive)
   {
 *return*;
   }

   *this*-poly_data = poly_data;

   *for* (*int* i = 0; i  *this*-poly_data-*GetNumberOfPieces*(); i++)
   {
 executive-*SetUpdateExtent*(0, i, *this*-poly_data-
 *GetNumberOfPieces*(), 0);
 VTKPolyDataObjectsDDSReader::*Update*();
   }
 }

 Any help is appreciated! Thanks guys.

 Kevin E. Dean

 P.S. - also attached is a screenshot of what some of the output looks like.

 This email and its contents are confidential. If you are not the intended
 recipient, please do not disclose or use the information within this email
 or its attachments. If you have received this email in error, please report
 the error to the sender by return email and delete this communication from
 your records.
___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Plugin XML Format Specification

2015-06-22 Thread Utkarsh Ayachit
Bruce,

Check the Properties Group information here:
http://www.paraview.org/Wiki/ParaView/Properties_Panel#Property_Groups

Utkarsh

On Mon, Jun 22, 2015 at 2:32 PM Bruce Jones bruce.david.jo...@gmail.com
wrote:

 Hi,

 I'm working on a custom plugin. I've managed to get the input parameters
 in the properties panel, and they appear to be working correctly. I would
 now like to split these properties into a couple of groups with a divider
 and title between, but I cannot see how this could be achieved. I have
 looked through the filters.xml in the paraview source, but cannot find a
 similar case, and I am unable to find any more details on the format
 specification that what is written on the plugin wiki page.

 Cheers,
 Bruce
 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] PYTHONPATH environmental variable

2015-06-19 Thread Utkarsh Ayachit
I find it easier to figure this out by using  pvpython and  then doing the
following:

import sys
print sys.path

The path should have all the directories that need to be set in your
PYTHONPATH.

Utkarsh

On Fri, Jun 19, 2015 at 2:15 AM Timo Oster timo.os...@ovgu.de wrote:

 Hi Felix,

 I just happened upon the same problem yesterday. The solution was to add
 the directory with the vkt shared objects into the PYTHONPATH. Those are
 in .../site-packages/vtk. The .../site-packages/paraview/vtk is just a
 mirror that includes the libraries from the top-level vtk directory.

 Hope this helps.

 Regards,

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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] OpenGL2 and ParaView 4.3.1 ...

2015-06-17 Thread Utkarsh Ayachit
If you're keen on trying OpenGL2, I'd suggesting use git/master ParaView. A
whole lot of fixes have gone in since 4.3.1.

Utkarsh

On Tue, Jun 16, 2015 at 9:01 AM Niklas Röber roe...@dkrz.de wrote:

 Hi,

 I do get ParaView with OpenGL2 compiled and running, even with some of
 the plugins. But it crashes quite quickly with the following error message:
  vtkSIProxy (0x5953890): Failed to create vtkHAVSVolumeMapper.
 Aborting for debugging purposes.

 Has anyone gotten ParaView really working with OpenGL2? The current
 volume rendering is beyond painfully slow ...

 Thanks,
 Niklas

 --
 __

 Niklas Röber
 Deutsches Klimarechenzentrum GmbH
 Bundesstraße 45a
 20146 Hamburg, Germany

 email: roe...@dkrz.de
 phone: +49 (0)40 460094 283
fax: +49 (0)40 460094 270
web: http://www.dkrz.de/
 __


 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] pvserver segfault

2015-06-10 Thread Utkarsh Ayachit
Jeff,

D3 is available only when there's more than 1 MPI rank. There's no need to
do any load balancing with just 1 rank.

Utkarsh

On Wed, Jun 10, 2015 at 1:29 PM Jeff Becker jeffrey.c.bec...@nasa.gov
wrote:

 On 06/10/2015 10:16 AM, David E DeMarle wrote:


 On Wed, Jun 10, 2015 at 1:13 PM, Jeff Becker jeffrey.c.bec...@nasa.gov
 wrote:

 I'm assuming the file gets read on the first one, and it splits up the
 grid among all the servers?


 It is up to the specific reader class to decide what to do so who exactly
 reads what depends on the file type. If the data is not well distributed,
 apply the D3 filter to make paraview repartition the read in data amongst
 the processors.


 I did the following to start a single pvserver on each of two hosts:

 $ mpirun r219i0n0,r219i0n1 -np 1 /usr/bin/env DISPLAY=:0
 /u/jcbecker/ParaView-4.3.1-Linux-64bit/bin/pvserver --client-host=pfe20
 --use-offscreen-rendering

 After I connected to the first pvserver, and opened the file, I tried to
 apply the D3 filter, but it was grayed out.


 -jeff


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



___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] pqPipelineSource::getOutputPort( 0 ). Available number of output ports: 0

2015-06-10 Thread Utkarsh Ayachit
I am not sure I follow what's happening here. Can you provide details on
what you're doing here please? Thanks.

Utkarsh

On Wed, Jun 10, 2015 at 11:38 AM Peter pe...@peterheppel.com wrote:

  Hello

 I just built the current Paraview development version and got the same
 error on running the Catalyst examples.

 Paraview declined the connection gracefully when the client was built with
 a different VTK version, so I suspect the issue isnt related to the socket
 handshake, but rather that it only occurs after the socket connection is
 successful.

 P



 --
 Peter Heppel
 35/37 Rue de Locmalo
 56290 Port-Louis
 France
 +33 6 81 30 76 52 cell
 +33 2 97 82 19 30
 USA  +1 773 280 8142
 Skype: peterheppel

  ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] python changes 4.0/4.1 to 4.3?

2015-06-09 Thread Utkarsh Ayachit
Anton,

DiffuseColor still exists. Can you post the full error message that you're
getting? If you can share the dataset you're using to test this script,
that'll be even better!

Utkarsh


On Mon, Jun 8, 2015 at 7:39 PM Anton Shterenlikht me...@bris.ac.uk wrote:

 I've a script that used to work ok on 4.0 and 4.1,
 but now something is wrong with the colours.
 Has anything changed between 4.0/4.1 to 4.3 to make

 DataRepresentation3.DiffuseColor = [1.0, 1.0, 0.0]

 not understood?


 The full script:

 ##72
 # Adjust these parameters
 ext1= 220 # data extent along 1
 ext2= 220 # data extent along 2
 ext3= 220# data extent along 3
 ffile   = zf5.raw # fracture file
 gfile   = zg0.raw   # grain file
 imsize1 = 1000# size, in pixels, of the resulting image along 1
 imsize2 = 1000# size, in pixels, of the resulting image along 2

 # End of adjustable parameters
 ##72

 # define the centre of rotation (cor)
 cor1 = 0.5 * ext1
 cor2 = 0.5 * ext2
 cor3 = 0.5 * ext3

 from paraview.simple import *

 # the extents start from zero, so need to lower
 # the upper extents by 1
 cracks = ImageReader( FilePrefix= ffile )
 cracks.DataExtent=[ 0, ext1-1, 0, ext2-1, 0, ext3-1 ]
 cracks.DataByteOrder = 'LittleEndian'
 cracks.DataScalarType = 'int'

 RenderView1 = GetRenderView()
 DataRepresentation1 = Show()

 DataRepresentation1.Representation = 'Outline'
 DataRepresentation1.EdgeColor = [0.0, 0.0, 0.5]

 # grain boundaries, cell state 2

 Threshold1 = Threshold()
 Threshold1.Scalars = ['POINTS', 'ImageFile']
 Threshold1.ThresholdRange = [ 2, 2 ]
 Threshold1.AllScalars = 0

 DataRepresentation2 = Show()
 DataRepresentation2.ScalarOpacityUnitDistance = 1.0
 DataRepresentation2.SelectionPointFieldDataArrayName = 'ImageFile'
 DataRepresentation2.DiffuseColor = [ 1, 0, 1 ]

 camera = GetActiveCamera()
 camera.SetViewUp(-1,0,0)
 camera.Azimuth(30)
 camera.Elevation(30)

 RenderView1.ResetCamera()

 # gradient background colour
 RenderView1.UseGradientBackground = 1
 RenderView1.Background2 = [0.0, 0.0, 0.16470588235294117]
 RenderView1.Background = [0.3215686274509804, 0.3411764705882353,
 0.43137254901960786]

 RenderView1.CenterAxesVisibility = 0
 RenderView1.OrientationAxesVisibility = 1
 RenderView1.CenterOfRotation = [ cor1, cor2, cor3 ]
 RenderView1.CameraFocalPoint = [ cor1, cor2, cor3 ]
 RenderView1.ViewSize = [ imsize1, imsize2 ]
 RenderView1.CameraViewAngle = 30

 # do all crack states from the main dataset
 SetActiveSource( cracks )

 # (100) cracks
 cracks100 = Threshold()
 cracks100.Scalars = ['POINTS', 'ImageFile']
 cracks100.ThresholdRange = [ 0, 0 ]
 cracks100.AllScalars = 0

 DataRepresentation3 = Show()
 DataRepresentation3.ScalarOpacityUnitDistance = 1.0
 DataRepresentation3.SelectionPointFieldDataArrayName = 'ImageFile'
 DataRepresentation3.DiffuseColor = [1.0, 1.0, 0.0]

 # (110) cracks
 SetActiveSource( cracks )
 cracks110 = Threshold()
 cracks110.Scalars = ['POINTS', 'ImageFile']
 cracks110.ThresholdRange = [ -1, -1 ]
 cracks110.AllScalars = 0

 DataRepresentation4 = Show()
 DataRepresentation4.ScalarOpacityUnitDistance = 1.0
 DataRepresentation4.SelectionPointFieldDataArrayName = 'ImageFile'
 DataRepresentation4.DiffuseColor = [0.0, 1.0, 0.5]

 # 1 is to show, 0 not to show
 # data2 is GB
 # data3 is cracks
 # data4 is grains microstructure

 DataRepresentation2.Opacity = 0.1
 WriteImage( crgb.png )

 DataRepresentation2.Opacity = 1
 DataRepresentation3.Visibility = 0
 WriteImage( gb.png )

 DataRepresentation2.Visibility = 0
 DataRepresentation3.Visibility = 1
 WriteImage( cr.png )

 RenderView1.ResetCamera()

 Render()


 

 Is there anything wrong in this script for 4.3?

 Many 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] pvserver segfault

2015-06-09 Thread Utkarsh Ayachit
Can you try turning off Display Lists? It's an option under the Settings
(Render View tab) dialog. You'll need to restart ParaView after making this
change. I suspect the graphics driver is giving up while building a large
display list. Display lists will be a thing of the past once we update the
rendering backend in the next release of ParaView, FYI.

Utkarsh

On Tue, Jun 9, 2015 at 8:23 PM Jeff Becker jeffrey.c.bec...@nasa.gov
wrote:

 Hi. I'm running pvserver on a GPU server, and a client on my desktop.
 After starting X on the server,  I'm running pvserver as follows, and
 then connect to it from the client

 $ mpirun -np 1 /usr/bin/env DISPLAY=:0
 /u/jcbecker/ParaView-4.3.1-Linux-64bit/bin/pvserver --client-host=pfe20
 --use-offscreen-rendering
 Waiting for client...
 Connection URL: cs://r219i0n0:1
 Accepting connection(s): r219i0n0:1
 Client connected.

 I open a 1.6GB unstructured (.vtu) grid file, and hit apply. After the
 file is read,  and some time passes, I get SIGSEGV and I see the
 following backtrace in gdb. Please advise on what's wrong, and how to
 fix. Thanks.

 -jeff

 (gdb) bt
 #0  0x2aaab0bb92a8 in memcpy () from /lib64/libc.so.6
 #1  0x2aaac3128a70 in ?? () from /usr/lib64/libnvidia-glcore.so.340.65
 #2  0x2aaac327e2a1 in ?? () from /usr/lib64/libnvidia-glcore.so.340.65
 #3  0x2aaac328006e in ?? () from /usr/lib64/libnvidia-glcore.so.340.65
 #4  0x2aaaba0e4197 in
 vtkOpenGLDisplayListPainter::RenderInternal(vtkRenderer*, vtkActor*,
 unsigned long, bool) ()
 from

 /home4/jcbecker/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/libvtkRenderingOpenGL-pv4.3.so.1
 #5  0x2aaaba0e06a1 in
 vtkOpenGLClipPlanesPainter::RenderInternal(vtkRenderer*, vtkActor*,
 unsigned long, bool) ()
 from

 /home4/jcbecker/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/libvtkRenderingOpenGL-pv4.3.so.1
 #6  0x2aaaba122e2a in
 vtkOpenGLScalarsToColorsPainter::RenderInternal(vtkRenderer*, vtkActor*,
 unsigned long, bool) ()
 from

 /home4/jcbecker/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/libvtkRenderingOpenGL-pv4.3.so.1
 #7  0x2aaaba12fdb4 in
 vtkPainterPolyDataMapper::RenderPiece(vtkRenderer*, vtkActor*) ()
 from

 /home4/jcbecker/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/libvtkRenderingOpenGL-pv4.3.so.1
 #8  0x2c4ad93f in vtkPolyDataMapper::Render(vtkRenderer*,
 vtkActor*) ()
 from

 /home4/jcbecker/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/libvtkRenderingCore-pv4.3.so.1
 #9  0x2aaaba0dcd08 in vtkOpenGLActor::Render(vtkRenderer*,
 vtkMapper*) ()
 from

 /home4/jcbecker/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/libvtkRenderingOpenGL-pv4.3.so.1
 #10 0x2aaab4f1630b in vtkPVLODActor::Render(vtkRenderer*, vtkMapper*)
 ()
 from

 /home4/jcbecker/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/libvtkPVVTKExtensionsRendering-pv4.3.so.1
 #11 0x2aaab4f16157 in
 vtkPVLODActor::RenderOpaqueGeometry(vtkViewport*) ()
 from

 /home4/jcbecker/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/libvtkPVVTKExtensionsRendering-pv4.3.so.1
 #12 0x2c4b9464 in vtkRenderer::UpdateGeometry() ()
 from

 /home4/jcbecker/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/libvtkRenderingCore-pv4.3.so.1
 #13 0x2aaab4f0a751 in vtkPVDefaultPass::Render(vtkRenderState const*)
 ()
 from

 /home4/jcbecker/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/libvtkPVVTKExtensionsRendering-pv4.3.so.1
 #14 0x2aaaba0ae35b in vtkCameraPass::Render(vtkRenderState const*) ()
 from

 /home4/jcbecker/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/libvtkRenderingOpenGL-pv4.3.so.1
 #15 0x2aaaba1206c0 in vtkOpenGLRenderer::DeviceRender() ()
 from

 /home4/jcbecker/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/libvtkRenderingOpenGL-pv4.3.so.1
 #16 0x2c4bb18d in vtkRenderer::Render() ()
 from

 /home4/jcbecker/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/libvtkRenderingCore-pv4.3.so.1
 #17 0x2c4b8429 in vtkRendererCollection::Render() ()
 from

 /home4/jcbecker/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/libvtkRenderingCore-pv4.3.so.1
 #18 0x2c4c2202 in vtkRenderWindow::DoStereoRender() ()
 from

 /home4/jcbecker/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/libvtkRenderingCore-pv4.3.so.1
 #19 0x2c4c2119 in vtkRenderWindow::DoFDRender() ()
 from

 /home4/jcbecker/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/libvtkRenderingCore-pv4.3.so.1
 #20 0x2c4c31a3 in vtkRenderWindow::DoAARender() ()
 from

 /home4/jcbecker/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/libvtkRenderingCore-pv4.3.so.1
 #21 0x2c4bf7fe in vtkRenderWindow::Render() ()
 from

 /home4/jcbecker/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/libvtkRenderingCore-pv4.3.so.1
 #22 0x2aaaba1ae7ae in vtkXOpenGLRenderWindow::Render() ()
 from

 /home4/jcbecker/ParaView-4.3.1-Linux-64bit/lib/paraview-4.3/libvtkRenderingOpenGL-pv4.3.so.1
 #23 0x2aaab3b7597f in vtkPVRenderView::Render(bool, bool) ()
 from

 

Re: [Paraview] Viewing data from multiple times on an xy-plot

2015-06-03 Thread Utkarsh Ayachit
Not in the same view, but the Comparative versions of the line/bar chart
views allow you see multiple timesteps side by side. You can use the
Comparative View Inspector to add Time as the parameter to compare and
then setup the timestep values of interest for each of the views.

Utkarsh

On Wed, Jun 3, 2015 at 1:23 PM Alex Lindsay adlin...@ncsu.edu wrote:

 Hi all,

 Is it possible to display data from one variable for multiple time steps
 on one xy-plot? Obviously I can play the default animation that's
 created when I open the file; that's one way to see how the variable
 changes with time. But I'm interested in being able to look at multiple
 time points on one static plot.

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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Import h5py in python shell

2015-06-02 Thread Utkarsh Ayachit
Another trick to try (no guarantees :) ) is to install Python 2.7.2 (64bit)
 and then install h5py for this installation of Python. Then, try loading
h5py from pvpython. You'll need to extend  the sys.path variable to find
the installed modules.

Utkarsh

On Tue, Jun 2, 2015 at 2:54 AM Jean-Michel jm.lu...@gantha.com wrote:

  Thank you for your answer Utkarsh.



 Unfortunately, the h5py installer for Windows does not find the Python
 installation packaged with ParaView in my registry, so I cannot install it
 in ParaView.



 Jean-Michel



 *De :* Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
 *Envoyé :* vendredi 29 mai 2015 20:00
 *À :* Jean-Michel; paraview@paraview.org
 *Objet :* Re: [Paraview] Import h5py in python shell



 ParaView packages its own Python. You'll either need to build ParaView
 from source using the Python installation you have or install h5py in the
 Python packaged with ParaView.



 Utkarsh



 On Tue, May 26, 2015 at 9:58 AM Jean-Michel jm.lu...@gantha.com wrote:

  Dear all,



 I am currently trying to use the h5py module in the Python Shell in
 ParaView 4.3.1 (64 bits). On my system, h5py comes from my installation of
 python-xy and works fine outside of ParaView.



 I tried to import the module by providing the path to the package, using
 mainly two methods:

 - append the path to the package with sys.path.append before doing the
 import

 - import the module using the imp package and providing the full path to
 imp.load_source

 However, both methods failed to load h5py, returing the following error :
 ImportError: DLL load failed: %1 is not a valid win32 application.



 Thank you for your help.



 Jean-Michel


  --

  [image: Image supprimée par l'expéditeur. Avast logo]
 http://www.avast.com/

 L'absence de virus dans ce courrier électronique a été vérifiée par le
 logiciel antivirus Avast.
 www.avast.com



 ___
 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

 Search the list archives at: http://markmail.org/search/?q=ParaView

 Follow this link to subscribe/unsubscribe:
 http://public.kitware.com/mailman/listinfo/paraview



 --
   [image: Avast logo] http://www.avast.com/

 L'absence de virus dans ce courrier électronique a été vérifiée par le
 logiciel antivirus Avast.
 www.avast.com


___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Import h5py in python shell

2015-06-02 Thread Utkarsh Ayachit
Maybe try setting the PATH such that it finds the DLLs it's trying to loads
-- it's a Hail Mary, but why not :).

On Tue, Jun 2, 2015 at 10:56 AM Jean-Michel jm.lu...@gantha.com wrote:

  Thanks again Utkarsh.



 However, trying to load the installed h5py from pvpython (after appending
 the path in the sys.path) gives me the same error I ran into in ParaView's
 python shell:



 from h5py import _errors

 ImportError: DLL load failed: %1 is not a valid win32 application



 Jean-Michel



 *De :* Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
 *Envoyé :* mardi 2 juin 2015 16:27


 *À :* Jean-Michel; paraview@paraview.org
 *Objet :* Re: [Paraview] Import h5py in python shell



 Another trick to try (no guarantees :) ) is to install Python 2.7.2
 (64bit)  and then install h5py for this installation of Python. Then, try
 loading h5py from pvpython. You'll need to extend  the sys.path variable to
 find the installed modules.



 Utkarsh



 On Tue, Jun 2, 2015 at 2:54 AM Jean-Michel jm.lu...@gantha.com wrote:

  Thank you for your answer Utkarsh.



 Unfortunately, the h5py installer for Windows does not find the Python
 installation packaged with ParaView in my registry, so I cannot install it
 in ParaView.



 Jean-Michel



 *De :* Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
 *Envoyé :* vendredi 29 mai 2015 20:00
 *À :* Jean-Michel; paraview@paraview.org
 *Objet :* Re: [Paraview] Import h5py in python shell



 ParaView packages its own Python. You'll either need to build ParaView
 from source using the Python installation you have or install h5py in the
 Python packaged with ParaView.



 Utkarsh



 On Tue, May 26, 2015 at 9:58 AM Jean-Michel jm.lu...@gantha.com wrote:

  Dear all,



 I am currently trying to use the h5py module in the Python Shell in
 ParaView 4.3.1 (64 bits). On my system, h5py comes from my installation of
 python-xy and works fine outside of ParaView.



 I tried to import the module by providing the path to the package, using
 mainly two methods:

 - append the path to the package with sys.path.append before doing the
 import

 - import the module using the imp package and providing the full path to
 imp.load_source

 However, both methods failed to load h5py, returing the following error :
 ImportError: DLL load failed: %1 is not a valid win32 application.



 Thank you for your help.



 Jean-Michel


  --

   [image: Image supprimée par l'expéditeur. Avast logo]
 http://www.avast.com/

 L'absence de virus dans ce courrier électronique a été vérifiée par le
 logiciel antivirus Avast.
 www.avast.com



 ___
 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

 Search the list archives at: http://markmail.org/search/?q=ParaView

 Follow this link to subscribe/unsubscribe:
 http://public.kitware.com/mailman/listinfo/paraview


  --

 [image: Image supprimée par l'expéditeur. Avast logo]
 http://www.avast.com/

 L'absence de virus dans ce courrier électronique a été vérifiée par le
 logiciel antivirus Avast.
 www.avast.com





 --
   [image: Avast logo] http://www.avast.com/

 L'absence de virus dans ce courrier électronique a été vérifiée par le
 logiciel antivirus Avast.
 www.avast.com


___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] In order to run ParaView in client/server mode...

2015-06-01 Thread Utkarsh Ayachit
No, but accessing the Xserver on the server side may require you to work
with the administrator.

See this thread for some info:
http://public.kitware.com/pipermail/paraview-developers/2015-May/003784.html

Utkarsh

On Mon, Jun 1, 2015 at 9:18 AM Stanbridge, Christopher William 
cws...@mun.ca wrote:

 Hi ParaViewers,

 In order to run ParaView in client/server mode (without Mesa), is it
 necessary to already have one of your user accounts logged into the server
 end?

 Cheers,
 Christopher Stanbridge
 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Fwd: Problems in rendering when raw image is resized

2015-05-30 Thread Utkarsh Ayachit
I am not entirely sure what 1 is. However, for 2, try changing the Scalar
Opacity Unit Distance from the Properties panel. ParaView will set it to
a value based on the data spacing after the first Apply. If you change
the spacing after that, you can use the Reset using current data values
button next the option on the Properties panel to recompute using the
current data values.

Utkarsh

On Tue, May 26, 2015 at 7:29 AM Thomas Oliveira thomas.olive...@gmail.com
wrote:

 Hi,

 I have two problems that happen when setting the size of the voxels of a
 raw image.
 Do you have any idea about it, please?

 1) When I import a 3D raw image, if I set the data spacing, i.e., the size
 of each voxel, to 1,1,1, I can correctly visualize and rotate the image.
 However, if I set the voxel size to the values I need
 (5.549E-6,5.549E-6,5.549E-6), the image is rendered as if clipped when
 turned to certain angles (please see picture thisShouldBeCuboid.png
 attached).

 2) Another problem for the same image is that, if the data spacing is set
 to 1,1,1, I get a certain contrast between grey and white (size1.png). If
 it it set to 0.1,0.1,0.1, the grey color becomes whiter (size01.png).
 Finally, when it is set to the correct small size, it is completely white.

 Thank you for your help,

 Thomas Oliveira



 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Troubles with exporting selection labels from current ParaView render view

2015-05-30 Thread Utkarsh Ayachit
Nenad,

DataLabelRepresentation is a subproxy of the GeometryRepresentation and
that has been the case since as long as I remember. That means that when
you iterate over representations in the view, you'll never see a separate
DataLabelRepresentation proxy. Each source proxy has a GetSelectionOutput
method that you can use to get the source proxy which is doing the
extracting tasks to extract selected points. To see if the source proxy
has a selection set, you can use the
vtkSMSourceProxy::GetSelectionInput() method.

Hope that helps.
Utkarsh

On Fri, May 22, 2015 at 7:15 AM Nenad Vujicic nena...@gmail.com wrote:

 Utkarsh,

 Thank you very much for answers about creating and initializing
 DataLabelRepresentation. Now my source plugin works perfectly.

 But, my exporting plugin (my first message) is still unable to export
 labels which I get when try selecting several points. Here is what I
 do:

 1. Create Sphere and apply Elevation filter on it (I turn OFF 3d widget),
 2. I select several points and in Selection Manager I select Elevation
 for Point Labels,
 3. In following code snippet I get only 2 message boxes (one of Sphere
 and one for Elevation - both GeometryRepresentation),, but, there is
 no DataLabelRepresentation.
 4. I know how to extract labels parameters at this level (Selection*
 parameters from representation), but not set of points over which are
 generated labels,

 // for all sources
 for(i = 0; i  sources.size(); i++)
 {
 // get source
 pqPipelineSource* source = sources.at(i);

 // for every source's output port, process it
 for(output_port = 0; output_port 
 source-getNumberOfOutputPorts(); output_port++)
 {
 // traverse all representations
 for(j = 0; j  source-getRepresentations(output_port,
 active_view).count(); j++)
 {
   QMessageBox::about(NULL, ,
 GetCurrentSourceRepresentationSMName());
 }
 }
 }

 Should I try to catch
 pqSelectionManager::selectionChanged(pqOutputPort*) to get data
 structure over which are points which I can compare with data
 structures extracted from vtkRenderWindow to generate labels?

 Thanks for help in advance!

 Nenad.

 On Mon, May 18, 2015 at 3:49 PM, Utkarsh Ayachit
 utkarsh.ayac...@kitware.com wrote:
  - Strange 1: I don't have anymore instance in
  DataLabelRepresentation for Elevation pipeline source (btw, during
  this traversing I get only one actor),
 
  I don't follow. DataLableRepresentation is indeed created for every
  representation shown in the render view.
 
 
  - Strange 2: When I traverse vtkRenderer's actors, I get 2 actors
  (sphere mesh and actor with selected points), but, I'm unable to
  connect selection label properties (which are tied with Elevation
  pipeline source actor - sphere mesh) and mesh with selected points /
  cells.
 
  Remember that label actors are added to the 2D / non-composited
  renderer, not the same as the 3D renderer. Which renderer are you
  looking at?
 
  Q1: How to identify actor from vtkRenderer which contains selection
  points / cells and get selection properties from this actor or
 
  Q2: How to identify actor from pqPipeline source on which are selected
  points and how from appropriate representations to get actor which
  contains selected points / cells?
 
  Neither of these are really supported. Look at
  vtkSelectionRepresentation. If you can think of ways of tagging the
  actors added by the representations used internally by this class, I
  am all ears.

___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Filters applied immediately?

2015-05-30 Thread Utkarsh Ayachit
You've accidentally enabled Auto Apply. You can turn it off from the
Settings dialog (General Tab).

Utkarsh

On Sat, May 30, 2015 at 4:34 AM Marty Kandes mkan...@gmail.com wrote:

 I'm having a problem with Paraview immediately applying a filter once I
 select it to be used before I can adjust the parameters I want it to use
 when applied to the data. Is there some setting that I need to change? I'd
 like to avoid this unnecessary computation time. And I'm not sure why it
 started doing it this way. Previously, I had to acknowledge the application
 of the filer by clicking the 'apply' button before it would do so. Any help
 would be much appreciated.

 Sent from my iPhone
 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] How to automaticaly generate probe location points?

2015-05-29 Thread Utkarsh Ayachit
Joice,

First question do you want probe location or select a cell/point? If you
can describe the workflow you'd use to do this manually for 1 point, I'll
know better what approach might work for you.

Thanks
Utkarsh

On Fri, May 29, 2015 at 10:00 AM Joice Fernandes Carrara 
joicecarr...@poli.ufrj.br wrote:

 Hi,

 I need to generate a wide variety of probe location points and plot
 selection over time, in 4 models.
 This demand a significant amount of time to do manualy.
 I would like to know if it is possible to automaticaly generate the probe
 location points.
 And if it is possible to automatically plot selection over time to this
 same generated points.

 I found this explanation:
 http://www.paraview.org/pipermail/paraview/2011-May/021311.html , but It
 is not clear to me how to do it.

 I prefer to do it without programming.

 Thank you.

 Best regards,


 --
 *Joice Fernandes Carrara*
 Graduanda em Engenharia Naval e oceânica

  ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Import h5py in python shell

2015-05-29 Thread Utkarsh Ayachit
ParaView packages its own Python. You'll either need to build ParaView from
source using the Python installation you have or install h5py in the Python
packaged with ParaView.

Utkarsh

On Tue, May 26, 2015 at 9:58 AM Jean-Michel jm.lu...@gantha.com wrote:

  Dear all,



 I am currently trying to use the h5py module in the Python Shell in
 ParaView 4.3.1 (64 bits). On my system, h5py comes from my installation of
 python-xy and works fine outside of ParaView.



 I tried to import the module by providing the path to the package, using
 mainly two methods:

 - append the path to the package with sys.path.append before doing the
 import

 - import the module using the imp package and providing the full path to
 imp.load_source

 However, both methods failed to load h5py, returing the following error :
 ImportError: DLL load failed: %1 is not a valid win32 application.



 Thank you for your help.



 Jean-Michel


 --
   [image: Avast logo] http://www.avast.com/

 L'absence de virus dans ce courrier électronique a été vérifiée par le
 logiciel antivirus Avast.
 www.avast.com

  ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Running regression tests

2015-05-29 Thread Utkarsh Ayachit
Jim,

Look at what we do for ParaViewSuperbuild [1, 2]. That may give you
pointers. You can potentially setup a simple cmake project that simply runs
your test suite.

Utkarsh

[1]
https://gitlab.kitware.com/paraview/paraview-superbuild/tree/master/Testing
[2]
https://gitlab.kitware.com/paraview/paraview-superbuild/blob/master/Testing/tests.cmake

On Thu, May 28, 2015 at 11:19 AM jim.el...@awe.co.uk wrote:



 Good afternoon,



 I was wondering whether anyone could give me some guidance on how to
 run/create regression tests for ParaView.



 I build/install each release of ParaView on a number of platforms, so I am
 looking for a way to validate correct build and installation, and also to
 check correct performance of our own plugins etc. A subset of the standard
 regression tests would probably be sufficient for validating correct
 installation.



 Step-by-step instructions would be awesome – if available.



 Many thanks,

 Jim



 *Jim Eliot*
 *High Performance Computing Group*
 AWE, Aldermaston, Reading,  RG7 4PR



 ___
  The information in this email and in any
 attachment(s) is commercial in confidence. If you are not the named
 addressee(s) or if you receive this email in error then any distribution,
 copying or use of this communication or the information in it is strictly
 prohibited. Please notify us immediately by email at admin.internet(at)
 awe.co.uk, and then delete this message from your computer. While
 attachments are virus checked, AWE plc does not accept any liability in
 respect of any virus which is not detected. AWE Plc Registered in England
 and Wales Registration No 02763902 AWE, Aldermaston, Reading, RG7 4PR
 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] FlyIn and FlyOut in ParaView 4

2015-05-29 Thread Utkarsh Ayachit
Noted. I've reported a feature request (
http://www.paraview.org/Bug/view.php?id=15497).

Utkarsh

On Mon, May 25, 2015 at 9:02 AM Samuel Key samuel...@bresnan.net wrote:

  Utkarsh--

 This functionality in ParaView would also be very helpful for examining
 the structural stability of underground openings (transportation tunnels,
 mining tunnels, penstocks, large sewage transfer tunnels, ...).

 Sam--


 On 5/24/2015 9:26 PM, Thomas Oliveira wrote:

   Dear Utkarsh,

  It would be great to have this functionality back. This way of navigating
 through the model is needed by everyone who simulates flow inside object
 with (many) channels, e.g., porous media.

  Thanks,

  Thomas


 On Fri, May 22, 2015 at 5:01 PM, Utkarsh Ayachit 
 utkarsh.ayac...@kitware.com wrote:

 Thomas,

 Alas no. That was something that was lost in 3.0 transition. I haven't
 looked into it in detail, but if there's sufficient interest, it
 should not be too hard to resurrect the old code.

 Utkarsh

 On Fri, May 22, 2015 at 11:51 AM, Thomas Oliveira
 thomas.olive...@gmail.com wrote:
  Hi,
 
  I found on this manual
 
 http://vis.lbl.gov/NERSC/Software/paraview/docs/HTML/paraview.htm#camera_controls.htm
  that a previous version of ParaView had FlyIn and FlyOut among the
 controls
  for 3D movements.
 
  Do you if they are available in ParaView 4?
 
  Best regards,
 
  Thomas Oliveira
 
 
   ___
  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
 
  Search the list archives at: http://markmail.org/search/?q=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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Latex text and python shell in Paraview git hub version

2015-05-28 Thread Utkarsh Ayachit
I am assuming you built your own version of ParaView. You'll need to
install matplotlib in the Python you used to build ParaView.

Utkarsh

On Thu, May 28, 2015 at 3:56 AM, Raj Kumar Manna
rajphysics@gmail.com wrote:
 Hi,

 Since I want to use axes grid, I have just install the latest version of
 paraview from github. Axes grid is working properly but latex text with '$
 $'  and python shell is not working. Is there any work-around to enable
 these in the git hub version.

 Thanks
 Raj

 --
 ##
 Raj Kumar Manna
 Complex Fluid  Biological Physics Lab
 IIT Madras

 Ph. No. 8144637401

 alternate email: r...@physics.iitm.ac.in
 

 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Extract the dimensions (or extent) of a structured grid within a python script

2015-05-26 Thread Utkarsh Ayachit
Guillaume,

Use data information [1] as follows:

  UpdatePIpeline(inputPvts)
  extent = inputPvts.GetDataInformation().GetExtent()

See Section 3.3 from the ParView Guide[2] for more details.

Utkarsh

[1] 
http://www.paraview.org/ParaView3/Doc/Nightly/www/cxx-doc/classvtkPVDataInformation.html
[2] http://www.paraview.org/paraview-guide/



On Tue, May 26, 2015 at 8:07 AM, Guillaume Duclaux
guillaume.ducl...@uib.no wrote:
 Hi,

 I’ve been using a python script to post-process and visualise large 
 structured grid files. It works great but the grids I am visualising are of 
 different dimensions (let say either 512x128x512, or 1024x256x1024).

 In the script pipeline - see snippet below -  I extract a subset (top cell 
 layer in the Y direction) from the whole dataset, using ExtractSubset filter.

 At this stage for the 2 input files dimensions above, I need to modify the 
 script and correctly set extractSubset1.VOI values manually.

 Is there a method that I could use in the script to get the dimensions (or 
 extent) of the structured grid, so I can make the script extract the top 
 layer I’m interested in for any grid dimension?


 snip
 from paraview.simple import *

 inputPvts = XMLPartitionedStructuredGridReader(FileName=[fname])
 inputPvts.PointArrayStatus = ['velocity']

 # get active view
 renderView1 = GetActiveViewOrCreate('RenderView')
 renderView1.ResetCamera()

 #get the 4 uppermost cells
 extractSubset1 = ExtractSubset(Input=inputPvts)
 extractSubset1.VOI = [0, 512, 127, 128, 0, 512]
 extractSubset1.SampleRateI = 1
 extractSubset1.SampleRateJ = 1
 extractSubset1.SampleRateK = 1
 extractSubset1.IncludeBoundary = 0
 doCoolStuff...
 /snip

 So far, I’ve tried reading the VOI from the extractSubsetFilter, but the 
 indexing of the extent is not showing the grid dimensions:

 dimensions = extractSubset1.GetPropertyValue('VOI')
 print dimensions

 But that returns an array [0, -1, 0, -1, 0, -1]. And I can’t seem to be able 
 to use relative indexes in the filter like: extractSubset1.VOI = [0, -1, -2, 
 -1, 0, -1].

 Any thoughts?

 Cheers

 Guillaume







 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [paraview] out of memory

2015-05-26 Thread Utkarsh Ayachit
Oops my bad. You need to add the following to the start of the script:

   from paraview.vtk.vtkIOPLY import vtkPLYReader

Thanks
Utkarsh

On Sun, May 24, 2015 at 11:30 PM, dxy dingx...@163.com wrote:
 Utkarsh,
 Thank you very much for your help! I tried as you said, but still the error.
 Did i lack of some settings?

 Traceback (most recent call last):

 File string, line 19, in module

 File string, line 6, in RequestData

 NameError: global name 'vtkPLYReader' is not defined

 Thanks,
 dxy

 At 2015-05-22 22:18:34, Utkarsh Ayachit utkarsh.ayac...@kitware.com
 wrote:
Dxy,

ParaView has certain overhead when a new source/filter is created. It
will need some more profiling, but creating 500+ readers would indeed
push things closer to that limit. ParaView/VTK typically uses
composite datasets/multiblock datasets for handling multiple parts of
the same dataset. Here's a Script for the Python programmable filter
that can open all the PLY files as a single multblock dataset.

# 0. Create the Programmable Source from the Sources menu.
==
# 1. Set the Output DataSet Type to vtkMultiBlockDataSet.
==
#  2. Set as the Script
==
output = self.GetOutput()
cc = 0
for i in range(1, 538):
  filename = /tmp/data/%03d.ply % i
  reader = vtkPLYReader()
  reader.SetFileName(filename)
  reader.Update()
  output.SetBlock(cc, reader.GetOutputDataObject(0))
  del reader
  cc = cc + 1
==

Utkarsh


On Wed, May 20, 2015 at 10:37 AM, Utkarsh Ayachit
utkarsh.ayac...@kitware.com wrote:
 Not sure what exactly are you seeing. If you have a sample dataset to
 share, that'll make it easier.

 Thanks
 Utkarsh

 On Wed, May 20, 2015 at 10:32 AM, dxy dingx...@163.com wrote:
 Thanks for your reply. I tried as you said, it doesn't work. I use a
 computer of 16G of memory, it can render out. Then I use 538 ply files,
 they
 are 11.9MB altogether, but when renderd, it will use 6G memory, either
 the
 display lists turned on or off. Why it is this?
 Thanks for your help.

 dxy

 At 2015-05-20 20:22:42, Utkarsh Ayachit utkarsh.ayac...@kitware.com
 wrote:
Try turning of display lists. In ParaView4.1 it was setting named
Immediate mode rendering under the Settings dialog. You'll need to
enable the checkbox.

Utkarsh

On Wed, May 20, 2015 at 4:34 AM, 丁晓燕 dingx...@163.com wrote:
 Dear,
 I use the paraview of Version4.1, and the memory of my
 computer
 is
 4G. When I load about 190 ply files at the same time, there will be
 errors
 about out of memory, but it runs normally when the number of the file
 is
 less than 190.

 The error message as shown below:
 ERROR: In


 C:\DBD\pvs-x32\paraview\src\paraview\VTK\Rendering\OpenGL\vtkOpenGLCoincidentTopologyResolutionPainter.cxx,
 line 176
 vtkOpenGLCoincidentTopologyResolutionPainter (7A9A9938): failed after
 RenderShiftZBuffer 1 OpenGL errors detected
   0 : (1285) Out of memory
 ERROR: In


 C:\DBD\pvs-x32\paraview\src\paraview\VTK\Rendering\OpenGL\vtkOpenGLDisplayListPainter.cxx,
 line 188
 vtkOpenGLDisplayListPainter (7AAE3358): failed after RenderInternal 1
 OpenGL
 errors detected
   0 : (1285) Out of memory

 Thanks for your help.
 Yours truly,
 dxy









___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview Python Multiprocessing

2015-05-26 Thread Utkarsh Ayachit
Bruce,

Try the attached patch. You'll need to apply it to the VTK subdir
under ParaView.

Utkarsh

On Tue, May 26, 2015 at 11:29 AM, Bruce Jones
bruce.david.jo...@gmail.com wrote:
 Hi,

 I am trying to do some parallel programming within paraviews python shell
 and have encountered a problem. If I run the following two lines of code in
 the python shell, the result is that a whole bunch of new paraview sessions
 will be started...

 from multiprocessing import Pool
 pool = Pool();

 It appears that a new paraview session is being created for each thread of
 the thread pool. Unfortunately, I am not able to then use the thread pool to
 run functions assynchronously.

 Regards,
 Bruce

 ___
 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

 Search the list archives at: http://markmail.org/search/?q=ParaView

 Follow this link to subscribe/unsubscribe:
 http://public.kitware.com/mailman/listinfo/paraview

diff --git a/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h b/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
index 43000d3..f0b1bc4 100644
--- a/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
+++ b/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
@@ -54,17 +54,24 @@ struct vtkPythonStdStreamCaptureHelper
 {
 return vtkPythonInterpreter::ReadStdin();
 }
+
+  void Close()
+{
+this-Flush();
+}
 };
 
 static PyObject* vtkWrite(PyObject* self, PyObject* args);
 static PyObject* vtkRead(PyObject* self, PyObject* args);
 static PyObject* vtkFlush(PyObject* self, PyObject* args);
+static PyObject* vtkClose(PyObject* self, PyObject* args);
 
 // const_cast since older versions of python are not const correct.
 static PyMethodDef vtkPythonStdStreamCaptureHelperMethods[] = {
 {const_castchar*(write), vtkWrite, METH_VARARGS, const_castchar*(Dump message)},
 {const_castchar*(readline), vtkRead, METH_VARARGS, const_castchar*(Read input line)},
 {const_castchar*(flush), vtkFlush, METH_VARARGS, const_castchar*(Flush)},
+{const_castchar*(close), vtkClose, METH_VARARGS, const_castchar*(Close and Flush)},
 {0, 0, 0, 0}
 };
 
@@ -191,6 +198,23 @@ static PyObject* vtkFlush(PyObject* self, PyObject* args)
   return Py_BuildValue(const_castchar*());
 }
 
+static PyObject* vtkClose(PyObject* self, PyObject* args)
+{
+  (void)args;
+  if(!self || !PyObject_TypeCheck(self, vtkPythonStdStreamCaptureHelperType))
+{
+return 0;
+}
+
+  vtkPythonStdStreamCaptureHelper* wrapper =
+reinterpret_castvtkPythonStdStreamCaptureHelper*(self);
+  if (wrapper)
+{
+wrapper-Close();
+}
+  return Py_BuildValue(const_castchar*());
+}
+
 static vtkPythonStdStreamCaptureHelper* NewPythonStdStreamCaptureHelper(bool for_stderr=false)
 {
   if(PyType_Ready(vtkPythonStdStreamCaptureHelperType)  0)
___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview Python Multiprocessing

2015-05-26 Thread Utkarsh Ayachit
Bruce,

Alas, you'll need to build from source (or wait till the changes land
in ParaView nightly binaries). It's indeed a bug in the code that
needs to be compiled.

Utkarsh

On Tue, May 26, 2015 at 1:16 PM, Bruce Jones
bruce.david.jo...@gmail.com wrote:
 Thanks for the quick response Utkarsh. However, I am using the windows
 binaries and have not built paraview from scratch.

 Cheers,
 Bruce

 On Tue, 26 May 2015 at 12:00 Utkarsh Ayachit utkarsh.ayac...@kitware.com
 wrote:

 Bruce,

 Try the attached patch. You'll need to apply it to the VTK subdir
 under ParaView.

 Utkarsh

 On Tue, May 26, 2015 at 11:29 AM, Bruce Jones
 bruce.david.jo...@gmail.com wrote:
  Hi,
 
  I am trying to do some parallel programming within paraviews python
  shell
  and have encountered a problem. If I run the following two lines of code
  in
  the python shell, the result is that a whole bunch of new paraview
  sessions
  will be started...
 
  from multiprocessing import Pool
  pool = Pool();
 
  It appears that a new paraview session is being created for each thread
  of
  the thread pool. Unfortunately, I am not able to then use the thread
  pool to
  run functions assynchronously.
 
  Regards,
  Bruce
 
  ___
  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
 
  Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] ParaView 4.3.1 client runs X out of memory

2015-05-22 Thread Utkarsh Ayachit
Jeff,

Can you make sure the Remote Render Threshold is set to 0?

Also, do you have an X server running (and accessible) on the backend
nodes? You're not using ssh -X to login to the backend nodes, right?

On Thu, May 21, 2015 at 4:54 PM, Jeff Becker jeffrey.c.bec...@nasa.gov wrote:
 Hi. I created a VTK unstructured grid (.vtu) file for a 500 by 500 by 500
 point data set. In order to visualize it, I fire up 8 pvservers on my GPU
 multicore backend node using:

  mpirun -np 8 pvserver --client-host=XXX --use-offscreen-rendering

 and connect to the root server from my ParaView client. I then open my vtu
 file and hit apply, I can see the file gets read in, and then nothing much
 else happens except X on my client grows to fill all of memory, and my
 client system (my desktop) becomes unusable. I'm guessing that the client is
 getting overwhelmed with X requests.

 What am I doing wrong, and how to fix?

 Thanks.

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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] deforming sphere-like grid to object

2015-05-21 Thread Utkarsh Ayachit
Another alternative.

- create a filter that deforms the sphere up to a specific iteration
N. This filter will have a property to set the current iteration
number.
- setup an animation to change the iteration number.

(assuming deforming to an arbitrary iteration is just as expensive as
going to a i+1 iteration).

Utkarsh

On Thu, May 21, 2015 at 4:05 AM, Christopher Snyder 22csny...@gmail.com wrote:
 Edit:

 After doubling the amount of lifetime experience with paraview or vtk since
 my last email, I think what I ought to do is create a filter that does a
 single iteration of shape deformation. Then I'll create a script that
 alternates calling this filter and rendering 500 times or so.

 Let me know if that sounds incongruous with how Paraview works.

 Background Idea:The points on the initial sphere should deform in a way that
 minimizes the total 'energy' of the blob: edges should coincide with sharp
 contrast in the background volume; surface normals should be minimial.

 Thanks again,
 Chris

 On Wed, May 20, 2015 at 11:48 PM, Christopher Snyder 22csny...@gmail.com
 wrote:

 Hi all,


 Here's what I'd like to do using python scripting.
 1) Initialize a set of points and edges that look like a sphere using
 sphere=Sphere()
 2) deform that set of points (and edges) to match a volume whose high
 intensity region is also blob-like using an active shape model
 3) visualize the evolution of the sphere deformation using paraview.

 I only tell you so you can stop me if I'm doing this in a suboptimal way.

 My immediate question is simply how can I extract/change the coordinates
 of a Sphere() object? Are the points of a sphere object constrainted to
 forever occupy a sphere shape?

 Best,
 Chris



 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [paraview] out of memory

2015-05-20 Thread Utkarsh Ayachit
Try turning of display lists. In ParaView4.1 it was setting named
Immediate mode rendering under the Settings dialog. You'll need to
enable the checkbox.

Utkarsh

On Wed, May 20, 2015 at 4:34 AM, 丁晓燕 dingx...@163.com wrote:
 Dear,
 I use the paraview of Version4.1, and the memory of my computer is
 4G. When I load about 190 ply files at the same time, there will be errors
 about out of memory, but it runs normally when the number of the file is
 less than 190.

 The error message as shown below:
 ERROR: In
 C:\DBD\pvs-x32\paraview\src\paraview\VTK\Rendering\OpenGL\vtkOpenGLCoincidentTopologyResolutionPainter.cxx,
 line 176
 vtkOpenGLCoincidentTopologyResolutionPainter (7A9A9938): failed after
 RenderShiftZBuffer 1 OpenGL errors detected
   0 : (1285) Out of memory
 ERROR: In
 C:\DBD\pvs-x32\paraview\src\paraview\VTK\Rendering\OpenGL\vtkOpenGLDisplayListPainter.cxx,
 line 188
 vtkOpenGLDisplayListPainter (7AAE3358): failed after RenderInternal 1 OpenGL
 errors detected
   0 : (1285) Out of memory

 Thanks for your help.
 Yours truly,
 dxy



 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] volume comparison

2015-05-20 Thread Utkarsh Ayachit
ParaView/VTK really doesn't support mixing two overlapping volumes.
Without going into the details, suffice it to say that the rendering
implementation will result in one of the volumes always on top of
the other. An alternative is to to render the volumes in 2 separate
views, side-by-side and then link the camera together to interact
simultaneously with the two views -- enabling similar comparison.
Another option is to extract isosurfaces (contours) from the two
volumes and then render those as surface with opacity  1. Multiple
overlapping surfaces with translucency should work fine.

Utkarsh

On Tue, May 19, 2015 at 10:22 PM, Christopher Snyder
22csny...@gmail.com wrote:
 Hi,

 I have two 3D image that I would like to compare to see  if they are the
 same. I thought it would be illustrative to overlay the two volumes in
 different colors with some opacity.

 This presents some difficulty. In my mind I would be able to have 2 volumes
 overlayed, full control of the color map of each volume, and be able to
 control rotation and translation of each volume individually.

 If that's not possible directly in the GUI, maybe it's possible through the
 python console?

 Best,
 Chris

 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Troubles with exporting selection labels from current ParaView render view

2015-05-20 Thread Utkarsh Ayachit
Nenad,

Okay I must be missing something very obvious here, but I am totally
lost here. EventHandlers.cpp confused more than it clarified things
for me :).

Just focusing on EventHandlers.cpp for now.

Are you saying EventHandlers::DataRepresentationCreated() isn't called
when a new DataLabelRepresentation is created at line #136?

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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Installing ParaView 4.0.1 on Nodes For Rendering Frames -Slow Rendering w/ Python

2015-05-20 Thread Utkarsh Ayachit
Are you using x forwarding when you connect to these machines? What is
localhost:10.0 display to? Try running some other X-based application
like gvim, or glxgears etc. and see where that window pops up. If it's
popping up on your laptop, you're using X forwarding. Every render on
the server will then be forwarding X calls to your laptop and that
would explain the slow down.

If there an X server running on the remote site? If so, check with
your sysadmin to get access to that X if possible. If not, you'll need
to recoming with OSMesa, I am afraid.

Utkarsh

On Wed, May 20, 2015 at 1:07 AM, Noah Taylor haonrol...@gmail.com wrote:
 Hello,

 I am using ParaView 4.0.1 since I developed a python script for
 interpretation on this version. I am able to run ParaView fine on my local
 Ubuntu Desktop. I have setup an EC2 AWS instance both a GPU and a CPU
 instance both running Ubuntu but they both are giving me the same problem of
 very very slow rendering for each time step with the offscreen rendering
 option turned on. I also run into this problem on a Unix supercomputer I am
 trying to run my code on. On my local machine it takes less than a second
 for each time step I am rendering to be outputted with the same settings and
 I am not spinning anything  up like pvserver - on the node instances I have,
 it is taking well around a minute or probably more for each frame.

 I have read through a lot of similar issues and the documentation for X
 connections but I am not having any luck. The default DISPLAY is set to the
 localhost:10.0 and I have tried changing that to the localhost:0.0 but it
 gives me the bad -X connection error. From there, I followed previous
 mailing list instructions and tried spinning up the pvserver (I don't know
 why since I am not trying to serve anything just render frames) but I get an
 error with the shared libraries that they're too short. I am using the
 default downloadable version of 4.0.1 since I want to try and keep this as
 simple as possible but I don't know if these have the mpi turned on by
 default. Has anybody ran into this Bad X Connection issue and found an easy
 way around it besides messing with the OSMesa and recompiling? I'd really
 appreciate any pointers :)

 Thanks,
 Noah

 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Troubles with exporting selection labels from current ParaView render view

2015-05-20 Thread Utkarsh Ayachit
 I want to say DataRepresentationCreated is never called! When I create
 instance of my pipeline source with this source code, I get only 3
 messages: Source Created, and 2 times Representation Added after
 pushing Apply button.

Ah ok. That's because pqObjectBuilder no longer creates the standard
representations for ParaView. A better signal to observe is
pqServerManagerModel::representationAdded(). You're already observer
sourceAdded from the ServerManagerModel. You'll need to qobject_cast
to pqDataRepresentation* in your slot, for same effect as before.

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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] 2k x 2k x 2k volume rendering using pvserver

2015-05-20 Thread Utkarsh Ayachit
That's odd. Have you tried changing the Volume Mapper on the
Properties panel? Try switching between Texture Only and GPU
based.

On Tue, Apr 14, 2015 at 4:07 AM,  srikanth.nage...@stfc.ac.uk wrote:
 Hi



 I am using Paraview 4.1.0 to render a 2k volume using two linux nodes and
 client on windows 7. In slice mode I can see the data but when I switch to
 volume mode it disappears. In the same configuration if I load a 512x512x512
 volume, volume mode rendering is fine.



 Can anyone please help?



 Thanks

 Sri

 PS: each linux node have 2 x NVIDIA K40 card and 64GB RAM, on client I have
 switched on the Remote Render Threshold and set the value to 0Mbytes.


 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] 2k x 2k x 2k volume rendering using pvserver

2015-05-20 Thread Utkarsh Ayachit
Sri,

The volume rendering code is being reimplemented. Let's wait to see
how that fares. If you don't mind experimenting, I can ping you once
ParaView git/master has the code ready for experimentation.

Utkarsh

On Wed, May 20, 2015 at 12:02 PM,  srikanth.nage...@stfc.ac.uk wrote:
 Hi Utkarsh,

 Thanks for your reply. I did try using Texture Only and got the same result. 
 with paraview 4.3.1 I have done some debugging to see at which point the 
 volume rendering fails. On a single machine on k40 with 12GB memory any size 
 above 2048x1024x1024 float value it fails. When i distribute this across two 
 nodes with k40, i can see the data is loaded into the graphic memory but 
 there is no display output.

 Thanks
 Sri
 
 From: Utkarsh Ayachit [utkarsh.ayac...@kitware.com]
 Sent: 20 May 2015 16:33
 To: Nagella, Srikanth (STFC,RAL,SC)
 Cc: ParaView
 Subject: Re: [Paraview] 2k x 2k x 2k volume rendering using pvserver

 That's odd. Have you tried changing the Volume Mapper on the
 Properties panel? Try switching between Texture Only and GPU
 based.

 On Tue, Apr 14, 2015 at 4:07 AM,  srikanth.nage...@stfc.ac.uk wrote:
 Hi



 I am using Paraview 4.1.0 to render a 2k volume using two linux nodes and
 client on windows 7. In slice mode I can see the data but when I switch to
 volume mode it disappears. In the same configuration if I load a 512x512x512
 volume, volume mode rendering is fine.



 Can anyone please help?



 Thanks

 Sri

 PS: each linux node have 2 x NVIDIA K40 card and 64GB RAM, on client I have
 switched on the Remote Render Threshold and set the value to 0Mbytes.


 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview Parallel Data

2015-05-20 Thread Utkarsh Ayachit
You can use the D3 filter to redistribute the data once its opened in
ParaView that's running in parallel.

On Sun, Apr 26, 2015 at 11:12 PM, 周恒众 zhz1993...@163.com wrote:
 Dear:
 I want to do some test to know where the paraview do the data
 distribution and how to controll it.But when I use ply data to do the test
 ,I found that it didn't do data distribution .So I want to get some paraview
 data like in
 http://www.paraview.org/Wiki/ParaView/ParaView_Readers_and_Parallel_Data_Distribution
 .who have some datas like that ? Can you give it to me ?Thank you!

 Sincerely

 zhou



 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Loading RAW file

2015-05-20 Thread Utkarsh Ayachit
This was indeed a bug. See http://www.paraview.org/Bug/view.php?id=15457.

The fix for this is here:
https://gitlab.kitware.com/paraview/paraview/merge_requests/92

Utkarsh

On Wed, Apr 15, 2015 at 7:50 AM,  srikanth.nage...@stfc.ac.uk wrote:
 Hi



 I am using Paraview 4.3.1 in client server mode. After loading RAW file,
 when I switch the mode to slice it throws up these errors and renders half
 of the slice.

 ERROR:
 ParaView-v4.3.1-source/VTK/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx,
 line 857

 vtkStreamingDemandDrivenPipeline (0x4e96c70): The update extent specified in
 the information for output port 0 on algorithm vtkTrivialProducer(0x4e965e0)
 is 0 511 0 511 228 228, which is outside the whole extent 0 511 0 255 0 456.





 ERROR: In
 ParaView-v4.3.1-source/VTK/Common/ExecutionModel/vtkTrivialProducer.cxx,
 line 279

 vtkTrivialProducer (0x4e965e0): This data object does not contain the
 requested extent.



 Any solutions?



 Thanks

 Sri




 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Saving Stereo Files - Eye Separation Control

2015-05-20 Thread Utkarsh Ayachit
It's not exposed in the UI, but I believe you can use the Python shell
as follows:

 c = GetActiveCamera()
 c.SetEyeSeparation(...)
 Render()



On Wed, May 13, 2015 at 4:51 PM, Rinehart, Richard D. (GRC-VG00)[DB
Consulting Group, Inc.] richard.d.rineh...@nasa.gov wrote:
 Greetings!

 Is there a stereo file saving eye separation control for the binary Win
 version?  Poking around but seems as not with the prebuilt version.

 -rich




 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Question about programmable data source

2015-05-20 Thread Utkarsh Ayachit
You have Auto Apply enabled. Hence the APply is happening before you
are able to change the output data type. Disable Auto Apply and then
create the Programmable Source. The data type must be set before the
first apply.

Utkarsh

On Wed, May 13, 2015 at 2:38 PM, Wu, James james...@kla-tencor.com wrote:
 Hi David



 After remove executive.SetExtentTranslator(outInfo,
 vtk.vtkExtentTranslator()), not the points are rendered.

 Why there is no “volume” option available for Representation?



 I want to render as volume



 Thanks,

 James



 From: David E DeMarle [mailto:dave.dema...@kitware.com]
 Sent: Wednesday, May 13, 2015 10:52 AM
 To: Wu, James
 Cc: paraview@paraview.org
 Subject: Re: [Paraview] Question about programmable data source



 You have to provide the whole extent in the request information pass.


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



 On Wed, May 13, 2015 at 1:19 PM, Wu, James james...@kla-tencor.com wrote:

 I add a programmable data source using vtkImageData. The following is the
 script.
 There is nothing displayed after click Apply. I am new user to paraview.
 Can any point me what's wrong with the script?

 Thanks,
 James

 dim = 10
 pdo = self.GetImageDataOutput()
 pdo.SetDimensions(dim, dim, dim)
 pdo.SetOrigin(0, 0, 0)
 pdo.SetSpacing(1, 1, 1)
 pdo.SetExtent(0, dim - 1, 0, dim - 1, 0, dim - 1)
 pdo.AllocateScalars(vtk.VTK_FLOAT, 1)

 for x in range(0, dim):
 for y in range(0, dim):
 for z in range(0, dim):
 pdo.SetScalarComponentFromFloat(x, y, z, 0, 0.2)
 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Troubles with exporting selection labels from current ParaView render view

2015-05-20 Thread Utkarsh Ayachit
Step into createDataRepresentation in a debugger. You'll see one of
the arguments is NULL. I suspect its the view. The view isn't setup
yet. Try making the slot connection to a queued connection that way
ParaView gets the change to setup the representation object.

On Wed, May 20, 2015 at 11:07 AM, Nenad Vujicic nena...@gmail.com wrote:
 Utkarsh,

 Thank you very much for help, but, it still doesn't work. At Ln 118 it
 fails and reports in Output Window 'Missing required attribute.' and
 returns NULL.

 Thanks for any help!

 Nenad.

 On Wed, May 20, 2015 at 4:10 PM, Utkarsh Ayachit
 utkarsh.ayac...@kitware.com wrote:
 I want to say DataRepresentationCreated is never called! When I create
 instance of my pipeline source with this source code, I get only 3
 messages: Source Created, and 2 times Representation Added after
 pushing Apply button.

 Ah ok. That's because pqObjectBuilder no longer creates the standard
 representations for ParaView. A better signal to observe is
 pqServerManagerModel::representationAdded(). You're already observer
 sourceAdded from the ServerManagerModel. You'll need to qobject_cast
 to pqDataRepresentation* in your slot, for same effect as before.

 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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] error when connecting to pvserver

2015-05-20 Thread Utkarsh Ayachit
The client and server processes both print out a message with the
handshake strings they compared with. Mind posting both of them?

Thanks

On Sun, Apr 26, 2015 at 8:54 AM,  u.utku.turunco...@be.itu.edu.tr wrote:
 Hi,

 I am trying to connect Paraview server (pvserver) to test the Paraview
 Catalyst example codes from GitHub account. So, i installed Paraview from
 source (under Centos 7.0) without any problem and then test code. The
 problem is that i am getting following error messages when i try to run
 the example,

 ERROR: In
 /opt/progs/paraview-4.3.1/src/ParaViewCore/ClientServerCore/Core/vtkTCPNetworkAccessManager.cxx,
 line 424
 vtkTCPNetworkAccessManager (0x1063f00):
 **
 Connection failed during handshake. This can happen for the following
 reasons:
  1. Connection dropped during the handshake.
  2. vtkSocketCommunicator::GetVersion() returns different values on the
 two connecting processes (Current value: 100).
  3. ParaView handshake strings are different on the two connecting
 processes (Current value: paraview.4.3).
 **

 In this case, both server and client are using same Paraview installation
 and i disabled both firewall and selinux to eliminate the possible error
 sources that might cause the problem. The server is also started using
 following command,

 [turuncu@epsilon-lnx CFullExample2]$ pvserver --server-port=2
 Waiting for client...
 Connection URL: cs://epsilon-lnx:2
 Accepting connection(s): epsilon-lnx:2

 and the client code is running as follows,

 [turuncu@epsilon-lnx CFullExample2]$ ./CFullExample2
 SampleScripts/feslicescript.py

 I enabled live visualization by setting it True and proper server address
 and the port in the Python coprocessor code. I also tried to connect
 server from another machine directly using Paraview and it is working. At
 this point, i just need help to find the problem.
 Best Regards,

 --ufuk



 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Question about paraview

2015-05-20 Thread Utkarsh Ayachit
Here's a snippet that demonstrates how one can do this.

https://gitlab.kitware.com/paraview/paraview/snippets/2

Utkarsh

On Wed, May 13, 2015 at 6:47 PM, Wu, James james...@kla-tencor.com wrote:
 I want to run a python scrip when user click on a data source in Pipeline 
 Browser.
 Can anyone tell me how to do this?

 Thanks,
 James


 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Switching Between Readers

2015-05-19 Thread Utkarsh Ayachit
Kevin,

Can your reader tell if it can read the file irrespective of its
extension? If so, just implement a int CanReadFile (const char
*fname) method on the the reader classes that will test a file. Now
you can have two reader supporting the same extension and ParaView
will create the correct reader automatically. There can be multiple
reader supporting the same extensions even without this CanReaderFile
too. In that case, ParaView will automatically popup a reader
selection dialog.

Utkarsh

On Sun, May 17, 2015 at 10:33 PM, Dean, Kevin
kevin.d...@decisionsciencescorp.com wrote:
 I was wondering if there was a way to instantiate a superclass that, let's
 say, can switch between vtkPolyDataAlgorithm and vtkImageAlgorithm.

 I have a reader that (as of now) converts the data within a protobuf file to
 image data.

 But currently, I have multiple protobuf files with different information.
 However, the file extension is still .pbuf, and it seems that the reader xml
 parsers the files based off this input.

 So would it be easier to change the filename? Or is there a way to switch
 between the two algorithm classes?

 Thanks for your time!

 Kevin E. Dean

 This email and its contents are confidential. If you are not the intended
 recipient, please do not disclose or use the information within this email
 or its attachments. If you have received this email in error, please report
 the error to the sender by return email and delete this communication from
 your records.
 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Troubles with exporting selection labels from current ParaView render view

2015-05-18 Thread Utkarsh Ayachit
 - Strange 1: I don't have anymore instance in
 DataLabelRepresentation for Elevation pipeline source (btw, during
 this traversing I get only one actor),

I don't follow. DataLableRepresentation is indeed created for every
representation shown in the render view.


 - Strange 2: When I traverse vtkRenderer's actors, I get 2 actors
 (sphere mesh and actor with selected points), but, I'm unable to
 connect selection label properties (which are tied with Elevation
 pipeline source actor - sphere mesh) and mesh with selected points /
 cells.

Remember that label actors are added to the 2D / non-composited
renderer, not the same as the 3D renderer. Which renderer are you
looking at?

 Q1: How to identify actor from vtkRenderer which contains selection
 points / cells and get selection properties from this actor or

 Q2: How to identify actor from pqPipeline source on which are selected
 points and how from appropriate representations to get actor which
 contains selected points / cells?

Neither of these are really supported. Look at
vtkSelectionRepresentation. If you can think of ways of tagging the
actors added by the representations used internally by this class, I
am all ears.
___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Client/server version hash mismatch, even when versions are the same

2015-05-18 Thread Utkarsh Ayachit
CS,

What're the exact error messages reported on the client as well as the
output terminal for the server? Can you post the complete text please?

Utkarsh

On Mon, May 18, 2015 at 3:02 AM, Stanbridge, Christopher William 
cws...@mun.ca wrote:

 Dear ParaViewers,

 I am attempting to set up a client/server connection between a default
 installation of ParaView 4.3.1 on the client side and an OSMesa build --
 presumably also 4.3.1; built according to the wiki's instructions at
 http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D -- on the
 server side. Both computers have graphics hardware; using an ssh tunnel is
 not acceptable for our purposes due to the requirement to disable all
 security using *xhost+*. The computers also have default installations of
 4.0.1. Both are running VTK 5.8.

 Despite the ParaView and VTK versions on both ends being identical, I
 receive Client/server handshake failed and Client/server version hash
 mismatch errors every time I attempt to connect. What could be the cause
 of this issue?

 CS​


 ___
 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

 Search the list archives at: http://markmail.org/search/?q=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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Glyph filter instead of legacy glyph filter

2015-05-13 Thread Utkarsh Ayachit
 Is there a way that I can use the newer “Glyph” filter in my visualization
 and remove the constant vectors perpendicular to the y-axis?

You can use the Vectors drop-down box to choose which vectors to use
for orienting the glyph. You can use Scale Mode to control how to
scale the glyph.

Checkout Chapter 5, Section 5.7.8 for the ParaView Guide [1] for more details:

Utkarsh

[1] http://www.paraview.org/paraview-guide/
___
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


<    2   3   4   5   6   7   8   9   10   11   >